Use workflows to automate processes

Only applies to: Microsoft Copilot harness

Workflows are designed for business processes that require predictable execution while still benefiting from AI capabilities. A workflow defines the process path in advance and uses AI where judgment, content generation, or information extraction is needed.

For a side-by-side comparison of cloud flows, agent flows, and workflows, and guidance on when to use an agent or a workflow, go to Design AI-powered automations.

Workflow building blocks

A workflow consists of a trigger and one or more actions. These actions can include deterministic processing, AI-powered reasoning, data access, external integrations, and human input.

Each workflow run follows three stages:

  1. An event occurs: An event in a Microsoft or third-party app or service starts the workflow. Examples include a file upload, a Dataverse record update, or a scheduled event.

  2. A payload is sent: The trigger sends the event data as a JSON or plain-text payload.

  3. Actions run: The workflow runs one or more action nodes, each representing a task or step.

The trigger doesn't just start the workflow. It also hands the workflow the data to act on. Downstream nodes use dynamic input from upstream nodes to choose the best path for the case that started the run.

Diagram grouping workflow nodes into triggers, AI nodes, functions, flow control, context and data handling, connectors, human input, and custom logic.

Group What it includes
Triggers Schedule, connector event, HTTP request, manual
AI nodes Classification, inline agents, published agents, Microsoft Copilot
Functions Data operations, time operations, HTTP requests
Flow control If/else conditions, switch, loop, scope, terminate
Context and data handling Variables, dynamic content, Power Fx expressions
Connectors Prebuilt and custom
Human input Human review request, AI human assistance, approvals
Custom logic Adaptive Cards

Tip

Use an inline agent for custom prompt-based behavior. AI prompts aren't available as workflow building blocks.