Hi,
I’m working on a flow using the DocuSign: When an envelope status changes (Connect) trigger. My goal is to file a completed document on SharePoint, after pulling the custom fields in the envelope and assigning them as metadata fields. I’ve unit tested all parts of the flow, except I’m unable to recognize custom fields. I’m following the provided example (page 4).
Here's what my flow looks like:
My Docusign Template has multiple custom fields, but they are not being returned when the flow triggers:

Oddly enough, the custom fields are showing up in the trigger output for RecipientStatus > "TabStatuses":
"TabStatuses": {
"TabStatus": [
{
"TabType": "FullName",
"Status": "Signed",
"XPosition": "144",
"YPosition": "1192",
"TabLabel": "Name bcd3ee67-8ff1-47b6-9b09-26e4cd59bbe1",
"TabName": "FullName",
"TabValue": "test",
"DocumentID": "1",
"PageNumber": "2"
},
{
"TabType": "Title",
"Status": "Signed",
"XPosition": "144",
"YPosition": "1275",
"TabLabel": "Title 184a7b62-ebdf-4ff2-bcbd-510331c6f5de",
"TabName": null,
"TabValue": "test",
"DocumentID": "1",
"PageNumber": "2"
},
{
"TabType": "Custom",
"Status": "Signed",
"XPosition": "146",
"YPosition": "1533",
"TabLabel": "NDAType",
"TabName": "MNDA;UNDA",
"TabValue": "MNDA",
"DocumentID": "1",
"PageNumber": "2",
"OriginalValue": "MNDA",
"ListValues": "MNDA;UNDA",
"ListSelectedValue": "MNDA",
"CustomTabType": "List"
}, I was able to pull the fields from RecipientStatus using something like:
triggerBody()?['DocuSignEnvelopeInformation']?['EnvelopeStatus']?['RecipientStatuses']?['RecipientStatus'][0]['status']
The issue is that the trigger fires every time an envelope is completed, and the arrays aren't always in the same order and I'd need to implement some extensive error checking or lookup, which isn't easy to do in Flow...
Has anyone successfully used the custom fields functionality of this trigger before? If I could pull the fields in the way shown by the docusign example (linked above), this flow would be way more reliable.
Thanks!