A retailer wants a returns conversation in CX Agent Studio that always collects the order number, checks eligibility, then refunds or hands off. How do you structure it?
- Exam domain
- Building agents using low-code tools~13% of the exam
- Difficulty
- Medium
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Configuring agentic workflows and behavior using low-code tools.
Objective in the exam guide: Configuring state-based workflows (pages, transition routes, and event handlers) using Gemini Enterprise tools (e.g., Gemini Enterprise Workflow Builder and Customer Experience Agent Studio [CX Agent Studio]).
A conversation that must follow fixed business steps is the main reason to use a state-based flow instead of a free chat agent.
Why D is the answer
Pages joined by transition routes, with event handlers for unexpected input
Pages hold each step's state, transition routes move the conversation forward on intents or conditions, and event handlers deal with input that matches nothing. That gives a fixed path the model cannot skip.
Remember: Fixed conversation paths belong in pages and routes.
How it works
In CX Agent Studio a flow is a set of pages. Each page is one state of the conversation, such as collecting an order number.
Transition routes move the conversation to the next page when an intent or condition matches. Event handlers deal with things that happen outside the happy path, such as input that matches nothing.
Clues in the question
The words that point to the answer, and what each one tells you.
- always collects ... then
- A fixed order of steps, so states and transitions.
- refunds or hands off
- Branches, which routes express.
In detail
- A state-based flow makes the order of steps explicit.
- Routes fire on matched intents or filled parameters, so a step cannot be skipped.
- Event handlers catch no-match and no-input without breaking the flow.
- Keep model freedom for wording, and keep control of the path in the flow.
Side by side with look-alikes
| Approach | Fixed order? | Handles odd input? |
|---|---|---|
| Pages, routes, event handlers | Yes | Yes |
| One long instruction | Not guaranteed | Model decides |
| Free chat agent | No | Model decides |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A Workflow Builder workflow that runs on a weekly scheduleWrong
A scheduled workflow runs tasks, not a live customer conversation.
B. A chat agent with every data source attached and no fixed pathWrong
An open chat agent has no fixed path, which is what this process needs.
C. One long system instruction that lists every step and hopes the model follows itWrongMost tempting
A long instruction does not guarantee order, and the model can skip steps.
Why it tempts: Instructions guide a model but do not guarantee order. Pages and routes do.
D. Pages joined by transition routes, with event handlers for unexpected inputRight
Fixed conversation paths belong in pages and routes.
In practice
- Keep one page per piece of information you must collect, so failures point to one place.
Use case
An illustrative scenario, not a real incident.
Illustrative: a shop's returns agent asks for the order number on one page, checks the return window on the next, and routes ineligible orders to a person.
See it in different ways
stateDiagram-v2 state "Start page" as s0 state "Collect order" as s1 state "Check eligibility" as s2 state "Refund page" as s3 state "Hand off to agent" as s4 [*] --> s0 s0 --> s1: intent matched s1 --> s2: order number filled s1 --> s1: no-match event, reprompt s2 --> s3: eligible s2 --> s4: not eligible s3 --> [*] s4 --> [*]
How to read this chart
- It starts at "Start page".
- From "Start page", "intent matched" moves it to "Collect order".
- From "Collect order", "order number filled" moves it to "Check eligibility".
- From "Collect order", "no-match event, reprompt" moves it to "Collect order".
- From "Check eligibility", "eligible" moves it to "Refund page".
- From "Check eligibility", "not eligible" moves it to "Hand off to agent".
- It ends at "Refund page" or "Hand off to agent".
flowchart LR S0["Collect order number"] --> S1["Check eligibility"] --> S2["Refund or hand off"]
How to read this chart
- Read it in order: Collect order number, then Check eligibility, then Refund or hand off.