cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
daroot
Level 8

Building a flow using MessageCard

Hi All,

 

I tried to update a sharepoint list using the Microsoft Flow within the MessageCard Playgorund template (https://messagecardplayground.azurewebsites.net/). On the JSON parsing has the value:

 

"potentialAction": [
                {
                    "@type": "ActionCard",
                    "name": "Approve",
                    "inputs": [
                        {
                            "@type": "TextInput",
                            "id": "comment",
                            "isMultiline": true,
                            "title": "Reason (optional)"
                        }
                    ],
                    "actions": [
                        {
                            "@type": "HttpPOST",
                            "name": "Submit",
                            "target": "http://..."
                        }
                    ]
                },

How to integrate this to update my SP List for example if clicked Approve on the email will update the Value in my SPList Status column name to Approved. Where do i find the target sample url or documentation for this?

 

Thanks,

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Building a flow using MessageCard

Hi @daroot,

 

Do you want to update SharePoint list item with the selection from the email?

Please try to use the SharePoint action Update item. Please check more details about this action at here:

https://docs.microsoft.com/en-us/connectors/sharepointonline/

Besides, you could also try the action Send an HTTP request to SharePoint, here are some blogs for your reference:

https://techcommunity.microsoft.com/t5/SharePoint/Do-more-with-Flow-Send-an-HTTP-Request-to-SharePoi...

https://www.chakkaradeep.com/2018/05/16/working-with-the-sharepoint-send-http-request-flow-action/

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,126)