New programmable actions for bots



What's happening?

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.

What's changing?

This updates adds two new action options when creating or editing bots. The actions are described in detail on the pages below:

When is this happening?

Both of these features are currently live and available as actions for your bots.

Please don't hesitate to post any questions or concerns in the comments below.