How to use webhook trigger

Our webhook automation trigger allows you to create or update contacts.

To set up a webhook trigger, select "Start from Scratch" in the automation.

  1. Switch the trigger type to webhook by accessing the "Choose Platform" option located at the top right corner of the page.

  1. Select the ''Webhook'' platform to continue with the automation process.

  1. Click "Set up workflow trigger," then select the webhook trigger from the "Trigger Flow by Webhook" option located at the top right corner.

  1. The webhook URL and Authorization token are displayed in the side panel.

To create or update a Contact

To create or update a contact, you can send a POST request to the Webhook URL.

POST

Headers

Body

Properties of contact

Response

On success, the server will respond with 204


POST /webhooks/trigger-flow/<workflow-id> HTTP/1.1
Host: apiv1.automation.app.gozen.io
authorization: <your-token>
Content-Type: application/json
Content-Length: <content-length>

{
    "contact" :{
        "first_name" : "John"
        "email_address" : "john@example.com"
    }
}

Last updated