Action blocks are used to perform actions based on the visitor's needs and information collected so far in the flow.
Criteria Router
The criteria router splits the conversation flow into various flows based on custom rules defined with the visitor's information.
- To add a Criteria router card to the bot's flow, click on the card holder (+) icon to view the blocks gallery and select the Criteria router block under the action blocks section.
- Now, give your card a name and click on Add a rule.
- Now, define a rule by entering the conditions in the search field or choose a rule based on the section header.
- You can add multiple rules to perform multiple complex routing based on your business requirements.
- After adding all the required rules, click Save.
- Once the card is configured, you can view all the flows based on the conditions specified in the criteria router card. In case if the visitors don't match any condition, then they will be diverted to the 'Not matched' flow.
Example - Displaying offers based on different criteria, in this case (Output), the visitor comes under Not matched.
Forward
The forward card can be used to hand over the bot conversations to an operator seamlessly.
- To forward the bot chats to operators, click on the card holder (+) icon to view the blocks gallery and select the Forward block under the action blocks section.
Example - Forwarding visitors to a sales department named Zylker to an operator Patricia.
Go to
This card can be used to jump from one flow to another. You can either re-use/restart a flow from there. There are two types of Go To blocks that you can add inside the Codeless Bot builder:
- Individual Card - to show the flow jump as a separate block
- Wire Connect - to show the flow jump by wire
- Click on the cardholder (+) icon to view the blocks gallery and select the Go To block under the action blocks section.
- Choose the type of Go To block - Individual Card or Wire Connect
- Specify the card you want to go to. Once this card is activated, the flow will continue from the specified card.
- Click Save.
- The above is a reference for individual Card.
- The above is a reference for Wire Connect.
Note: The type of Go To block cannot be changed once the configuration is saved. Example - Redirecting the flow to another card (Card name: [Flow 1 - flow 2] to [Flow 2 - Suggestion])
Plugs
Plugs help to perform customized action/third-party integrations. To build plugs, navigate to Settings > Developers > Plugs. Once the plug is built and published, you can use those in the codeless bot builder.
- Click on the card holder (+) icon to view the blocks gallery and select the Plugs block under the action blocks section.
- Give your card a name, and select the Plug you want to associate from the drop-down.
- Then, provide the context variables for plug's Input and Output fields.
- Click Save
There are two possible flows upon the plug card's is triggered. The flows can be used to:
- Success: To add cards upon successful execution of the plug.
- Failure: To add cards in case of plug failure. This can happen due to wrong usage/values or technical issues.
Example: Scheduling an appointment using Zoho Bookings.
Here, the name, email, phone, date & time are stored in the bot context and given as plug input. The output of the plug is stored in the bot context (bookingid), which can be used in the further flow.
Related links:
Send Email
The send email card allows the bot to send emails during the bot conversation. This can be used to send details of the ongoing bot conversation.
- To send emails during bot conversation, click on the card holder (+) icon to view the blocks gallery and select the Send Email block under the action blocks section.
- Enter the name, To address, and CC to send the mail to the required email address.
- Now, Add the Subject and the content. You can use dynamic text to notify the receiver about the ongoing conversation. Finally, click Save.
There are two possible flows upon the execution of the Send email card:
- Success: To add cards after the mail is sent successfully.
- Failure: To add cards in case of failure due to technical reasons.
- Misconfiguration: To add cards in case of the company email address is not available in the portal's email configuration.
Example - Sending an Order Confirmation mail to the customers who order using the Zobot.
Attachments:
You can add attachments to the mail by declaring the bot context variable under the attachment section, which is used to save the received files from the visitor.
Example - Attaching the visitor's order invoice in the email as a reference to initiate a return process.
Note: Only the files received from the visitor by files card can be added as attachments here. Custom files cannot be uploaded here.