New functionality: Programmable actions for bots
We've added two new actions to bots that will allow developers to have direct control over bot responses: webhooks and snippets. Webhook actions will send data related of the current chat session to an external system, while snippets will let you run JavaScript code inside HubSpot as a step in the bot conversation.
This updates adds two new action options when creating or editing bots. The actions are described in detail on the pages below:
Both of these features are currently live and available as actions for your bots.
Questions? Join the discussion here or https://help.hubspot.com/