When you need one workflow to automatically start another one, you can set a trigger on the first workflow to initiate the next one.
In the Headers section of Settings, enter your Api-Key. Note that you need the phrase Api-Key to go before the code in the field.
Select Raw as Body type.
In the Body section, enter the workflow number.
To do that, delete WORKFLOW_ID
and replace it with the real ID of the follow-up workflow that you have copied from the URL in your browser. This is an example of what your Body might look like:
Decide what should happen if the step fails (On Failure).
Save your changes.
Remember to delete the step with instructions that’s added to the template. If you don’t want to send data from the first to the follow-up instance, delete the Send data step as well. If you need to send data, see Send data to another workflow.
In the left-hand navigation, click Workflows.
Click the first workflow.
Click the play icon.
Give the workflow instance a meaningful name.
Click Start instance.
When the first workflow instance has completed, it will automatically trigger the follow-up process instance. To verify that the follow-up workflow instance completed, click the follow-up workflow. Next, click the Completed Instances. Your follow-up workflow should show as Completed.
When you need one workflow to automatically start another one, you can set a trigger on the first workflow to initiate the next one.
In the Headers section of Settings, enter your Api-Key. Note that you need the phrase Api-Key to go before the code in the field.
Select Raw as Body type.
In the Body section, enter the workflow number.
To do that, delete WORKFLOW_ID
and replace it with the real ID of the follow-up workflow that you have copied from the URL in your browser. This is an example of what your Body might look like:
Decide what should happen if the step fails (On Failure).
Save your changes.
Remember to delete the step with instructions that’s added to the template. If you don’t want to send data from the first to the follow-up instance, delete the Send data step as well. If you need to send data, see Send data to another workflow.
In the left-hand navigation, click Workflows.
Click the first workflow.
Click the play icon.
Give the workflow instance a meaningful name.
Click Start instance.
When the first workflow instance has completed, it will automatically trigger the follow-up process instance. To verify that the follow-up workflow instance completed, click the follow-up workflow. Next, click the Completed Instances. Your follow-up workflow should show as Completed.