Trigger a Webhook from an Automation
If you have set up automations in the Vendasta platform, you can use them to trigger a webhook outside the platform with one automations action step.
Setup:
You will need an automation workflow that already has a trigger selected. This can be any automation type (account, order, or user).
Step 1: Choose the ‘Trigger a webhook’ action step
Click the in the desired spot in the workflow to add a step. Choose the ‘Trigger a webhook’ action step.
Step 2: Fill in required fields
Input the URL that you want the automation to deliver a webhook to.
The verifier token is an optional field. It will be used to validate that the webhook notifications sent from Automations are from Vendasta. The verifier token is specified in the target URL side.
Sample header
The webhook will be delivered with the following header:
content-type:application/json
from:autobots@vendasta.com
verifier-token:{{ verifier_token }}
Sample body
The webhook will be delivered with the following body:
{
"partnerID": "{{ partnerID }}",
"marketID": "default",
"accountID": "{{ accountID }}",
"entityID": "{{ orderID }}",
"orderID": "{{ orderID }}",
"automationID": "{{ automationID }}"
}
Data Passing
With parameter passing, you will be able to pass data from one step to another within a workflow. The return values from the webhook response of the ‘trigger a webhook’ action can be passed to if/else branch steps. You can specify the key name and type from the side panel. We currently only support a flat data structure and only string and boolean data types.

