How do I post to an external webhook within a workflow?
How do I post to an external webhook within a workflow?
You can post to an external system using the 'Post To External Webhook'
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1izjxk7.png)
Note: This workflow action is only available in the Corporate Marketer Package
This can be used to access metadata from the 'in process' contact and post the state within a workflow.
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1tvnkhb.png)
Headers
{
"Content-Type": "application/json"
}
Payload
"name":"%CONTACT.FULL_NAME%"
Endpoint URL: This is the URL that is provided by the external system that you are posting to.
Payload: This is your properly formatted JSON data block. This must be formatted using proper JSON formatting (https://www.json.org/json-en.html)
Basic Authentication (optional): in some cases, the external app will require a username/password for authentication during the post. The username/password set here will be used before the payload is sent.
Headers: Some applications will require a specific set of headers to be sent. This should be configured using JSON syntax.
Example: Posting to Zapier
In Zapier
1, Create a new Zap
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1wgz8me.png)
Choose Webhook by Zapier
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_1eho8bz.png)
Choose 'Catch Hook
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_16o1x1.png)
Click Continue
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_g29igy.png)
Copy the Custom Webhook URL
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_14gsbcq.png)
In ActiveDEMAND
Open your workflow, add your workflow action
![](https://storage.crisp.chat/users/helpdesk/website/eaa36b5a44772800/image_tgzu1w.png)
Activate your workflow
Updated on: 06/10/2022
Thank you!