AI Steps
Configure an AI step, choose its output type, and reuse the result later in your automation.
An AI step generates a value from a prompt when your automation runs. You can use that value to categorize ideas, choose a route, or give a later step more context. This page shows you how to configure the step, generate JSON, and reuse the result.
Configure an AI step
Set up the prompt and output in the AI step in the automation editor.
- In Prompt, enter what the AI should produce and what criteria it should apply.
- In Prompt, select any dynamic values the AI needs from the trigger or earlier steps. Those values resolve before the AI generates its result.
- In Output Type, select the kind of value to return. A new AI step defaults to Text.
For help selecting dynamic values, see Inserting Expressions.
Choose and narrow the output
A single-value type returns one value. A list type returns a list of values of the named type.
Single value | List | What it returns |
|---|---|---|
Structured JSON | — | A JSON object that matches Schema. |
Text | Text List | Text, such as a summary. |
Category | Category List | Choices from the options you define for this step. |
Number | Number List | Numeric values, such as scores. |
Boolean | Boolean List | True or false values. |
Date | — | A date. |
JSON | JSON List | JSON objects with free-form fields. |
Idea Collection | Idea Collection List | References to idea collections. |
Goal | Goal List | References to goals. |
Phase | Phase List | References to workflow stages. |
Status | Status List | References to idea statuses. |
User | User List | References to users. |
Idea | Idea List | References to ideas. |
Comment | Comment List | References to comments. |
For Category or Category List, define the allowed options on the step. The AI can only return categories from those options.
For a record type or its list variant, use AI Can Choose From: to filter which records the AI can select. The AI returns references that later steps can use. Selecting a record doesn't change it.
Give the AI more time or context
These options are off on a new AI step. Their availability depends on your workspace AI settings and environment support.
- Enable Thinking Mode gives the AI more time to reason before returning a result.
- Enable Web Search lets the AI use web search when generating its result.
- Enable File Context adds uploaded or dynamically selected images and documents to the prompt's context. It works with any output type.
Define a structured JSON output
Use Structured JSON when later steps need predictable fields instead of free-form JSON. The result must be a JSON object that matches Schema.
- In the AI step, select Structured JSON under Output Type. The Schema field appears.
- In Schema, select Generate JSON. A card opens where you can describe the format you want.
- In Describe format or changes, enter the properties and value types you want. The AI uses your description, the current schema, and the step's Prompt.
- Review the generated schema in the preview.
- Select Insert. The generated schema appears in Schema.
If you see Invalid JSON Schema, select Fix with AI in Schema. Review the read-only repair preview, then select Insert to update the schema. The inserted schema still has to pass validation.
Fill a Variable step with JSON
Use Fill JSON with AI to generate or repair the value stored in a Variable step.
- In the Variable step, select JSON or JSON List in Value.
- In Value, select the AI assistance button. Fill JSON with AI opens.
- In Describe the JSON Structure You Want, describe one object for JSON or an array of objects for JSON List. Any existing text from Value is already there. Tip: If the existing value is invalid, select Fix with AI instead. Fix JSON Structure opens and starts a repair using the existing text.
- Review the read-only, indented JSON preview in the AI Assistant card. It updates as the AI responds, and you can refine the result with a follow-up prompt.
- When generation finishes, select Insert. JSON that can be parsed is formatted and saved in Value. If it can't be parsed, it stays as text and may still be invalid.
Closing the card without selecting Insert leaves the value unchanged. Using AI to edit a variable value or schema doesn't run the automation.
Reuse the result in later steps
In a later step, select the AI step's output as a dynamic value. A condition can use it to choose a route, or another AI step can use it in Prompt.
The AI step generates the result but doesn't update the idea itself. To fill several form fields with one Update Idea action, define a named property in Schema for each value you need. For example, return a text summary and a numeric score in the same result.
In the same Update Idea action, select each property separately as the dynamic value for its matching form field. Make sure each property's value suits the destination field's type. For help configuring the action, see Updating an Idea.
Common questions
Can I use files attached to an idea as context for an AI step?
Yes, you can use idea attachments as context if you explicitly include the files. Turn on Enable File Context, then select the files dynamically if they're available to the step. You can also upload the files directly.
Where can I see what the AI returned during a run?
In Runs, open the automation run and inspect the AI step’s output. You can also see what the step received, but the log may not show its reasoning; see Runs and Troubleshooting.
How do I send ideas down different paths based on the AI's category?
Use the AI step’s category as a condition in each Path. Set each path to match the category it should handle, then add the action it should take.