The execute-approval-flow action in Myndbend™ Process Manager enables you to start and automate the execution of a defined approval flow. Once triggered, the flow will progress through each stage, from adding approvers to performing the specified actions, whether the flow is approved or denied.
How do I use this action?
Create a Zendesk trigger with conditions that match the moment when you want to start the approval flow.
Then set the action in MPM. For the action, select Notify Webhook - MPM Webhook. You will be presented with the option to paste in the message that will be sent to our servers.
The message for this action is:
{
"action": "execute-approval-flow",
"data": {
"id": [...]
}
}
Where can I find the ID of the groups I want to add?
Navigate toMyndbend Process Manager™ app in the left navigation bar / menu, and click on the Approval Flows tab. Next to each of the approval flow in the list, you'll see the corresponding ID:
How to provide the ID of the flows I want to start?
Action execute-approval-flow expects the flow IDs to be listed in an array, in the format of [FLOW_ID, FLOW_ID, FLOW_ID-ID]
Example:
{
"action": "execute-approval-flow",
"data": {
"id": [1,2,3]
}
}