You can trigger a Power Automate flow using a REST API. This can be done by creating an HTTP-triggered flow in Power Automate.
- Go to Power Automate and create a new flow.
- Choose "Instant cloud flow" and select "When an HTTP request is received" as the trigger.
- This will generate a URL that you can use to trigger the flow via a REST API call.
Dynamically setting the layout of adaptive card via Graph API using Power Automate doesn't seem to be feasible.
To capture the user's response when they interact with an Adaptive Card in Power Automate, you can use the "Wait for a response" action. This action allows you to pause the flow until the user submits their response. For more details refer below documentation: https://learn.microsoft.com/en-us/power-automate/create-adaptive-cards
Ref: https://pnp.github.io/blog/post/dynamic-use-of-adaptive-cards/
Thanks,
Prasad Das
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.