Adaptive Cards- Get Input from Card into another flow
I've created an Adaptive Card that is for Record Updates and should be sent to our Records Department. It was fairly easy using the designer, it wrote most of the json for me.
Now I need to know how to get the outputs from the card into another flow when they click Submit. I want to show their updates along with what is currently on the record. I setup my Part 2 flow to be triggered when a HTTP request is received. How do I get the fields into this other flow or connect them?
I found this Action.WebRequest on the Blackbaud site:
{
"type": "Action.Webrequest",
"title": "Mark as deceased",
"url": "https://someWebServiceUrl...",
"data": {
"extraData": "foo"
}
}
I tried putting my url from the HTTP request received but it gave me an error of invalid json.
I am trying to avoid saving the output to a Sharepoint list or Teams. I just want to list it out in a table in an email that is sent to Records. The output/answers from the submitter don't need to be saved anywhere.
Thanks,
Carolyn
Comments
-
@Carolyn Grant Let me know if I am understanding this right or just DM me and I can talk through with you.
What you found on the website should go at the end of your Compose JSON action in the first flow that is creating the adaptive card. The one card I have set up, my JOSN does not include the data and extra data pieces you got in the sample. The URL is the URL from the HTTP trigger in flow 2. You will have to update the JSON in the When an HTTP request is received in flow 2. I'll give you a sample from mine as an example. Basically I have added Deadline, Proposal Name, Purpose, Planned or Deferred Gift as those are pieces of data collected from the adaptive card.
I think @Ben Lambert describes this process in this blog post.
{
"type": "object",
"properties": {
"uit": {
"type": "string"
},
"context": {
"type": "object",
"properties": {
"recordId": {
"type": "string"
}
}
},
"data": {
"type": "object",
"properties": {
"Deadline": {
"type": "string"
},
"Proposal Name": {
"type": "string"
},
"Purpose": {
"type": "string"
},
"Planned or Deferred Gift": {
"type": "string"
1 -
Hi @Carolyn Grant,
Dan is correct - the magic trick here is that any of the named fields you define in your adaptive card (meaning, fields you define with an "id" property) will be included in the "data" payload sent to your second Power Automate flow when the webrequest action button is clicked.
1 -
Hi @Carolyn Grant,
Dan is correct - the magic trick here is that any of the named fields you define in your adaptive card (meaning, fields you define with an "id" property) will be included in the "data" payload sent to your second Power Automate flow when the webrequest action button is clicked.
Thank you both!! I missed the second part of Ben's blog.
1 -
Would you be willing to share this project at the user group on 3/21?
0 -
@Heather McLean- 3/21 might be too soon for me to get all of the kinks out. I'm still working on the 2nd part of the flow which is sending the email to Records with the updates and what is existing on the record. I would love to in April?
0 -
@Carolyn Grant - sure you can absolutely punt to April if that's better for you.
0 -
@Carolyn Grant - Are you ready to share this tomorrow at User Group? Would love to see this project!
0 -
@Heather McLean- Yes I can share tomorrow.
1
Categories
- All Categories
- 6 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 33 Blackbaud Impact Edge™
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 375 YourCause® from Blackbaud®
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 31 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 19 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group