Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Agent workflows

Route high-risk expenses for manager approval

Process expense events; let rules handle low-value claims and pause high-risk claims for a manager decision.

Goal

Process expense events; let rules handle low-value claims and pause high-risk claims for a manager decision.

Steps

  1. Publish a synthetic expense event and route low/high values with deterministic rules. [source-google-route-expense-for-manager-approval]
  2. Pause high-risk cases at RequestInput and show the risk rationale and source fields. [source-google-route-expense-for-manager-approval]
  3. Verify approve/reject test paths; production payment needs separate authorization. [source-google-route-expense-for-manager-approval]

How to verify

Replay one low-value and one over-threshold expense; verify the route, event ID, and manager input on the paused case.

Troubleshooting

If a high-value claim does not pause, check the rule node’s currency and threshold; deduplicate repeated approval events by event ID before replaying.

Permissions

Prerequisites

Permissions

Limitations

Run the source on isolated test data, then check outputs and dependency versions before adapting it.

Pinned upstream source

https://github.com/google/adk-samples/blob/9252494a7aaafca8fe4d81a04f15392345a5779b/core/python/ambient-expense-agent/README.md

Repository
google/adk-samples
File path
core/python/ambient-expense-agent/README.md
Pinned commit
9252494a7aaafca8fe4d81a04f15392345a5779b
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: Apache-2.0

Main topic

Turn ecommerce campaign materials into a reviewable weekly brief

Related resources