The Trigger HappyFox Workflow action allows the chatbot to interact with third-party systems through HappyFox Workflows. The Workflow can then be used to send data to another system or get information from other systems and display it on the chatbot.
Prerequisite: Finding the HTTPS Webhook URL from HappyFox Workflows
-
Login to the HappyFox Workflow account https://workflows.happyfox.com/
-
Open the workflow that needs to be triggered from the Chatbot or create a new workflow
-
Copy the Workflow URL from the Webhook Setup modal
Configuring the Action in Bot Builder
To add the action, follow the steps below
-
Open the bot builder and navigate to Bots on the left tab
-
Choose the bot you want to configure
-
Go to the required point on the chatbot flow where you’d like to trigger workflow
-
Click Plus and choose the action Trigger HappyFox Workflow
-
Paste the Webhook URL of the workflow
-
You can also turn the toggle on for Wait for a response from Workflows
-
When turned on, the chatbot will wait until it gets a response back from workflows. The bot can then be configured to display a bot message or SDK can be used to listen to the message and direct the flow to any step required
-
-
Save the action
-
Save & Publish the chatbot
-
Test the Chatbot