Block Types
Building the Logic and Actions for Each Step in Your Conversation
Blocks are the functional units within a Step, defining what action happens at each stage of a conversation. Each Step can contain only one Block, and there are three main types of Blocks, each designed to handle different aspects of conversation flow.
Blocks is currently in beta. Weβre excited to have you try this new feature and welcome your feedback as we continue to refine and improve the experience.
Types
- Conversation: This block type manages interactions between the assistant and the user. A conversation block is used when the assistant needs to ask the user for specific information, such as contact details or preferences.
- Tool-call: This block allows the assistant to make external tool calls.
- Workflow: This block type enables the creation of subflows, which are smaller sets of steps executed within a Block. It can contain an array of steps (
steps[]
) and uses aninputSchema
to define the data needed to initiate the workflow, along with anoutputSchema
to handle the data returned after completing the subflow. Workflow blocks are ideal for organizing complex processes or reusing workflows across different parts of the conversation.