Respond to DocuSign Embedded Signing Return URL by Starting New Process
I’m working on using DocuSign to do an embedded signing of a PDF document through Appian. I’ve set up the DocuSign Connection and Integrations that will create the envelope, generate a signing URL, and pull down the signed document. I’ve also set up the following flow:
- Push the PDF to DocuSign and create an Envelope.
- Generate the Recipient Signing URL.
- Use the URL to redirect the user to DocuSign to do the signing.
- Created a WebAPI that DocuSign redirects to after the signing is complete.
I’ve created a process that takes the envelope ID (which is included in the return URL that DocuSign redirects to after signing is complete) and pulls down the associated signed document, it then takes the user to a page that allows for further processing and allows them to download the signed PDF. I’ve tried to start that process from the WebAPI but since DocuSigns calls that URL via the GET method and Appian doesn’t allow smart services to be called in Web APIs that have a GET method I can’t start the process using the “a!startProcess()” call.
What I’d like to have happen is that when DocuSign redirects to the WebAPI URL the document gets pulled down and the user is taken to a page that allows them to download the document and do further processing, but I’m not sure how to manage that.
I’m fairly new to Appian development and I may be missing something obvious so if anyone has any ideas I’d really appreciate hearing them.
Thanks
