13
ui-guide-studio
17
18
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
10
15
15
13
12
11
10
9
8
7
6
5
4
3
2
1
9
8
7
6
5
4
3
2
1
7
6
5
4
3
2
1
6
5
4
3
2
1
Next lesson
Next lesson
In this lesson

Schemas define the structure, format, and validation rules for data stored in things like variables or Table records. They’re used to validate data that’s being passed between actions, modules, and API requests.

Schemas are built using JSON Schema, and can define:

  • Types (like string, number, object, array)
  • Required Fields
  • Enum Values (predefined options)
  • Nested Structures

To create a schema:

  1. Open the Schema menu in the Variables panel.
  2. Define the structure and required fields.
  3. Assign the schema to variables to enforce its format on the data contained in that variable.

Schemas can be used in AI tasks, so you can extract structured data, or as workflow inputs, so you can turn dynamic or unstructured inputs into a format your business can use.

Schemas are a great tool for turning the by-nature unstructured information contained in conversations to something usable for your agent and the tools with which it interacts.

Summary
The Schema menu in the Studio interface defines data structure and validation, ensuring consistency in variables, tables, AI tasks, and workflow inputs.
all lessons in this course