How to create a block in a chatbot to send messages
How do I create a block in a chatbot to send messages?
This article explains how to add a message step to your chatbot. Follow these steps to write out text replies. This ensures your assistant sends messages to users automatically.
In this article, you will learn how to
- Add a Send a message block to your chatbot.
- Write the text response for your assistant.
- Fix common message saving errors.
Before you start
Before creating a block in a chatbot to send messages, make sure you have an existing chatbot to add a Send a message block.
How to create a block in a chatbot to send messages
- Log in to your Flownally workspace.
- Go to the Chatbots tab.
- Click an existing chatbot to edit it, or create a new one to open the editor automatically.
- Click on Add step after a block, or on the + icon on a connecting line, to add a new block.
- Choose the Send a message block.
- Type the message you want to be sent by the chatbot.
- If necessary, type {{ in the message to open the list of variables and choose one from the dropdown list.
- The variable will be added to the message.
What happens after creating a block in a chatbot to send messages?
After creating a block in a chatbot to send messages, your assistant gains a new text response step. The chatbot will deliver this message automatically when a user reaches this point in the conversation. Variables are replaced with the customer's details, for example their name.
Troubleshooting
Chatbot can't be activated yet when trying to activate the chatbot
This happens because the message field is completely empty. The block shows Message text is required. To fix this you need to type a message in the block.
Changes do not apply
This may be a result of a temporary browser lag. To solve this you need to refresh your window and try again.