Chatbot API - Zapier
Last updated
Last updated
Using the API with Zapier
Using the API with Zapier is all about making sure you are copying and pasting the right info into the right places. At its core that's pretty much how every automation platform works - you just have to make sure the right data is going in the right place.
The Action step you are going to select is the POST event in the Webhooks Zap
URL: This is where you paste in the webhook URL:
https://YOUT_AGENCY_DOMAIN/en/chatbot/api/v1/message/
Payload Type: json
Data:
- chatbot_uuid | this is the value copy/pasted from the chatbot鈥檚 dashboard
- query | this is the message from the user that you want to send to the AI chatbot
- user_key | this is the unique contact ID to identify each person鈥檚 conversation
Wrap Request in Array: No
Unflatten: Yes
Basic Auth: Leave this field blank
Headers: Authorization | Token ba534d4274523452345da0e99345a67000