The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Docusign Integration with Servicenow using REST API

harishdasari
Tera Guru

Hi,

Anyone integrated docusign with servicenow.

I am able to generate OAuth Token, can I know what are steps next steps to send the envelopes to the users and what is the procedure.

Thank you.

1 ACCEPTED SOLUTION

Hi Harish,



So here is my understanding and accordingly the approach:



1) User raises RITM and attaches an attachment i.e. pdf file and submits the request.


2) Approvals etc if any will trigger as per the workflow.


3) Now the pdf file has to be sent to whom for signing. Will there be a variable to hold the signing person i.e recipient for docusign.


a) If yes then you can trigger the docusign code from workflow script and pick that's user's email address and DocuSign will send an email to that user.


In the subject keep the RITM number so that when DocuSign sends completion email it will be present in subject line.


b) If no then you need to check to whom it has to be sent. Will that be a hardcoded value of email address


4) Have an inbound email action on the custom table with type as new.


5) Have workflow to copy the incoming signed document from custom table to the RITM table.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

35 REPLIES 35

Hi Harish,



Thanks for your reply,



The link you provide its giving a UI to authenticate , but if i need to send those parameter in script using POST method. Can you guide me on that path,


As I need to generate access token using those parameter.


Please help in this regard.I will be grateful to you.



Thanks


Hi Mohit,



Authenticate it using sandbox account or Dev account what ever you have. My Sandbox instance trail version got expired.. so I couldn't


find_real_file.png



After that in Post method you send in the request header like as below



use


r.setRequestHeader('Authorization', 'Bearer 78ahasauihkahjk');


r.setRequestHeader('"IntegratorKey", "your_key");




Thank you.


Hi Harish

 

Could you please share the any document step by step for docusign integration with servicenow by using REST Message @bpandla0405@gmail.com . 

erantal2000
Giga Contributor

Hi Harish,

 

I am now also trying to integrate serviceNow with docuSign using rest api.

I didn't even succeed to generate oAuth token (I am working with docusign sandbox environment).

Can you share some code example of how you did this?

 

Thanks

Eran

Hi Harish,

 

have you managed to get oAuth Token?

If yes, please can you provide steps?

 

Regards,