Using Custom Actions, you can automate tasks such as:
Give customers information about their order status.
Send Intercom data to another tool for reporting.
Send customer request data to another support tool for agents to resolve async.
And many more! See 5 great ways to use Custom Actions and Objects in bots.
You must have a custom action set-up in order to use it in Automation. See Setting up a Custom Action article for more details.
Using Custom Actions in Workflows
Create a Workflow to collect needed information from the customer.
Click the + button and then Collect data. You need to ensure all the data sent in the Custom Action request body are collected during or prior to the bot workflow.
Trigger the Custom Action.
After you’ve collected all the needed data, click on the + button, scroll down and choose Custom action (using API).Specify Custom Action fail path
From the dropdown, choose your Custom Action and then add a fail path to give users some context in case your Custom Action fails to complete.Specify Custom Action success path
You'll now be able to display data returned from the Custom Action in your bot messages. To do that, add a new message and then click on the attribute selector {..} button and choose the appropriate attribute you want to show.
Another example
Here's another example of a custom action used in Fin AI Agent handover workflow to create a ticket in Zendesk for agents to respond to via email.
Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts