Automation workflows are no longer limited to the actions you can perform within your account in our platform. The "Then post a webhook" action allows you to connect your workflow with any third-party system like Zapier or your own application. When the action runs, it sends a JSON object using a POST request to a pre-defined endpoint. The endpoint entered in the Webhook URL field must be reachable (e.g. no authentication, no timeouts, etc.) with HEAD, GET, and POST verbs.
To add a Then post a webhook action in a workflow:
-
Click + below any part of your workflow where you want to add a Then post a webhook action. In the example below, the "When someone subscribes to any list" trigger has been selected.
- The Select action dialog opens with the Conditional/Control steps tab in the left menu.
-
Click the Actions tab.
- Click the arrow beside the Then post a webhook action. The Then post a webhook dialog appears.
- In the Webhook URL field, enter the URL to which you want to send a POST request.
Example: You can use the Then post a webhook action to keep your internal systems in sync with the actions your end-users perform in your emails or website. For example, you can build a simple application that registers purchases to your CRM and uses an automation workflow in our platform to send a webhook to your app whenever someone purchases on your website. You can also use tools like Zapier to connect our platform with other third-party systems.
If you need the technical details of what exactly is sent over to your app or third-party system through the webhook, you can find them below:
HTTP Method:POST
POST Payload Type:JSON
Payload JSON Schema: (You can also conveniently find the schema here) - Click Save.