This page describes how to edit an existing workflow using natural language prompts or the visual editor. You can refine your workflow's logic, add or remove steps, update instructions for Gemini agents, or adjust integrations with tools and data sources.
Before you begin
Before using this feature, create a workflow. For information about creating a workflow, see Create a workflow.
Edit a workflow using natural language
App
To edit a workflow using natural language prompts, do the following:
- Open your Gemini Enterprise web app in a browser.
- Navigate to an existing workflow in the flow builder.
- In the prompt bar in the flow builder, click What would you like to change?
Enter a description of the change you want to make. For example:
- "Add a condition step that checks if the email has attachments."
- "Change the Gemini agent step's model to Gemini-2.5-flash."
- "Update the instructions to be more direct."
- "Add a loop that processes each search result."
Click Submit or press Enter.
Gemini Enterprise applies the requested changes to your workflow.
Review the updated workflow. Optionally, use the Diff and Undo options to view or revert changes as needed.
To preview and test your workflow, switch to the Preview tab and click Start simulation.
To make your updated workflow live, click Turn on (or click Update if the workflow is already live).
Edit using the visual editor
App
To edit a workflow using the visual editor, do the following:
- Open your Gemini Enterprise web app in a browser.
- In the web app navigation menu, click
Agents and go to the Your agents section. - Locate the workflow that you want to edit.
Click Actions menu, and select Edit.
The workflow canvas appears with the last saved draft version of the workflow.
Optional: To select another workflow version, click the Turn on or Update drop-down and select Version history. In the Version history pane, select the version that you want to modify.
Click the component (trigger or step) in the canvas that you want to modify.
The configuration pane for the component opens.
Update the fields for the selected component, such as changing the schedule frequency or updating instructions for a Gemini Agent node.
To add new steps, click + Add step and select the required node type.
To preview and test your workflow, switch to the Preview tab and click Start simulation.
To make your updated workflow live, click Turn on (or click Update if the workflow is already live).
What's next
- Learn how to run test simulations for your workflow.
- Learn about workflow versions.