What are Blocks
A block is a group of cards that can contain text or images and will be displayed to the user. It can be triggered by typing text or by clicking a button that links to that block.
A Block is a visual representation of an Intent. Blocks are an essential part of how we structure a conversation, and like their name, they are the building blocks and foundation of a successful Bot dialogue. Blocks are made of one or more cards that enhance the functionality and features of your Conversation.
Default Blocks
Default Blocks are a set of predetermined blocks with specific functionality that give you a head start on your conversation. Default blocks are easy to edit. The Default Blocks section contains a Welcome Message, No Match, and Persistent Nav.
Step 1: To edit any of the respective blocks, you need to click on the edit icon.
Step 2: You can add the context out but remember it's an optional field.
You can repeat the same steps to edit No Match block and Persistant Nav block.
Blocks
Create a group for blocks falling in the same category to organize content.
Step 1: Click on Create a Group, enter a group name (e.g., Mobile Application), and press Enter button on your keyboard.
Step 2: Click on Add icon to add a block name.
Step 3: Click on Create a Block.
Step 4: Enter a block name. Let’s say How to Play and press enter on your keyboard.
Step 5: After adding a block, you can choose from the available cards in the Card Menu. In this example, click on Text to add the description.
Step 6: Enter a text, and that message will be displayed when a customer first joins a conversation.
Step 7: Click on Add Button.
Step 8: Here, you will perform the following steps to add the button:
- Enter Button Name
- Select Link To from the drop-down list i.e., Block, URL, Phone Number.
- Select Block from the drop-down list (Note: if a user selects URL or Phone Number then the user will have to enter a valid URL or Phone Number respectively).
- Click Add Button
Let’s take an example of adding buttons.
- Button Name: Instructions
- Link to: Select Block
- Select Block Name: How to Play
Repeat the above Step 8 to add multiple buttons.
Step 9: Click Save to save the information.
Re-Engagement Block
Time-based conversations can be used to re-engage with customers after an initial conversation.
Step 1: Click on Add icon to add the re-engagement block.
Step 2: Enter a name (e.g., Sweet Prize).
Step 3: Here, we can add a new message to engage the customer within the conversation. Perform the following steps:
- After Delay – Enter a numeric digit (e.g., 10)
- Select Time – Seconds, Minutes, or Hours (click on your desired requirement)
- Text – Click on text to add a description for the block.
- Buttons – Add buttons as mentioned in the above steps.