cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jsbev
Frequent Visitor

Extract DocuSign Envelope ID

Hi All,

 

I have the below follow which is triggered by DocuSign Connect when a envelope is sent.

Here is the link of blog: 

https://www.docusign.com/blog/developers/expanding-power-automate-series-create-custom-docusign-conn...

 

 

jsbev_1-1669890822520.png

 

 

{
  "event": "envelope-sent",
  "apiVersion": "v2.1",
  "uri": "/restapi/v2.1/accounts/c25b/envelopes/2010a2c0",
  "retryCount": 0,
  "configurationId": 6231,
  "generatedDateTime": "2022-12-01T18:21:19.6140000Z",
  "data": {
    "accountId": "xxxx",
    "userId": "123",
    "envelopeId": "d5a05555"
  }
}

 

 

 

jsbev_0-1669890735827.png

 

I'm able to receive the request in Power Automate but not sure now how to write the expression to get the Envelope ID from the previous step body

 

Appreciate the help please.

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions

Can you try the following instead to see if that resolves the issue?

 

triggerBody()?['data/envelopeId']


----------------------------------------------------------------------

If I've answered your question, please mark the post as Solved.

If you like my response, please consider giving it a Thumbs Up.

View solution in original post

3 REPLIES 3
grantjenkins
Community Champion
Community Champion

Try the following expression:

 

triggerOutputs()?['data/envelopeId']


----------------------------------------------------------------------

If I've answered your question, please mark the post as Solved.

If you like my response, please consider giving it a Thumbs Up.

Hi @grantjenkins

 

I am running as per the steps mentioned above and the expression function given by you, by I am getting the following error.

 

Error:

 
 
WorkflowOperationParametersRuntimeMissingValue. The 'inputs.parameters' of workflow operation 'Get_envelope_documents' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'envelopeId'

 

Please can you help me on that, thanks.

Can you try the following instead to see if that resolves the issue?

 

triggerBody()?['data/envelopeId']


----------------------------------------------------------------------

If I've answered your question, please mark the post as Solved.

If you like my response, please consider giving it a Thumbs Up.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,576)