Workflow Builder: chat agents and workflows
Gemini Enterprise's Workflow Builder builds two kinds of agent without code. A chat agent holds an open-ended conversation; a workflow runs fixed steps from a trigger, with conditions and human approvals. Learn to pick one, configure a workflow, and use versions and run logs to change and debug it.
Chapter 2Low-code agentsLesson 1 of 3ShowHide
Chapter 2 of 7 in Google Cloud Professional Agentic Architect
- Workflow Builder: chat agents and workflowsYou're here
Prerequisites: The Google Cloud agent platform map
Two kinds of agent, no code
is the low-code tool inside Gemini Enterprise for building agents (it was called Agent Designer until it became generally available in September 2026). It builds two kinds:
- A chat agent holds a conversation. The user drives: they ask, the agent works out how to answer, possibly with sub-agents for specialist tasks. Google describes its responses as mainly non-deterministic. It suits questions and answers, data lookup and personal help.
- A workflow runs a sequence of steps that you lay out on a canvas. Something starts it, the steps run in your order, conditions choose branches, and people can be asked to approve. It suits multi-step processes with a defined order and human sign-off.
In the terms of the first lesson in this path, a chat agent is an agent the user leads, and a workflow is a workflow with model calls inside its steps. The test is the same: if the path should be fixed and checked, build a workflow; if the user should lead an open conversation, build a chat agent.
Both reach business apps through connectors: Gemini Enterprise's links to apps such as Gmail, Google Drive, Jira and ServiceNow, connected to the Gemini Enterprise app as data stores.
One request, built twice
Take a new-starter request. A manager emails HR: "Maria joins on 3 March as a support engineer, please set her up."
As a chat agent, you give the agent instructions ("help managers onboard new starters: collect the name, role, start date and manager, then raise the IT ticket"), and it works with the handbook and the apps connected to your Gemini Enterprise app. The manager opens it in Gemini Enterprise and talks it through. It is flexible and copes with odd requests, but it decides its own steps each time, so nothing guarantees the same checks happen for every new starter, or that the details are reviewed as a whole before anything is created.
As a workflow, the request starts the process itself and every request goes through the same steps:
Step through the canvas below. First predict what happens when the request names no manager, then follow the condition down both of its branches.
- Trigger. An event trigger watches Gmail for received emails, filtered to the new-starter subject line.
- Gemini Agent step. Its instructions say to extract the name, role, start date and manager. Its knowledge is the onboarding handbook. Its output format is a JSON schema, a list of named fields the output must fill, here those four. Each field becomes a variable: a named value later steps can read.
- Condition. If the manager field is empty, a separate branch replies to the sender asking for one (a connector write, so it needs review too), and that run ends.
- Approval. The run pauses and a reviewer checks the extracted details as a whole.
- Gemini Agent step with connector actions. It creates the IT ticket and sends the welcome email.
What the workflow guarantees, and the chat agent doesn't: every request is handled the same way, the details are checked against a schema, and nothing is created until a person has approved the request as a whole.
Configuring a workflow
Triggers
A starts a workflow, in one of three ways:
- Manual: someone types @ and the workflow's name in the Gemini Enterprise chat, and can be asked for input fields.
- Schedule: a frequency (such as daily or weekly) and a time zone. Runs started by a schedule or an event don't appear in the Chats menu (unlike scheduled runs of a plain chat agent): you follow them, and approve any that pause at a human-in-the-loop step with the status Needs Review, in the Runs tab under Agents.
- Event: a change in a connected app: a new email in Gmail, for example, or a change in Google Calendar, Google Drive, ServiceNow or Jira Cloud.
An event trigger is configured as the workflow's trigger, not added as a step on the canvas: choose App event, then the connector, then its event, then filters. Google's advice is to always add filters, so that only the emails or files you mean start runs. Event triggers work by polling, checking the app at intervals, so a run can start 5 to 10 minutes after the change. They only poll while the workflow is turned on.
An event trigger fired 8 minutes after the email arrived. Is something wrong?
Steps
- . A model acts on instructions, knowledge (files, or chosen Drive or OneDrive folders) and connected apps. For each connector you turn on search actions, and separately the actions that add or update data. Write actions need the search actions too, because they find the record to change by searching first; without them the run fails with an ENTITY_NOT_FOUND error. Adding or updating data through a connector also requires human review of that write. The output format is plain text or a JSON schema, and the output becomes a variable. A JSON field gives later steps an exact value to test; free text can be worded many ways.
- Flow control. Condition branches on a variable (equals, contains, greater than, joined with AND or OR). Filter keeps only the list items that match. Loop runs one or more steps for each item in a list.
- Human in the loop. Request info pauses to ask a person questions that you set when you build the step (short answer, date, yes or no and others). Approval pauses until a person signs off on what the workflow has produced so far.
- Steps that reach outside. MCP steps call tools on an MCP server, and existing-agent steps run registered ADK or A2A agents built outside Workflow Builder. A later lesson covers when to use them.
Building by conversation
You can also describe a workflow, or a change to one, in plain language and let the designer build it. At the time of writing, Google lists a known issue: it can't add approvals, event triggers or filters this way, so add those by hand.
Operating a workflow
Versions
When a workflow is ready, you turn it on. That version becomes Live, and a new draft is created for your next edits, so changes never touch the running version until you update it. You can also save a version without making it live. Before turning a draft on, try it from the Preview tab, which runs it as a test without waiting for the trigger; for an event trigger, you pick a recent event as the sample input.
Version history lists each version with its name and time. Restoring one copies it over the current draft, which you then make live with Update. Deleting a version can't be undone, doesn't make any other version live, and removes the workflow graph from that version's runs, so you lose the graph those runs are debugged against.
Turning a workflow off removes its schedules and event triggers, so no new runs start, for everyone it is shared with. Runs already under way finish.
Run logs
The Runs tab lists every run of the workflow, both the test runs started from Preview and the real runs from its trigger. Each run shows its input or trigger, its status and when it started. Statuses include Running, Needs Review (paused at a human-in-the-loop step), Completed and Error, and you can filter by them and by date. Opening a run shows its details, including which version ran, and Google describes the logs as step-by-step execution traces.
So to debug, find the failed run, see which step failed and with what message, fix that step in the draft, test it in Preview, then update the live version. One caution from the known issues: event-triggered runs that fail because a quota ran out are not retried automatically.
An event-triggered run has shown Needs Review in the Runs tab for an hour. What is it most likely doing?
Try it
If your organisation's Gemini Enterprise has Workflow Builder turned on, build the new-starter workflow above with a filter on your own test subject line and a test ServiceNow instance or test inbox, since a test run may perform real actions. Send the test email from a second account: a When an email is received trigger does not fire for an email you send yourself (to test from one account, use When an email is sent instead). In the Preview tab (some pages call it Test) choose it with Select input and click Start manually. Then turn it on, send another email, and follow the run in the Runs tab, including the pause at the approval.
Sources
Show 13 sourcesHide sources
| Source | Publisher | What it supports |
|---|---|---|
| Professional Agentic Architect exam guide (opens in a new tab) | Google Cloud | objective 1.1 |
| Workflow Builder overview (opens in a new tab) | Google Cloud | chat agents and workflows compared; retrieved 2026-11-17 |
| Workflows overview (opens in a new tab) | Google Cloud | triggers, step types, Gemini Agent configuration and connector actions, versions, step-by-step execution traces; retrieved 2026-11-17 |
| Configure an event trigger (opens in a new tab) | Google Cloud | App event, supported connectors, filters, polling delay; Gmail known issue: to trigger by emailing yourself use When an email is sent, since When an email is received will not fire; retrieved 2026-11-17, rechecked 2026-12-02 |
| Flow control steps (opens in a new tab) | Google Cloud | Condition, Filter, Loop; retrieved 2026-11-17 |
| Human-in-the-loop steps (opens in a new tab) | Google Cloud | Request info, Approval, Needs Review; retrieved 2026-11-17 |
| Use connector actions (opens in a new tab) | Google Cloud | search and add-or-update actions; writes require human review; retrieved 2026-11-17 |
| Turn a workflow on or off (opens in a new tab) | Google Cloud | retrieved 2026-11-17 |
| Manage versions (opens in a new tab) | Google Cloud | restore overwrites the draft; deleting a version removes its runs' graph; retrieved 2026-11-17 |
| Workflow runs (opens in a new tab) | Google Cloud | Runs tab, statuses, filters; runs started by a Schedule or Event trigger don't appear in the Chats menu, unlike scheduled runs of non-workflow chat agents, and are approved in the Runs tab, where a run at a human-in-the-loop step shows Needs Review; retrieved 2026-11-17, rechecked 2026-12-02 |
| Known issues (opens in a new tab) | Google Cloud | conversational designer limits; quota failures not retried; registered ADK and A2A agents only; retrieved 2026-11-17 |
| Quotas and limits (opens in a new tab) | Google Cloud | schedules; scheduled runs that affect others pause for approval; retrieved 2026-11-17 |
| Gemini Enterprise release notes (opens in a new tab) | Google Cloud | 3 September 2026: Workflow Builder, formerly Agent Designer, generally available |
Suggested videos
Show 2 videosHide videos
Use Gemini Enterprise to orchestrate multiple AI agents (opens YouTube in a new tab)
Demo of building agents in Gemini Enterprise's visual designer, with an approval step before an action runs.
Note: Recorded before the Workflow Builder name, and doesn't show triggers, versions or run logs.
How to Use Agentic AI for Business with Gemini Enterprise | Gemini at Work - Lesson 6 (opens YouTube in a new tab)
Official Gemini at Work lesson showing a business user building a no-code chat agent, the lesson's first agent type.
Note: Shows chat agents only, not workflow steps, triggers, versions or run logs.
Review
What are the three ways a Workflow Builder workflow can start?
Check yourself
Finance wants every expense report over 500 dollars, when it arrives, checked against the expense policy and sent to a reviewer before payment. Which should they build?