I have a workflow that checks a CRM to see if there are any exisiting deals for a company.
Step 1
The response will either have items or it won’t. I check for items in the response column to determine if there is an existing deal and add a value to a column.
Step 2
If there is an existing deal, I need to determine the status of the most recent deal and if it was won or lost (not open) then I need to check the closed time (includes date). This is so we can filter out companies that have had a deal closed in the last two years to avoid bugging them.
Workflow:
- Trigger step 1 via button
- Trigger step 2 via a different button
Because step 2 is only required based on the results of step 1, ie, there is at least one existing deal for a company, I want to chain these workflows.
However, I need to add a condition to my workflow and can’t see an option to do this. My goal is one button to trigger step 1 or step 1 and then step 2.
I want to add a condition between these two calls. How do I achieve this?