Overview
The Combine Block in Guided Conversations (GC) allows you to merge multiple variables along with text into a single structured variable. This combined data can then be passed to internal applications or external third-party services, ensuring seamless communication and better context transfer between different systems.
By using the Combine Block, you can:
- Consolidate user inputs gathered across multiple interactions into a well-structured format.
- Reduce manual effort in mapping and transferring context between different blocks and systems.
- Improve integration efficiency by ensuring all relevant information is captured in a single variable.
How to use the Combine Block
The Combine Block can be used in a variety of scenarios where structured data transfer is required. Here are two key use cases:
Use Case 1: Creating a ticket in a help desk system
When users raise a query in a chatbot session, their responses may be scattered across multiple interactions. Instead of manually compiling this information, the Combine Block can consolidate these inputs into a single variable.
Example: Integrating with Zoho Desk
- Capture user inputs at different stages of the chatbot session. (e.g., issue description, urgency level, affected product).
- Use the Combine Block to merge these inputs into a single variable.
- Map the combined variable with the Description variable in the Create Ticket block in Zoho Desk Integration.
- Create a ticket with a clear and complete description, ensuring that the support agent receives all necessary details without requiring additional clarification from the user.
Benefits of this approach:
- Ensures that the support team gets the full context of the issue without multiple follow-ups
- Minimizes user effort, reducing the need for repetitive explanations
- Improves overall efficiency of ticket creation and enhances customer satisfaction
Use Case 2: Enhancing context for a generative AI block
When using Zia generative AI block, providing complete and structured context is essential for generating accurate and human-like responses. Instead of sending fragmented data, the Combine Block merges key details into a single contextual variable.
Example: Using Combine Block with Zia generative AI
- Gather relevant user inputs throughout the session (e.g., user preferences, past inquiries, session context).
- Use the Combine Block to structure and merge these inputs into one comprehensive variable.
- Pass the combined variable to the Zia Generative AI Block as input for response generation.
Benefits of this approach:
- The AI has better context, leading to more human-like and relevant responses.
- Users experience seamless conversations without needing to repeat information.
Combine Block validations
Field | Mandatory field | Character limit | Additional details |
Block Name | Yes | 100 | Characters <, >, “, ’ not allowed |
Message | Yes | 1000 | None |
Block Variable | Yes | 250 max, can type up to 260 | Cannot start with a number; Special characters not allowed except underscore (_) |
Validation Error Message | No | 10000 | Malicious attack scripts are checked and removed if present |
Benefits of using Combine Block
The Combine Block plays an important role in ensuring efficient, structured, and automated data flow across different chatbot interactions and system integrations.
- Seamless Data Integration: Ensures smooth data transfer between different blocks and external applications.
- Enhanced Contextual Understanding: Helps AI models and external systems process complete information.
- Time and Effort Efficiency: Reduces the manual effort of mapping and organizing multiple variables.
- Improved User Experience: Minimizes the need for users to repeat information, leading to smoother interactions.
Conclusion
The Combine Block is a powerful tool that streamlines communication across chatbot flows, making integrations more efficient and interactions more contextual.