Action: Send a Webhook
This article contains examples of "Send a webhook" HubSpot action with TimelinesAI Public API.
- Open your HubSpot account > Automation > Workflows
- Create workflow from scratch
- Configure the desired trigger ( how workflow should start)
- Add an action > click "Data Ops" > click "Send a Webhook"
- Select the desired Method: GET or POST
GET : Get a full or filtered list of all chats in TimelinesAI Workspace
|
|
|
Query parameters. Add desired static values here. | Supported parameters: https://app.timelines.ai/integrations/api/redoc#/paths/~1chats/get. Example: group = false and label=Sales | |

API key location | Request header | |

POST : Send message to phone number
|
|
|

API key location | Request header | |
Customize request body | Add property with key phone . Select the Phone Number as a value |
|
Customize request body | Add static value with key whatsapp_account_phone . Type your own Phone Number in an International format as a value |
|
Customize request body | Add static value with key text . Add desired WhatsApp message text as a value | |

Updated on: 28/03/2024
Thank you!