How to use actions in responses?
In this article, you will find definitions and useful information to create intent responses in the bot by using the " Actions" function."
Estimated reading time: 05 minutes
Actions allow the addition of predefined behaviors to the bot. The Question, Go to Intent, send E-mail, Mute Chatbot, Search on Website, and Location Sent (for WhatsApp users) actions, are the most used by our customers. However, there are many more and you can even create new, custom Actions.
- Question: It allows you to ask questions to the user and save their answers as a value in a variable. These variables will be kept in the user profile with the data that was recorded, such as name, age, CPF, date of birth, and others.
- Go to intent: It allows you to redirect the flow to an intent to continue the conversation with the customer.
- Send Email: It allows you to send an email to the user as part of a response.
- Mute chatbot: The bot stops responding to the user for a period of 30 minutes or until an agent mutes that specific user.
- Search on website: It is an action that allows you to search for products within an indexed website (i.e. a website with a product catalog).
- Send contact to WhatsApp user: Itallows to request the location from the user. When the bot receives it, it will store it in the variable "address" as latitude and longitude.
- Render Template: It allows to generate images and PDFs from an HTML template that completes with the variables of the conversation.
To access the glossary of the most used actions within the Botmaker platform and other details on this topic, refer to our related article: How to execute actions?
Where to use actions?
Actions are set up in the response screen, which is the last step in developing an intent. See the example below:
Remember to visit our Help Center for further information.