Run Flow

Using this action, you can include (and run) an existing workflow from your current workflow. To achieve this, add this action to your canvas, and configure it as given below: 

Webhook URL: Select/specify the webhook URL of the workflow you wish to run. Please make sure that the webhook URL is enabled for that workflow. 

Webhook Authentication Type: Select the authentication type that was used to secure the webhook of the workflow you wish to run. By default, the value for this field is set to 'Select'. 

If you have selected 'Basic Auth' as an authentication type, you will need to enter the following details, 

   Username: Enter the username for webhook you wish to run.

    Password: Enter the password for the specified username. 

If you have selected 'Auth Token' as an authentication type, you will need to enter the following details, 

  Auth Token: Enter the auth token for the webhook you wish to run. 

Delay: Enter the time interval (in seconds) by which you wish to delay the workflow execution. This value should be in the range of  ‘1-900’. E.g., if you wish to delay the workflow execution by 2 minutes, enter ‘120’ as an input for this field. This field will be ignored if the value for ‘Run in Sync’ field is set to ‘True’. 

Parameters: Enter the parameters you wish to pass to the workflow in JSON format. E.g., {“header”:”value1”}.

Run in Sync: Specify if you wish to run workflow in sync. The value for this field should be set to ‘True’ when you expect the workflow to return any data. 

22_run flow.png

 Once you enter these details, click ‘Done’ and run the workflow. This will trigger the specified workflow from your current workflow. 

Output:
  • output-arrow run-flow Run Flow
    • left-triangle statusCode number
    • left-triangle response any