We’re trying to trigger a workflow using the Maestro API in our app. We’re following the documentation on DocuSign website.
We started with the documentation on How to trigger a Maestro workflow. Here, we:
- Are able to the authentication token
- Are able to construct your API headers
The problem starts with step 3 onwards. We couldn’t retrieve the triggerURL using the server code, however we can get the workflow definitions using the getWorkflowDefinitions API reference.
Then we tried to trigger the workflow using the triggerWorkflow API reference, and we ran into errors. We used the following payload:
{
"instanceName": "New Docusign Instance",
"payload": {
"abcEmail": "abc@example.com",
"abcName": "ABC",
"xyzEmail": "xyz@example.com",
"xyzName": "XYZ",
"xyzCode": "IN11"
}
}
Please let me know of any extra details you require