UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents user guide

Recipe: build a flow in Maestro

Build and publish a flow in Maestro that routes an invoice for approval.

Build a flow in Maestro that extracts an invoice, routes it for approval, and posts the approved result.

Prerequisites​

Route an invoice for approval​

  1. Open your coding agent in the folder.

  2. Describe the process:

    "Build a flow in Maestro that extracts the total and vendor from an incoming invoice, routes it to a manager to approve or reject with a reason, and posts approved invoices to our finance system."

  3. Review the nodes, the approval branching, and the human approval step.

  4. Ask the agent to validate the flow and explain any node it could not wire.

  5. Ask the agent to publish the flow to Studio Web.

  6. Refine, for example add a branch for rejected invoices.

Evaluate the flow​

Before you run the flow against real systems, ask the agent to create an evaluation set with sample invoices and expected outcomes, and to simulate every step that sends or posts data. An approval step can still create a real Action Center task, so assign approvals to test users. Check that only approved invoices reach posting.

An evaluation run uploads the solution and overwrites the matching Studio Web solution; the CLI doesn't prompt. To skip the upload, have the agent pass both --solution-id and --project-id for an existing Studio Web solution. See Flows in Maestro.

  • Prerequisites​
  • Route an invoice for approval​
  • Evaluate the flow​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated