Hi Guys,
I am trying to build an approval workflow for a Sharepoint item, All is working well except for the email we get from Flow
At the top of the email we can see this code
{ "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "true", "summary": "Microsoft Flow Approval response actionable email card", "themeColor": "0075FF", "sections": [ { "heroImage": { "image": "https://aka.ms/flow-logo" } }, { "startGroup": true, "title": "**Pending approval**", "activityImage": "cid:thumbnail-image", "activityTitle": "Requested by **Ronan Monaghan**", "activitySubtitle": "Ronan.Monaghan@balcas.com", "facts": [ { "name": "Date submitted:", "value": "2017-08-04T12:37:59.9519177Z" }, { "name": "Details:", "value": "Please approve this document" }, { "name": "Link:", "value": "[https://balcastimber.sharepoint.com/sites/i_m_s/IMS/I.T Folder/The Ten Commandments of Information Security.docx?d=w1bed0a24b8cb48be95b9244057bb6a6f](https://balcastimber.sharepoint.com/sites/i_m_s/IMS/I.T Folder/The Ten Commandments of Information Security.docx?d=w1bed0a24b8cb48be95b9244057bb6a6f)" } ] }, { "potentialAction": [ { "@type": "ActionCard", "name": "Approve", "inputs": [ { "@type": "TextInput", "id": "comment", "isMultiline": true, "title": "Reason (optional)" } ], "actions": [ { "@type": "HttpPOST", "name": "Submit", "target": "https://api.flow.microsoft.com:11777/callbacks/actionableEmail/environments/Default-201a94ca-a5c4-48a3-9181-b3c6d32ca499/approvals/39ce2e90-722b-4534-9e22-6861e7643760/approvalResponses", "bodyContentType": "application/json", "body": "{\"properties\":{\"response\":\"approve\",\"comments\": \"{{comment.value}}\" }}" } ] }, { "@type": "ActionCard", "name": "Reject", "inputs": [ { "@type": "TextInput", "id": "comment", "isMultiline": true, "title": "Reason (optional)" } ], "actions": [ { "@type": "HttpPOST", "name": "Submit", "target": "https://api.flow.microsoft.com:11777/callbacks/actionableEmail/environments/Default-201a94ca-a5c4-48a3-9181-b3c6d32ca499/approvals/39ce2e90-722b-4534-9e22-6861e7643760/approvalResponses", "bodyContentType": "application/json", "body": "{\"properties\":{\"response\":\"reject\",\"comments\": \"{{comment.value}}\" }}" } ] } ] }, { "startGroup": true, "activitySubtitle": "Get the Flow app to receive push notifications and grant approvals from anywhere. [Learn more](https://aka.ms/flowmobileportaldiscoverability)\n\nThis message was created by an automated workflow in Microsoft Flow. Do not reply. Microsoft Corporation 2017." } ] }
Underneath this is what we would expext and the apporval process itself works great.
Any help you could give me would be much appreciated.
Ronan

Report
All responses (
Answers (