Flow Document
The last action should be a HTTP response action or a PowerApps Response action with no payload.
Flow Mailmerge
The last action should be a HTTP response action or a PowerApps Response action with a payload.
Note: This functionality is only supported with HTTP response action, because of complex properties.
Message: return only a message that the work is done (available since version 2025.03.24), for example:
{
"message": "All done"
}
or return an error message:
{
"message": "This is not allowed",
"messagetype": "error"
}
Document: return a document, so it will be downloaded automatically by the user, for example:
{
"contenttype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"content": "...base64 string of the docx file...."
}
If returning a zip file, use as contenttype “application/zip”.
If returning an Excel file, use as contenttype “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”.
Navigation: return info to navigate to (available since version 2025.03.24), for example:
{
"navigateTo": {
"input": {
"pageType": "entityrecord",
"entityName": "ctse_document",
"entityId": "3eac5532-19c1-ea11-a812-000d3a4684b2"
},
"options": {
"target": 1
}
}
}
More info about navigateTo: https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-navigation/navigateto
Open url: opens an url in another tab in the webbrowser (available since version 2025.08.29), for example a Sharepoint url:
{
"openUrl": {
"url": "https://contoso.sharepoint.com/sites/CRM/_layouts/15/Doc.aspx?sourcedoc=%7Bfeda8c48-2b75-486e-ac67-955115650e91%7D",
"app": true
}
}
With the (optional) property “app” (true or false) you can force to open it in an Office app like Word instead of the webbrowser.