web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Passing Data between F...
Power Automate
Answered

Passing Data between Forms, Adaptive Cards and Dynamics in Flow

(0) ShareShare
ReportReport
Posted on by 11

Hi,

 

I though I'd start off describing how the flow is suppoed to work. We have a for that we send to new customers, and sometimes existing customers, I want to use a flow that is triggered by a new form response, flow checks Dynamics for existing records (Contact) using Email addresses. If the Contact exists, flow will post an adaptive card to a channel and wait for a response. When the adaptive card is Submitted, then Dynamics objects will be updated or updated depending on what the user chooses.

 

The issue:

When I add dynamics data from forms or dynamics to show data that has been inputted, the option to use dynamic content from the adaptive card goes away. I've seen post of other people doing this, so what am I doing wrong?

 

Adaptive card:

 

 

 

 

 

 

 "type": "AdaptiveCard",
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.2",
 "body": [
 {
 "type": "TextBlock",
 "text": "Contact Does Not Exist in Dynamics",
 "size": "ExtraLarge",
 "color": "Accent",
 "weight": "Bolder",
 "wrap": true
 },
 {
 "type": "TextBlock",
 "text": "Name:",
 "size": "Large",
 "color": "Accent"
 },
 {
 "type": "TextBlock",
 "text": "",
 "id": "correctName"
 },
 {
 "type": "Input.Text",
 "placeholder": "Name",
 "id": "createName"
 },
 {
 "type": "TextBlock",
 "text": "Title:",
 "size": "Large",
 "color": "Accent"
 },
 {
 "type": "TextBlock",
 "text": "x",
 "id": "correctTitle"
 },
 {
 "type": "Input.Text",
 "placeholder": "Job Title",
 "id": "createTitle"
 },
 {
 "type": "TextBlock",
 "size": "Large",
 "color": "Accent",
 "text": "Role:"
 },
 {
 "type": "TextBlock",
 "text": "x",
 "id": "correctRole"
 },
 {
 "type": "TextBlock",
 "text": "Emial Address:",
 "size": "Large",
 "color": "Accent"
 },
 {
 "type": "TextBlock",
 "text": "x",
 "id": "correctEmail"
 },
 {
 "type": "Input.Text",
 "placeholder": "Email Address",
 "id": "createEmail"
 },
 {
 "type": "TextBlock",
 "text": "Business Phone:",
 "size": "Large",
 "color": "Accent"
 },
 {
 "type": "TextBlock",
 "text": "x",
 "id": "correctBusinessPhone"
 },
 {
 "type": "Input.Text",
 "placeholder": "Business Phone",
 "id": "createBusinessPhone"
 },
 {
 "type": "TextBlock",
 "text": "Mobile Phone:",
 "size": "Large",
 "color": "Accent"
 },
 {
 "type": "TextBlock",
 "text": "x",
 "id": "correctMobile"
 },
 {
 "type": "Input.Text",
 "placeholder": "Mobile Phone",
 "id": "createMobilePhone"
 }
 ],
 "actions": [
 {
 "type": "Action.Submit",
 "title": "Submit"
 }
 ]
}

 

 

 

 

 

 

@Anonymous @Adaptivecards 

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @samhef,

     

    Do you mean these dynamic content as below are not appear?

    If so, you could add a Compose action to accept these dynamic content.

    If not, could you please share the tutorial you learned, and give us more details about your situation?
    Annotation 2020-07-03 143030.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • samhef Profile Picture
    11 on at

    Hi @v-litu-msft

    Yes that's correct, but only when i try to do this for example:

     "type": "TextBlock",
     "text": "Name:",
     "size": "Large",
     "color": "Accent"
     },
     {
     "type": "TextBlock",
     "text": "@{body('Get_response_details')?['rf664737307d2488d7f15235fc9a']} @{body('Get_response_details')?['r09c532c99fcdc89e3158ca51f2c0']}",
     "id": "correctName"
     },

    I'm trying to add dynamics content from the form into the adaptive card, then when a user has submitted the adaptive card I want to save that new dynamics content to Dynamics.

     

    So if I remove the dynamics content I added to the Adaptive Card then I can see the Adaptive card dynamic content.

     

    Thanks,

    Sam

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @samhef,

     

    It seems like a bug that if add dynamic content into the adaptive card, these dynamic content get from Post an adaptive card action will disappear.

    As a workaround, you could remove these dynamic content temporarily, after appending them into the next action, add these dynamic content back.

    Or you could use Parse JSON to parsing the output of Post an adaptive card action, for example:

    Annotation 2020-07-07 174327.jpg

    Here is a blog about how to handing JSON in MS Flow:

    https://spmaestro.com/handling-json-in-microsoft-flow/

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard