Send Adaptive Cards to Microsoft Teams | Day 112
Send an Adaptive Card to Microsoft Teams with Power Automate, collect a response and process a practical employee request.
- Published
- Reading time
- 7 min read
Quick answer
Build an Adaptive Card, use the Microsoft Teams connector in a Power Automate flow to post it and wait for a response, then validate and process the response.

Week 16 · Day 112 of 365 in 365 Days of Copilot Studio — view the full series
Before you start
Is this guide for you?
- Best entry point
- 365 Days of Copilot Studio
- Time investment
- 7 min read
- Prerequisite knowledge
- Access to Power Automate, a Microsoft Teams connection and permission to send a card to the chosen recipient or channel.
What you’ll learn
- Adaptive Cards can combine information, inputs and buttons in a Teams message.
- Power Automate can post a card and wait for a response.
- A response is only an input: check the responder and update the request before reporting a decision.
- Test the card, permissions and timeout handling before use.
Before you start
- Prerequisite knowledge
- Access to Power Automate, a Microsoft Teams connection and permission to send a card to the chosen recipient or channel.
On this page (13 sections)
Day 112 of 365 Days of Copilot Studio moves from a simple Teams message to an interactive Adaptive Card. With Power Automate, you can show request details, collect a response and continue a business process.
What is an Adaptive Card?
An Adaptive Card is a small interface described in JSON. It can contain text, images, input fields and buttons. Teams displays the card so a user can read the information and respond in the conversation.
A plain message might say, “A leave request was submitted.” A card can show the employee, leave type and duration, provide a comments field and offer Approve and Reject buttons. The card collects the decision; the flow still needs to process it.
When should you use a card?
Use a card when the recipient needs enough information to make a simple choice or provide a short response. Examples include confirming a service request, providing feedback on an incident or reviewing a leave request. A concise message may be enough when no response is needed.
For complicated decisions, use the card to summarize the request and link to the full application. A card can make the first step convenient, while the application can provide the history, policy details and access controls needed for the decision.
Example: an employee leave request
- Alex submits a request for two days of annual leave.
- A Power Automate flow receives the request and posts a card to the intended manager in Teams.
- The manager reviews the details, optionally adds a comment and selects Approve or Reject.
- The flow receives the response, verifies that the responder is authorized and updates the request record.
- The requester is notified only after the record update succeeds.
For a real approval, define who can decide, retain the decision and handle already-processed requests. A button labeled “Approve” alone does not establish an approval process.
What you need
- Choose a trigger, such as a newly created request in your data source, and make sure the request has a unique ID.
- Have a Microsoft Teams connection with access to the intended recipient or channel. Check your organization's Teams and Workflows app policies.
- Identify the authorized approver and decide what information is appropriate to share in the destination.
- Choose where the decision and comments will be stored, and plan what happens if no one responds.
Step 1: Create a flow
- In Power Automate, create a cloud flow and select the trigger that matches your process. For a first test, you can use a manual trigger with sample request details.
- Add the Microsoft Teams connector action Post adaptive card and wait for a response.
- Configure the connection and choose the available posting identity and destination. For example, select the Flow bot and an appropriate chat with the intended manager.
- Specify the recipient or team and channel, as required by the selected destination. Paste your card JSON into the message field.
The action pauses until a response is received or the wait ends. The Microsoft Teams connector reference describes supported actions and limitations. For a channel, the action can receive a response from a channel user; don't assume that the intended manager will be the person who responds.
Step 2: Design the card
Use the Adaptive Cards Designer to create and preview a card. Start with a short title, request details, an optional comments field and two submit buttons. Copy the JSON into the Teams action and use a card version and elements supported by your Teams scenario.
Give each input a clear identifier, such as comments. Give each submit button a distinct value, such as approve or reject, so the flow can tell which button was selected. Insert dynamic request details using the flow designer and ensure the resulting card remains valid JSON.
Try a simple card
The following example uses fixed sample data so you can test the basic interaction first. Paste it into the Teams action's message field, send it to a test recipient and check the action's output after selecting a button.
{
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{ "type": "TextBlock", "text": "Leave request", "weight": "Bolder", "size": "Medium", "wrap": true },
{ "type": "TextBlock", "text": "Alex requested 2 days of annual leave.", "wrap": true },
{ "type": "Input.Text", "id": "comments", "placeholder": "Comments (optional)", "isMultiline": true }
],
"actions": [
{ "type": "Action.Submit", "title": "Approve", "data": { "decision": "approve" } },
{ "type": "Action.Submit", "title": "Reject", "data": { "decision": "reject" } }
]
}
In this example, comments identifies the text box and decision identifies the selected action. The exact output structure depends on the connector action, so inspect a test run before building your condition. Once the basic card works, replace the sample details with data from the request and test that the generated JSON is valid, including when values contain quotation marks or line breaks.
Chat or channel: which should you choose?
A chat with the intended manager is a useful starting point for a request that contains employee information. Confirm that the recipient is correct and has the necessary access. A channel can be useful for a shared team task, but the card and its contents are visible to the channel audience, and the wait action can accept a response from a channel user.
In either destination, check the identity returned by the action against your authorized approver before changing the record. If several people must approve, design that process explicitly; a single response to one card does not prove that every required approver has agreed.
Step 3: Handle the response
- After the card action, inspect its response outputs and use a condition to distinguish the submitted decisions.
- Validate the decision, request ID and responder against the request and your authorization rules. Treat the submitted data as input that needs checking.
- If the response is valid and the request is still awaiting a decision, update the record with the outcome, responder and any allowed comments.
- Notify the requester after the update succeeds. Handle failed updates and other errors without claiming the request was approved.
Check the action's run history to see the actual response fields available in your flow. Configure a timeout and an appropriate follow-up for requests that remain unanswered. Consider duplicate or late responses and avoid applying the same decision twice.
Make the outcome clear to everyone
After a valid decision, update the original request first. Then send a short confirmation to the requester, such as “Your leave request was approved,” or “Your leave request was rejected; please review the comments in the request.” If the record update fails, keep the request pending and route the error for review instead of sending a success message.
Keep the card focused on one decision. Use clear button labels and explain what happens after submission. If a comment is required for rejection, add validation in the process and test that rule; do not assume a button label enforces it.
Using cards with a Copilot Studio agent
An agent can help collect request details or start a process, while a separate flow handles a manager's response. A standard real-time agent flow must respond within 100 seconds, so a flow that waits for a person may exceed that limit. Some environments support asynchronous agent responses; check Microsoft's asynchronous flow guidance and the channels it supports before choosing that design. Tell the user when a request has been submitted, and report an approval only after the decision has been processed.
Test and troubleshoot
- The card does not appear: Check the flow run, Teams connection, destination and applicable policies.
- The card fails to render: Validate its JSON, check that the card version and elements are supported, and test with a simple card first.
- The flow receives an unexpected response: Inspect the action outputs and verify the input IDs and button values used by your conditions.
- The wrong person responds: Review your destination and authorization checks. A channel card can be answered by a channel user.
- The request remains pending: Check whether the flow is still waiting, timed out or failed to update the record.
Testing checklist
- Send the card to a test recipient and verify that the title, request details and buttons are readable.
- Test both Approve and Reject, with and without comments, and check the flow's response outputs.
- Confirm that an unauthorized responder cannot cause a request update and that sensitive details are visible only to the intended audience.
- Test an already-processed request, an unanswered card and a failed record update. Check that each outcome is handled correctly.
- Review the experience in Teams on desktop and mobile before using it for real requests.
Test on desktop and mobile, keep the card readable, and use only the information needed for the decision. The same pattern can support service requests, feedback and status updates when the destination and permissions are appropriate.
Tagged
AI Agents · Automation · Governance
Frequently asked questions
What is an Adaptive Card?
It is a JSON-defined interface that can display information and, when supported by the host and action, collect input through fields and buttons.
Does clicking Approve automatically update the request?
No. The flow must receive and validate the response, check authorization and update the request record.
Who can respond to a card in a Teams channel?
The wait-for-response action can accept a response from a user in the channel. Choose the destination carefully and verify the responder before applying an approval.
Can an agent wait for a manager to respond?
A standard real-time agent flow has a 100-second response limit. Design long waits separately or check whether asynchronous agent responses are supported in your environment.
Have a Microsoft 365 topic idea?
Share article suggestions, community session ideas, corrections, or real-world scenarios for future nextM365 learning notes.
Keep learning Microsoft 365
Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.
Continue learning
Related tutorials
Related questions
Related comparisons
Next action