---
title: How to Manually Trigger a Client Code Generator
description: How to Manually trigger the AIF creation process.
---

[Skip to content](https://knowledge.caine-weiner.com/how-to-manually-trigger-a-client-code-generator#main-content)

English - United States

Show submenu for translations

![headerlogo](https://knowledge.caine-weiner.com/hs-fs/hubfs/headerlogo.png?width=400&height=88&name=headerlogo.png)

Open main navigation

Close main navigation

- English - United States
  
  Show submenu for translations
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [C&W Knowledge Base](https://knowledge.caine-weiner.com/?hsLang=en-us)
2. [Sales](https://knowledge.caine-weiner.com/sales?hsLang=en-us)

# How to Manually Trigger a Client Code Generator

In the event that the Client Code Generator workflow does not automatically create a Client ID for a company, you can following the process below to manually trigger the workflow.

1. Go to the "[Client Custom Code Generator Workflow](https://app.hubspot.com/workflows/45453026/platform/flow/1622731139/edit)".
2. Click on the "Custom Code" workflow action.
   
   ![Screenshot 2025-04-01 at 9.00.22 AM](https://knowledge.caine-weiner.com/hs-fs/hubfs/SOP%20Images/Screenshot%202025-04-01%20at%209.00.22%20AM.png?width=400&height=299&name=Screenshot%202025-04-01%20at%209.00.22%20AM.png)
3. Scroll to the bottom of the custom action where it says "Test Action" and select the deal that needs a Client ID created for the associated company record and click the "Test" button.  
   ![Screenshot 2025-04-01 at 8.47.34 AM](https://knowledge.caine-weiner.com/hs-fs/hubfs/SOP%20Images/Screenshot%202025-04-01%20at%208.47.34%20AM.png?width=300&height=693&name=Screenshot%202025-04-01%20at%208.47.34%20AM.png)
4. If the code executed correctly, you will see a "SUCCESS" status and the company record associated with the deal in question should have a new Client ID created and saved on the company record.
   
   **NOTE:** If you do not receive a success message, make sure that the company associated with the deal does not already have a Client ID. Also, if another company in the CRM already has the Client ID that was created, you will see that message instead of a success message.
   
   ![Screenshot 2025-04-01 at 8.50.15 AM](https://knowledge.caine-weiner.com/hs-fs/hubfs/SOP%20Images/Screenshot%202025-04-01%20at%208.50.15%20AM.png?width=300&height=361&name=Screenshot%202025-04-01%20at%208.50.15%20AM.png)
5. Upon completion of creating the Client ID, click the "Cancel" button on the custom code action and exit the Client Custom Code Generator Workflow.
   
   ![Screenshot 2025-04-01 at 8-47-34 AM](https://knowledge.caine-weiner.com/hs-fs/hubfs/SOP%20Images/Screenshot%202025-04-01%20at%208-47-34%20AM.png?width=400&height=145&name=Screenshot%202025-04-01%20at%208-47-34%20AM.png)

 

 

- [Sales](https://knowledge.caine-weiner.com/sales?hsLang=en-us#main-content)

    - [Deal Pipeline](https://knowledge.caine-weiner.com/sales?hsLang=en-us#deal-pipeline)
    - [Automations](https://knowledge.caine-weiner.com/sales?hsLang=en-us#automations)

[![headerlogo](https://knowledge.caine-weiner.com/hs-fs/hubfs/headerlogo.png?width=255&height=56&name=headerlogo.png "headerlogo")](https://www.caine-weiner.com/)

123 Waverly Pl., Boston, MA 02135

Copyright © 2025, Caine & Weiner