MSBA-249 · Lesson 7 of 12 · 21 min
Connector and flow questions
▶ Video coming soon A video version of this lesson is on the way.
On Friday, November 13, the session was about the part of the exam Bram expected to be most technical. "Half of domain 1 is planning," he said. "The other half is configuration, and most of that is workflows. Workflows are where connectors, credentials, approvals, errors and billing all meet." He drew Quillfield's Policy Change Request workflow on the whiteboard from memory: the trigger when the agent calls it, the early response with the change request number, the approval that goes to whichever underwriter responds first, the note written to BrokerDesk whatever happens. Then he rubbed out one box at a time and asked what would break.
This lesson reviews the workflow objective group of domain 1, create and configure workflows, together with the connector questions that cut across domains 1 and 2. In the December 18, 2026 outline the group's six bullets are create a workflow, create a human-in-the-loop workflow, configure actions and connectors, monitor workflow runs, add input and output parameters, and implement error handling in workflows. The earlier outline called the same area "create and monitor agent flows", and the change log marks the renaming as a major change. MSBA-241's lessons on agent flows, Power Platform connectors and custom connectors are the detail behind this review.
Workflows, agent flows and cloud flows
The vocabulary moved in 2026 and the exam follows the new wording. A cloud flow is a Power Automate flow. An agent flow was Copilot Studio's name for a flow built to be called by an agent, billed through Copilot Studio capacity. In the new agent experience, Microsoft calls these workflows, and the December outline uses that word. When you read "workflow" in a question, think of a sequence of actions the agent calls, with a trigger, steps, inputs and outputs.
| Term | Where it lives | Billing in late 2026 |
|---|---|---|
| Cloud flow | Power Automate | Power Automate licences |
| Agent flow | Copilot Studio, in the classic experience | Copilot Studio capacity, about 13 credits per 100 actions |
| Workflow | Copilot Studio, in the new agent experience and the December 2026 outline | Copilot Studio capacity |
MSBA-241 noted that a cloud flow can be converted to an agent flow inside a solution, and that the conversion is one way; it was not a route into the new workflows. A question that asks how to reuse an existing Power Automate flow from an agent can have more than one correct path depending on billing and ownership, so read the qualifier.
Building a workflow the agent can call
A workflow called by an agent starts with a trigger that receives the call, takes input parameters from the agent, runs actions and returns output parameters. The descriptions of the workflow and of each parameter matter, because the orchestrator uses them to decide when to call the workflow and what to pass. A parameter called "x" with no description is a common cause of an agent that never fills it correctly.
Responding early. A workflow can return its outputs to the agent before it finishes. Quillfield's change request workflow returned the change request number straight away so the agent could tell the broker, then carried on waiting for the underwriter. Use this pattern when a step, especially an approval, may take hours; the agent cannot keep the user waiting that long.
Human in the loop. A human-in-the-loop workflow pauses for a person. The classic way is an approval action that sends a request to one or more approvers and waits for a response, with options such as first to respond or everyone must approve. Copilot Studio's newer experience also added ways for a workflow to ask a person for input in the middle of a run. On the exam, a human-in-the-loop workflow is the answer whenever a scenario says a person must approve, review or supply information before an action completes.
Actions and connectors. Each action uses a connector and a connection. In a solution the connection is represented by a connection reference, so the workflow can use a different connection in each environment. Connectors are standard or premium, which affects licensing, and every connector is classified by the environment's data policy as business, non-business or blocked. A workflow cannot combine business and non-business connectors, and a blocked connector cannot be used at all. Many connector questions are really data policy questions.
Error handling. Power Automate actions run one after another, and each action can be configured to run after the previous one succeeds, fails, is skipped or times out. Grouping steps in a scope and adding a step that runs after the scope fails gives a try and catch pattern: if anything inside goes wrong, the catch branch logs the error, notifies someone or returns a clear message to the agent. Quillfield's rule that a BrokerDesk note is always written used exactly this pattern. Retry policies on individual actions handle brief failures such as a timeout.
Monitoring runs. Every run of a workflow is recorded with its inputs, outputs, each action's status and its duration. In late 2026 Copilot Studio showed runs for agents on an activity page and workflow run history in the workflow's details. A scenario that asks how to find out why an approval never arrived points to the run history of that workflow, not to the agent's analytics.
| Symptom | First place to look | Likely fix |
|---|---|---|
| The agent never calls the workflow | The workflow and parameter descriptions; the agent instructions | Clear descriptions; name the workflow in instructions |
| The workflow fails in test but worked in development | Connection references and environment variables | Set the test connection and values in the pipeline |
| The user waits too long for a reply | Where the workflow returns its outputs | Respond to the agent before the slow step |
| A failure leaves no record | The configure run after settings | Add a scope and a catch branch that logs |
| The maker cannot add a connector | The environment data policy | Ask an admin to classify it, or use an allowed connector |
Connectors as tools without a workflow
Not everything needs a workflow. A single read, such as looking up a policy, can be a connector action added directly to the agent as a tool. The trade-off is control: a direct tool call is simpler and cheaper but cannot wait for approval, retry in a controlled way or guarantee a log entry. Exam questions often contrast the two. If the scenario needs any of those extras, a workflow is the answer; if it needs only one call and the qualifier is least effort, the direct tool usually is.
Custom connectors. When a system has a REST API but no prebuilt connector, a custom connector is built from an OpenAPI definition or by describing the operations. MSBA-241 showed the BrokerDesk connector exposing only three operations; exposing fewer operations is safer and gives the orchestrator fewer choices. Copilot Studio also offered REST API tools directly in preview in 2026, but the safe production answer in a question is still usually a custom connector.
Credentials. Each tool or action runs with either the end user's credentials or credentials the maker provided. For autonomous agents and event triggers, MSBA-241 noted that triggers ran with the maker's credentials, which is why Quillfield's certificates-mailbox agent used a dedicated service identity. Questions that mention a trigger, a mailbox or a schedule should make you think about whose identity the workflow runs as.
Billing in connector and flow questions
Billing appears inside scenarios as a qualifier such as "minimize credit consumption". The rates verified in MSBA-240 for late 2026 were 1 credit for a classic answer, 2 for a generative answer, 5 for an agent action, 10 for tenant graph grounding and 13 credits per 100 workflow actions. Test runs were free. Autonomous runs and event-triggered runs were billed even for users with a Microsoft 365 Copilot licence.
Worked problem
Estimating a workflow's monthly credits
A workflow runs about 900 times a month and each run executes 20 actions. Agent flow actions cost 13 credits per 100 actions. About how many credits does the workflow use in a month, before any agent action charges?
Show solution
- Actions per month: 900 runs times 20 actions is 18,000 actions.
- Hundreds of actions: 18,000 divided by 100 is 180.
- Credits: 180 times 13 is 2,340 credits.
Answer: About 2,340 credits a month for the workflow actions. Each time the agent calls it, the agent action is charged as well.
Parameters in practice
Many workflow questions turn on input and output parameters, because they are where the agent and the workflow meet. A parameter needs a clear name, a type and a description that tells the orchestrator what to pass. Outputs need the same care, because the agent uses them to answer the user.
| Parameter detail | Good practice | What goes wrong without it |
|---|---|---|
| Name | A plain name such as policy number | The orchestrator guesses what x or input1 means |
| Type | Text, number, yes or no, date, as the action needs | A date passed as free text fails a later step |
| Description | What it is, its format and an example | The agent asks the user oddly or fills it wrongly |
| Required or optional | Required only when the workflow cannot run without it | The agent asks for things the workflow does not need |
| Output description | What the value means and when it is empty | The agent tells the user something misleading |
A second example: an event-triggered workflow
Not every workflow is called from a conversation. Quillfield's certificates-mailbox agent, from MSBA-241, ran when an email arrived in a shared mailbox. Questions about this kind of workflow test three things at once: identity, billing and error handling.
Worked problem
Reviewing a triggered workflow
An agent runs when a certificate request arrives in a shared mailbox. It reads the request, looks up the policy and replies with a certificate. About 600 requests arrive each month, and each run executes 12 workflow actions. What should a reviewer check, and roughly how many credits do the workflow actions use?
Show solution
- Identity: the trigger runs with the maker's or a service identity, not the sender's, so check that the identity has only the access the job needs.
- Errors: a malformed request must not leave the sender waiting; check for a scope with a catch branch that replies or flags the message.
- Billing: triggered runs are billed. 600 runs times 12 actions is 7,200 actions, which is 72 hundreds.
- 72 times 13 is 936 credits for the workflow actions, plus the charges for each agent action.
Answer: Check the run identity and error handling, and plan for roughly 936 credits a month for workflow actions alone.
The lesson of the example is that triggered workflows hide their costs and their identity. Nobody is in a chat to notice that something went wrong, and nobody sees the credits being used. That is why questions about them often ask about monitoring: the run history of the workflow, and capacity reports in the Power Platform admin center.
A final point on workflows: the classic and new agent experiences ran side by side through 2026, so existing agents in your organization may use agent flows while new ones use workflows. On the exam, use the December outline wording. In your own work, check which experience an agent was built in before you change its automation, because the editing screens and some options differ between them.
Common mistakes
MistakeCalling an approval directly from the agent and making the user wait.
InsteadRespond to the agent early, then let the workflow wait for the approval.
MistakeLeaving workflow and parameter descriptions empty.
InsteadDescribe the workflow and each input and output clearly; the orchestrator relies on them.
MistakeHard-coding connections in a workflow that moves between environments.
InsteadUse connection references in the solution.
MistakeAssuming a workflow guarantees a log entry by default.
InsteadAdd a scope and a catch branch that runs after failure.
MistakeForgetting that triggered and autonomous runs consume credits.
InsteadInclude every run and action in capacity estimates.
Summary and key terms
- The December 2026 outline calls agent flows workflows; the group is create and configure workflows, in domain 1.
- Workflows take input parameters, run actions and return outputs; descriptions guide the orchestrator.
- Respond early when a step is slow; use a human-in-the-loop step when a person must approve or supply information.
- Connections become connection references in solutions; data policies classify connectors as business, non-business or blocked.
- Scopes with run-after settings give try and catch error handling; run history shows what happened.
- Workflow actions were billed at about 13 credits per 100 actions in late 2026; triggered and autonomous runs were charged.
- Workflow
- A sequence of actions an agent calls, called an agent flow in the earlier outline.
- Input parameter
- A value the agent passes into a workflow.
- Output parameter
- A value the workflow returns to the agent.
- Human in the loop
- A step where the workflow waits for a person to approve or supply information.
- Connection reference
- A solution component that points to a connection, so each environment can use its own.
- Run after
- The setting that controls whether an action runs after the previous one succeeded, failed, was skipped or timed out.
Practice problems
Work each problem on paper first, then reveal the answer to check.
What are the six bullets in the workflow objective group?
Show answer
Create a workflow, create a human-in-the-loop workflow, configure actions and connectors, monitor workflow runs, add input and output parameters, implement error handling.
How do you make sure a note is written even if a workflow step fails?
Show answer
Put the steps in a scope and add a step that runs after the scope fails to write the note.
Why respond to the agent early in a workflow with an approval?
Show answer
So the user is not kept waiting while the approval takes hours.
A maker cannot add a connector to a workflow. What should you check first?
Show answer
The environment's data policy classification for that connector.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.