Action: Send a Webhook
via HubSpot Workflows
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
TimelinesAI Public API supports the following GET and POST requests: https://app.timelines.ai/integrations/api/redoc . Below are examples for each request type.
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
TimelinesAI Public API supports the following GET and POST requests: https://app.timelines.ai/integrations/api/redoc . Below are examples for each request type.
GET : Get a full or filtered list of all chats in TimelinesAI Workspace
Webhook URL | app.timelines.ai/integrations/api/chats | |
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 | |
Authentication type | API key | |
API key | Add secret. Name must be Authorization and value must be Bearer XXX, where XXX must be replaced with your TimelinesAI token from https://app.timelines.ai/integrations/api/ | |
API key location | Request header | |
Test action | Test the request. Make sure to execution is successful and returns status code 200 |
POST : Send message to phone number
Webhook URL | app.timelines.ai/integrations/api/messages | |
Authentication type | API key | |
API key | Add secret. Name must be Authorization and value must be Bearer XXX, where XXX must be replaced with your TimelinesAI token from https://app.timelines.ai/integrations/api/ | |
API key location | Request header | |
Request body | Select "Customize request body". | |
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 | |
Test action | Test the request. Make sure to execution is successful and returns status code 200 |
Updated on: 28/03/2024
Thank you!