You can configure AI response blocks in Studio with either text, JSON outputs or knowledge base outputs.
Setting Up AI Response Node

AI Response blocks in Studio let you create structured outputs using JSON Schema. Here's how to set it up:
From your flow, click the "AI" option in the top toolbar
Drag an "AI Response" block into your flow
Configure the response settings in the right panel
Choose between Text or JSON response types
We'll focus on JSON Schema configuration below
How to Configure Text AI Response Settings in Studio?

First, let’s set up the Text AI in the right panel. This AI uses the knowledge from the model and the context you provide in the prompt, along with any of the previous chat count provided.
Select AI (not Knowledge Base) in the Response AI section.
If you want the AI to consider previous messages, add the Previous Chat Count.
Provide a Prompt to guide the AI on what to do in the conversation.
Enable Send to Chat to directly send response to the chat, depending on your needs.
Keep Text as the Response Type.
You can also store the response into variable using store into.
Choose the appropriate AI Model based on your requirements.
Set the Temperature to adjust the creativity level (adjust as needed).
Adjust the Max Tokens (default is 1024).
Once these steps are done, you’re all set!
Learn more about Temperature, Tokens, and Previous Chat in our helpdesk guide: What are Tokens, Max Tokens, Context Limits, Knowledge Nodes, and Temperature in AI?
How to Define Your JSON Schema in AI Response Studio?

First, let’s set up the JSON AI response in the right panel. This AI uses the knowledge from the model and the context you provide in the prompt, along with the if any previous chat count provided.
Select AI (not Knowledge Base) in the Response AI section.
If you want the AI to consider previous messages, add the Previous Chat Count.
Provide a Prompt to guide the AI on what to do in the conversation.
Enable Send to Chat to directly send response to the chat, depending on your needs.
Select JSON as the Response Type.
Click Edit JSON Schema to define the response structure.
Specify the expected fields, data types, and format required in the JSON output.
Store the response into a variable using Store Into.
Choose the appropriate AI Model based on your requirements.
Set the Temperature to adjust the creativity level (adjust as needed).
Adjust the Max Tokens (default is 1024).
Once these steps are done, you’re all set!
How to Configure Knowledgebase AI Response Settings in Studio?
Learn how to set up Knowledge Base responses for your AI conversations
Setting Up Knowledge Base Response

The Knowledge Base response in Studio lets you create AI responses based on your custom knowledge sources. Here's how to configure it:
First, let's set up the Knowledge Base in the right panel:
Select Knowledge Base in the Response AI section
Enter your Question in the provided field
If need Set Previous Chat Count (0 is default)
Add any specific Prompt to guide the response
Include Restrictions if needed to limit the scope
Enable Send to Chat if you want responses in the chat
Use Store into to save responses to variables
Choose your preferred Model from the dropdown
Adjust Temperature (0.7 is default)
Set Max Tokens (1024 is default)
Remember: Knowledge Base responses are based on your uploaded knowledge sources, unlike regular AI responses which use the model's general knowledge
Related Articles
How to Debug Flows and View Execution Logs in Chatbot Studio?
Learn how to debug your flows, check flow execution logs, and view logs within the Chatbot Studio
Flow : Scenarios, Blocks, Steps & Connections
This article fully details how steps/nodes and blocks work, how to configure them, create paths and connections.
How to Execute Code in Your Chatbot
Learn how to use the Code Execution Node to run custom code, integrate APIs, and control dynamic chatbot flows.
How to Create & Configure Card Component in Studio
Learn how to implement Card-based interactions in your conversation flows
How to Create & Configure Buttons in Studio
Learn how to implement button-based interactions in your conversation flows
Walk Through: Getting Started with Chatbot Studio
walk through guide to Chatbot Studio Interface to create custom flows workflow