Home  >   Articles   >  Set up a Workflow Action to Create Records
Articles in this section

Set up a Workflow Action to Create Records

Set up a workflow to create records.
R
Ruba
29 Dec, 2023 - Updated 10 months ago
Table of Contents

Setting up the Create Records Action

The Create Records workflow action creates records in a module when triggered. For example, you can create a workflow that creates a record in the Deals module when a lead’s Status = Hot.

To learn more about deals, click here.

However, for the workflow to create records, you must set up the trigger and entry criteria. To learn more about them in detail, click here.

 

Let us take the example of Deals and Leads mentioned above to learn about the working of the workflow action.

 

Accessing the workflow page:

  1. Click the User Menu on the top right corner of the screen.
  2. Click the Settings button.
  3. Look for the Automation section.
  4. Select Workflows.
  5. Click the +New Workflow button.
  6. Select Standard.
 

Entering basic information:

  1. Select the Target Module as Leads.
    • The Leads module is disabled by default. Follow these steps to enable it:
      1. Click the User Menu on the top right corner of the screen.
      2. Click the Settings button.
      3. Look for the Module Management section.
      4. Select Modules.
      5. Find the Leads module and enable its checkbox.
  2. Enter workflow name, status, etc.
 

Select the workflow trigger:

  1. Select this Workflow Trigger - Lead updated (Includes Creation).
  2. Choose Every time conditions are met from Recurrence.
 

Set up the workflow entry criteria:

  1. Click the +Add Condition button.
  2. Enter the condition - Lead Status is Hot by following the steps below -
    • Select ‘Lead Status’ from the first drop-down and ‘is’ from the second. 
    • Click on the text area on the right.
    • Select Raw text from the drop-down.
    • Click on Select an option.
    • Choose Hot.
    • Click Save.
 

Set up the action:

  1. Click the Add Action drop-down.
  2. Select Create Record.
  1. This opens a window where you must enter record details.
  1. Enter the Action Title. For example, Create a deal.
  2. Select Deals from the Create a record in drop-down.
  3. Enter the values on the right for the fields mentioned on the left.
    • Click on the text area on the right.
    • Select Raw text from the drop-down.
    • Click on Select an option or type the field value.
    • Click Save.
    • Click the +Add Record Field button to add a new field from the Deals module.
      • Follow the steps above to fill out all the mandatory fields. 
  4. Click Save to save the action.
  5. Click Save to save the workflow.
 

When you add a new field in Step 17(e), to fill out the field value, you have three options. 

  • Raw text: You must manually enter the value the field must take.
  • Field: When you select this option, you choose a field whose value must be copied to the selected field.
  • Expression: This option lets you use the fields to form an arithmetic expression, the value of which will be updated in the selected field. You can also use ready-made functions from the Use Functions drop-down. 
    • After selecting the function, enter field names in the function placeholders from the Use Field drop-down. For example, concat(first name, last name) is a function that connects the first and last names. 
    • To learn more about expressions or functions, click here.


 

Note: When the destination fields are updated with the source field values via workflows or approvals, then the CRM account owner’s preferences are applied. The preferences are set up under My Preferences and Calendar Settings.
 


 

Consider this example: If a deal’s Description field (destination) is updated with the deal’s Expected Close Date (source) via a workflow, then the date format in the Description field takes the CRM account owner’s format.


 
Was this article helpful?
1  out of  1  found this helpful.
Comments 0
Be the first to comment
© Copyright 2023 Vtiger. All rights reserved.