Skip to main content

How to Use the Search Actions in Workflows?

Learn how to use the search feature in workflows for efficient automation and data verification.

Devanshi Kackar avatar
Written by Devanshi Kackar
Updated yesterday

When setting up workflow automation, the search functionality can be used to verify the existence of a lead, contact, or matter. This feature is essential to ensure that automation runs smoothly with all the necessary data.

Using the Search Action Functionality in Workflows

Let's understand this through a USE CASE SCENARIO. This workflow automatically sends a confirmation email to a newly created lead after they submit an intake form. The trigger for the workflow is the submission of the intake form. A Search Lead action is then used to locate and confirm that the lead has been successfully added to the system. Once verified, the workflow proceeds to prepare and send the confirmation email to the lead. To use the search functionality in workflows, follow these steps:

  1. Go to Automation on the left and click on Add Workflow under the Workflow tab to create a new workflow.

  2. Add the Workflow Name and Workflow Description.

  3. Set up the trigger as Intake Form Submitted and then select the desired form under the Trigger type and click on Continue.

  4. Select Create Lead as the action under Select action and click on Next.

  5. Complete the Setup. For all the fields, click on the Merge Field, and select Use Intake form value from trigger option. Finally, click on Continue + new action button.

  6. For the next Action, select Search Lead as the action under Select action dropdown options.

  7. Type a Client Name, Email, or Phone number to search. To make it universal, it is recommended to use the Merge Fields. To do that, click on the Merge Field button and select either Use Intake form value from trigger or Use lead value from step 2 to search.

    Note: You can also utilize the AND and OR search conditions for your search setup. The AND operator ensures that all specified values are present before proceeding to the next activity. On the other hand, the OR operator allows the process to continue if any of the specified values are present.

  8. Stop Workflow Conditions

    1. Toggle: Stop workflow if not found: Enable this option if you want the workflow to stop when no search result is found. Example: Use this to halt the workflow after a time delay if the searched lead was not hired, preventing unnecessary follow-up actions.

    2. Toggle: Stop workflow if found: Enable this option to stop the workflow when a matching record is found. This is commonly used to avoid duplication; for instance, stopping the process if a lead already exists in the system.

  9. Finally, click on Continue + new action to move to the new action.

  10. Select Send Email as the next action under Select action and click on Next.

  11. Complete the Setup by selecting the Sender, Recipient, Subject, Message, Attachment, etc. Follow this article to understand more about how to set up Send Email action.

  12. Click on the Save button to complete the process.

Did this answer your question?