The AI Assistant step runs when its form action is triggered, for example when a user clicks a button.
It can read form values and selected attachments, then save the response to a form variable for the user or a later step. To run AI when a workflow reaches a node, use the AI Assistant workflow action.
This step supports multiple AI interaction modes and is commonly used for document review, image analysis, content summarization, and calling predefined AI Agents during form processing.
Where to add this step
To add an AI Assistant step to a form action:
Open your form in Form Designer
Go to Form Actions
Click Add a step
Select AI assistant
The step runs when its form action is triggered and its execution condition is met. To let a user review the response before submitting, connect the action to a button and display the output variable in an editable field.
Common configuration fields
The AI Assistant step follows the same execution logic as other form action steps and includes the following common fields:
Set the condition that must be met for the AI Assistant step to run.
If the condition is false, the AI Assistant step is skipped. The Continue next step when condition is not met setting controls whether the form action continues after skipping it.
Continue next step when condition is not met
Enable this setting when later steps can run without the AI response. Leave it off when they depend on that response.
Save response to
Select a form variable to receive the response.
You can display the response in the form or reference it in later steps. If a workflow needs the result, have it read the submitted value or pass the variable explicitly.
Event Type overview
The AI Assistant step supports four event types, each designed for different scenarios:
Conversation with Assistant – Generate AI responses based on text input and optional attachments
Analyze image content – Extract and analyze information from image files
Analyze document content – Read and summarize document files such as PDFs
Call AI agent – Invoke a predefined AI Agent with structured inputs and outputs
Event Type: Conversation with Assistant
This event type generates AI responses based on text input and optional attached files.
It is suitable for summarization, content generation, validation logic, and decision support during form actions.
Configuration
User message
Defines the request or task sent to the AI assistant.
This field typically describes what the AI should review or generate and can reference form variables.Assistant instructions
Defines the role, scope, and output requirements of the AI assistant.
It is recommended to clearly specify that the AI should only use information provided in the form or attached files and avoid assumptions.Select input file(s)
Specifies the files that will be provided to the AI assistant, such as uploaded certificates or supporting documents.
You can also switch to the expression editor to dynamically reference file variables.Including online research result
Controls whether the AI assistant is allowed to reference external information.
For internal or compliance-related scenarios, this option is usually disabled.Save response to
Defines where the generated response will be stored for later use in the form action flow.
Event Type: Analyze image content
This event type analyzes image files submitted through the form and extracts visible information from the image.
Configuration
Image
Select the image variable to be analyzed, typically an uploaded certificate, license, or scanned document.User message
Describes what information should be identified or extracted from the image, such as supplier details or validity dates.Assistant instructions
Controls how the AI interprets and presents image analysis results.
It is recommended to instruct the AI to only extract information that is clearly visible and avoid inference.Save response to
Specifies the variable used to store the image analysis result.This event type is suitable for processing scanned documents or photos uploaded through the form.
Event Type: Analyze document content
This event type allows the AI assistant to read and analyze document files such as PDF or Word documents.
Configuration
User message
Defines the analysis objective for the document, such as summarizing key information or reviewing specific sections.Assistant instructions
Specifies how the AI assistant should interpret the document and format the output.
Clear instructions help ensure concise and consistent summaries.Select input file(s)
Select the document files to be analyzed, typically uploaded attachments from the form.
You can also switch to the expression editor to dynamically reference files or combine multiple attachment variables.Save response to
Defines where the document analysis result will be stored.This event type is suitable for extracting structured information from formal documents such as supplier certificates, contracts, or compliance materials.
Event Type: Call AI agent
This event type invokes a published AI Agent to perform intelligent processing within a form action.
Unlike general AI conversations, an AI Agent already contains its own persona, instructions, knowledge, tools, and response format. The AI Assistant action is responsible for selecting the AI Agent, providing the required form context, and saving the generated results for later use.
The configuration includes the following sections.
Application
Select the application where the target AI Agent is defined.
Only AI Agents published within the selected application are available for selection.
Select an AI agent
Choose the AI Agent that will process the current form action.
For example, an AI Agent can be used to:
Summarize submitted forms
Analyze support tickets
Classify requests
Generate business recommendations
Extract structured information
Produce reusable business outputs
The AI Agent's behavior is fully determined by its own configuration, including its persona, instructions, knowledge, tools, and output format.
Include current context
When Call AI agent is selected, you can enable Include current context to automatically send form-related context to the selected AI Agent.
Instead of relying only on the input prompt, the AI Agent can generate responses based on the current form and its associated business data.
This is especially useful for scenarios such as ticket analysis, form summarization, request classification, intelligent routing, and business recommendations.
Available context
Current application context
Provides information about the current application and related business resources.
Current user context
Provides information about the current user performing the action, such as the user identity and profile information.
This allows the AI Agent to personalize responses based on the current user when required.
Template and filter variables
Passes template variables and filter values that are currently available in the form.
This enables the AI Agent to use dynamically generated values when processing the request.
List Fields
The List Fields option includes field values from the current record or form submission. Enable it when the agent needs those fields.
These values become part of the context sent to the AI Agent, allowing it to analyze the submitted business data without manually mapping every field.
Tip
Enable the context the agent needs. If only one field is relevant, reference that field in the user message.
Input
Use the User message field to describe what you want the AI Agent to accomplish.
The User message defines the objective of the current action, while the selected context provides the business information needed to complete that task.
You can also switch to the Expression Editor to build dynamic prompts using variables, expressions, and field values.
Output
Map each AI Agent output you want to use to a compatible form variable. The example uses text variables for the summary and suggested IDs.
For example:
Summary →
var_SummaryCategory ID →
var_CategoryIDSupport Team ID →
var_SupportTeamID
Reference the mapped form variables where the response is needed. For downstream workflow actions or notifications, pass the values to the workflow or read them from the submitted record. For example:
Form fields
Workflow actions
Approval processes
Notification emails
Subsequent AI Assistant actions
Example
For example, configure a form button to analyze a support ticket while the user fills out the form.
When the user clicks the button, the AI Assistant calls the configured AI Agent with the ticket information. The agent can return these outputs:
Ticket summary
Suggested category
Recommended support team
Show the proposed summary, category, and support team for review. Use the confirmed values in routing, notifications, or approval steps.
This approach allows organizations to centralize AI logic inside reusable AI Agents while automatically supplying the current form context whenever the action runs.
Best practices & notes
Clearly define user messages and assistant instructions to ensure consistent AI output.
Use execution conditions to control when AI logic should be triggered.
Choose image analysis or document analysis based on the file type being processed.
Avoid enabling online research for internal business or compliance scenarios.
Test the form action with a complete example, missing input, and an empty AI response. Confirm the user can review or correct the result before submitting.







