How to create a block in a chatbot to split it
How do I create a block in a chatbot to split it?
This article explains how to branch your chatbot based on user responses. Follow these steps to set up routing rules. This ensures customers see targeted content.
In this article, you will learn how to
- Add a Split by condition block to your chatbot.
- Fix setup problems inside the block settings.
Before you start
Before creating a block in a chatbot to split it, make sure you have:
- An existing chatbot to add a Split by condition block.
- Customer data or tags ready in your workspace to route contacts into different branches.
How to create a block in a chatbot to split it
- Log in to your Flownally workspace.
- Go to the Chatbots tab.
- Click an existing chatbot to edit it, orcreate a new one to open the editor automatically.
- Click on + icon to add a new block.
- Choose the Split by condition block.
- Choose a condition for the chatbot to split:
- Choose one of the three outputs:
- Send rich message
- Wait for reply
- Intent Detector
- Choose one of the fields available for the output blocks.
- Choose an operator to be used for checking in the output block.
- Type a value to be used for checking in the output block.
- Choose one of the three outputs:
Important: You can use the advanced mode for splitting journey by condition. This option uses expressions.
What happens after creating a block in a chatbot to split it?
After creating a block in a chatbot to split it, your assistant can divide the conversation layout. The system checks customer data automatically and sends users down the correct response path.
Troubleshooting
Contacts go down the wrong path
This occurs because your condition values do not match the contact data points exactly. You need to verify your condition criteria and make sure they match your active contact data.
Expression error when trying to save the block
This happens because your written expression contains incorrect formatting or typos. You must check your expression syntax and clear any formatting mistakes to save the block.