Building workflows with gaiia Agent
Last updated: December 2, 2026
Overview
gaiia Agent builds, refines and fixes workflows with you in a chat. Describe what you need in plain language, and the agent builds the workflow on the canvas in real time. You can refine it by chatting back and forth, and edit it yourself at any point.
In this article, we'll be covering how to ask gaiia Agent to build a workflow, what kinds of requests work best, how to refine a workflow in the chat, and what happens when you come back to a workflow after the agent has worked on it. For everything else gaiia Agent can do, see Using gaiia Agent.
Understand permissions
Access to gaiia's AI agents is controlled by two permissions under AI agents in your role:
Use — required to chat with the agent.
Use tools that can change data — lets the agent make changes for you, such as editing a workflow.
To have gaiia Agent build or change a workflow, you also need the Workflows > Edit permission.
The agent only runs a tool if your role has the permissions that tool needs. Tools you can't run are marked "Unavailable to you". The agent still runs them for users who have the permissions.
Contact your administrator if you need access, or your Customer Success Manager (CSM) for more information about gaiia's AI agents.
Ask gaiia Agent to build a workflow
You can ask gaiia Agent about workflows from any page. Starting in the builder lets you watch the workflow appear on the canvas as the agent builds it.
Open or create a workflow in the builder.
Click Ask gaiia in the builder toolbar.
The chat panel opens on the right side.
Type your request in the chat input (for example, "Create a workflow that sends a welcome email when an account is created").
Press Send or hit Enter.
Watch the canvas as the agent builds the workflow live.
Keep chatting to refine the workflow.
The agent writes nodes to the canvas in real time — you see progress immediately! You can edit the canvas manually at any point, even while the agent is still working.
What to say to the agent
The agent responds to plain-language descriptions of what you want the workflow to do. Be specific about triggers, actions, and conditions.
Initial requests
Describe the trigger and the actions you want the workflow to perform:
"When a ticket is created, get the account details and send a notification to the assigned technician"
"When an account status changes to active, if the account type is residential, create a welcome work order"
"Create a manual workflow that calls the provisioning API, waits for success, then updates the account status"
Follow-up requests
Once the agent has built an initial workflow, you can ask it to modify specific parts:
"Add error handling to the email node"
"Change the condition to check if account type is commercial"
"Add a Slack notification when the workflow fails"
"Remove the wait node"
The agent validates every workflow it generates against gaiia's workflow schema before showing it on the canvas. If validation fails after retries, the agent reports an error and you can rephrase your request or edit manually.
While the agent is working
The chat panel shows a thinking animation while the agent generates the workflow. The canvas updates in real time as nodes are added.
You can interact with the workflow while the agent is working:
Edit nodes manually — add, delete, or modify nodes while the agent is still building; your changes won't conflict with the agent's updates
Draft your next message — you can start drafting a new request before the agent finishes the current one
Collapse the chat panel — the agent continues working in the background
Review and refine the workflow
Once the agent finishes building or modifying the workflow:
Review the workflow on the canvas.
Test the workflow using the Test button to validate behavior.
Keep chatting to request changes, or edit nodes manually.
Click Publish when the workflow is ready to go live.
Ask the agent to save, test and publish
You don't have to leave the chat to finish the job. gaiia Agent can save the workflow, run a test, publish it, and enable or disable it. Every one of these actions waits for your approval first.
When the agent finishes building, it offers to save the workflow. After the first save, it offers to run a test.
A card appears in the chat describing the action, with Approve and Reject buttons.
Click Approve and the agent carries out the action. Click Reject and nothing changes. The agent doesn't ask again for the same action.
Save — saves your changes to the workflow's draft. The published version doesn't change. This needs
Workflows > Edit.Test — starts a test run, recorded as a test. Ask for a "test" and the agent always runs a test, even against the published version. This needs
Executions > Manage.Publish — publishes the saved version. A draft with unsaved changes is saved first. The agent won't change a workflow you can only read. This needs
Workflows > Publish.Enable and Disable — turns the published workflow's triggers on or off. This needs
Workflows > Edit.
The agent uses your own permissions for each action. If your role can't publish workflows, for example, the agent can't publish for you.
You can still use the Test and Publish buttons in the builder whenever you prefer.
Your chats are saved in AI Chats. To pick up where you left off, open the chat from there.
Picking up a workflow after the agent has worked on it
If you leave a workflow while the agent is working, or simply close the tab before reviewing its changes, coming back doesn't leave you guessing about whether you're looking at the latest version.
When you reopen a workflow, and you haven't made any manual edits of your own since, the builder checks whether the agent made changes in that session that aren't yet reflected on your canvas. If it finds a difference, a banner appears above the canvas letting you know the agent has newer changes for this workflow, with three options:
Apply changes — bring the agent's latest work into your canvas.
Discard — keep your canvas exactly as it is; the agent's changes aren't applied.
Go to chat — open the chat panel to see what the agent did before deciding.
If you've already made your own edits since reopening the workflow, this banner won't appear — your canvas takes priority, the same as always.
Tips for working with the agent
Describe what should happen — the agent understands business logic, so you don't need to be overly prescriptive. You can say "send a welcome email when an account is created" rather than trying to specify node types or technical details
Start simple and refine — build the basic flow first, then ask the agent to add conditions, error handling, or notifications in follow-up messages
Ask for explanations — if you're unsure what the agent built, ask it to explain specific parts of the workflow
Treat mistakes as part of the process — if something isn't right, describe what needs to change and the agent will adjust. You don't need to start over