You can add human-in-the-loop steps to your workflow to pause execution and require human input before proceeding.
Workflow Builder provides two step types: requesting information from a user and requiring approval before the agent takes further action.
Before you begin
Before using this feature, ensure that a Gemini Enterprise administrator has enabled the Workflow Builder feature toggle in your app's feature management settings. For more information, see Manage web app features.
Human-in-the-loop step types
Workflow Builder provides two human-in-the-loop step types:
- Request info: Pause the workflow and ask the user one or more questions. Use this step when the workflow needs additional information or clarification to proceed.
- Approval: Pause the workflow and present outputs for human review and approval. Use this step when the workflow produces outputs that require human sign-off before downstream steps execute.
Add a request info step
App
- Open your Gemini Enterprise web app in a browser.
- Navigate to an existing workflow or create a new workflow.
- In the flow builder, click Add step.
- In the Add step panel, click Human in the loop to expand the section.
- Click Request info.
- The request info step appears in your workflow, and its configuration panel opens on the right.
- In the Message field, enter the message to display to the user when the workflow pauses. This message provides context about why input is needed.
- In the Info to request section, configure the questions to ask the user. For each question, do the following:
- Enter the question text in the question field.
- Select the input type from the list (for example, Short answer).
- To add more questions, click Add question.
- To configure additional settings, click More.
Add an approval step
App
- Open your Gemini Enterprise web app in a browser.
- Navigate to an existing workflow or create a new workflow.
- In the flow builder, click Add step.
- In the Add step panel, click Human in the loop to expand the section.
- Click Approval.
- The approval step appears in your workflow, and its configuration panel opens on the right.
- Configure the approval settings, including what information is presented to the reviewer.
When a workflow run reaches a human-in-the-loop step, the run pauses and appears with a Needs Review status in the Runs tab. For more information, see View workflow runs.
What's next
- Learn how to view workflow runs.
- Learn how to use flow control steps.
- Learn how to manage workflow versions.