Trigger a Workflow via Callouts

Knowledge Center > Workflow > Using Workflow > Trigger a Workflow via Callouts

Trigger a Workflow via Callouts

Table of contents
No headers

You can trigger a workflow by sending an HTTP GET or POST request to the standard or responsive API endpoint of the workflow. API endpoints are different for each workflow. 

To trigger a workflow by callouts, complete the following steps:

  1. Enable the callout trigger in the settings of the workflow. See Configure a Workflow to learn about how to enable the trigger.
    workflow_callout_info.png
  2. Send an HTTP GET or POST request to the API endpoint of the workflow. The API endpoint can be the standard API endpoint displayed in the settings of the workflow, or the responsive API endpoint. Use the responsive API endpoint only when you are familiar with the responsive mode of Workflow. 
    Standard API endpoint:
    https://workflow.apps.zuora.com/api/v1/workflows/{workflow_id}/run
    Responsive API endpoint:
    https://workflow.apps.zuora.com/api/v1/workflows/{workflow_id}/sync
    Where {workflow_id} is different for each workflow.
    For authentication, you can use either API token (placed in headers) or Basic Authentication. The key for the API token must be "API-Token". The API-Token and the Basic Authentication details are displayed in the settings of a workflow.
Last modified

Tags

Classifications

(not set)