The AI Workflow Agent returns Simple output, which is raw text, or Custom output, which is named values with types. Later steps use the values through variable pills.
Match each Custom type to the field it fills, test with real data before you turn the automation on, and read Run History when a run does not work.
Example: a vendor intake automation returns Priority as a Single Select and Review Due Date as a Date. Update Record maps both into the vendor's record, and Conditional Logic emails the risk lead when Priority is High.
Plan Availability | All plan types. The 14-day free trial runs on Professional. |
Permissions | Workspace Administrators set up AI connections in AI Control Center > Providers and Models. Administrators and Solution Managers add the action to automations. |
Platform | Web |
Related Reading |
My AI Workflow Agent run did not work: check these five things, in order
Administrators and Solution Managers edit the automation. Workspace Administrators manage the AI connections. If you have neither role, send this page and the automation name to one of them.
Prompt is invalid. The prompt is empty, or a required field is missing. Add the fields and write the prompt.
A mapped field stays empty. The Custom type does not fit the field, or the value came back in another format. Change the type and add an Instruction.
A Single Select value. It must match one of the field's options exactly, including case and spelling.
A JSON object with no keys. An object needs at least one key in its structure.
The automation did not run at all. No run in Run History points to the toggle, the monthly action allowance or a deleted field. See Automation Run History/Erroring.
Still stuck: open the chat button in the lower-right corner of SmartSuite and select Send a message. Include the automation name, the run time from Run History and the exact message.
Which output type should I choose?
Output. | What it returns. | Use it when. |
Simple. | Raw text, treated as a multi-line Text Area. | You want a free-form answer, such as a summary or an email draft. |
Custom. | Named values, each with a type: a single value, a list, a JSON object or a list of objects. | Later steps need the values in fields or conditions. |
Custom values can be Text, Number, Yes/No, Date, Time, Date & Time, Email, URL, Phone, Single Select or Duration. SmartSuite matches them to the same field types in later actions.
Defining a Custom output
In the action, open the Output section and select the Custom tab.
Select Add Output.
Give the value a Name and a Type.
Optional: add an Instruction, such as Return in YYYY-MM-DD format.
For a JSON object, add at least one key to its structure.
Save the action.
SmartSuite adds a system prompt that asks the model for JSON when you use Custom output.
Mapping the output into a later step
The output values appear as variable pills in every later action, beside the trigger fields. Pick them the way you pick any field.
Later action. | What you map. |
Create, Update or Delete Record. | A Custom value into a field of the same type, or Simple output into a Text Area. |
Send Email. | Simple output or Custom values into the subject and body. |
Find Records. | A Custom value as the search condition. |
Conditional Logic. | A Custom value in the condition, such as Priority is High. |
Looping. | A list of values or a list of objects, to repeat actions for each item. |
Formatting that makes mapping work
Dates and times: ask for ISO 8601.
Single Select: the value must match an option exactly.
Phone numbers: ask for one format, such as +1 (123) 456-7890.
Lists: ask for each item as an array entry, not a comma-separated string.
If a value does not fit the field you map it to, the automation shows a configuration error before it runs.
Troubleshooting a run
Symptom. | Cause. | What to do. |
The action shows Prompt is invalid. | The prompt is empty, or a required field is missing. | Add the fields and write the prompt. |
A mapped field stays empty, or the mapping shows a configuration error. | The Custom type does not fit the field, or the value came back in another format. | Change the type to match the field, and add an Instruction for the format. |
A Single Select value is not applied. | The answer is not exactly one of the options. | Add an Instruction that lists the options word for word. |
A JSON object is missing from later steps. | The object has no keys. | Add at least one key. |
The model ignored a file. | The model does not take files, or the prompt did not mention the file. | Choose a model with PDF or image support and refer to the file in the prompt. |
The step shows a message from the provider. | The provider returned a message, the connection has no requests left, or its key is invalid. | Read Run History. An Administrator tests the connection, replaces the key or adds a connection with your own key. |
The connection is not in the action's list. | It is not allowed for AI Workflow Agent in this solution. | An Administrator edits the connection and allows it. |
The automation stopped after a connection was removed. | An Administrator removed the connection. | Open the action and pick another connection. |
Results vary between runs. | The prompt leaves room for reading it different ways. | Add clear instructions and examples, then test with real records. |
Tip: Test with a few real records before you turn the automation on. In the vendor example, run it on one low-risk and one high-risk vendor first.
Frequently asked questions
Can I use more than one model in one automation?
Can I use more than one model in one automation?
Yes, one per action. Each AI Workflow Agent step has its own prompt, connection and output.
Can I switch the model on an existing action?
Can I switch the model on an existing action?
Yes. SmartSuite checks the new model against the prompt and output settings when you change it.
Where does Simple output go?
Where does Simple output go?
Into any text input of a later action. It is treated as a multi-line Text Area, so map it into a Text Area field or an email body.
Does an AI Workflow Agent step count as an automation action?
Does an AI Workflow Agent step count as an automation action?
Yes. Every action in a run counts toward your plan's monthly automation actions.
Can the agent read a PDF attached to the trigger record?
Can the agent read a PDF attached to the trigger record?
Yes, if the model takes files. Add the file from the trigger with the + under Attachments and mention it in the prompt.
Need more help? Ask the SmartSuite Community, where builders, administrators and the SmartSuite team answer questions about building on SmartSuite. For your account, billing or data, select the chat button in the lower-right corner of SmartSuite to reach support.
Last verified 1 Nov 2026.
