Configuring AssureSign in your NWC Workflows using Document Generation

  • 8 January 2022
  • 6 replies
  • 340 views

Userlevel 2
Badge +4

As a follow up to the previous blog post I created about using AssureSign with Nintex Workflow Cloud to capture data and get electronic signatures,  this post is will show if you are using Document Generation in your Nintex workflows how you can send that generated document to AssureSign for signature.  You may want to use document generation to create the document to send to AssureSign in cases where the documents may be more complex, you need to combine multiple documents into on document, you have a repeating section that you want to include in the document.

 

 

 

Creating Your Template in Nintex AssureSign

 

When using document generation in Nintex Workflow Cloud you will still need to have a template within AssureSign but instead of having to create all the jotblocks and sender inputs all we will need to do in this case is create a blank template and add the jotblocks to it for the initials and signatures we need to capture.

 

21214iA11B041C06C9BC49.jpg

 

To start click on View Templates in the left hand navigation

 

21215iC55B3A47AC609742.jpg

 

Then on the next screen you will want to click on create template and give your template a name and click continue

 

21216iCF3C62A056DF56BF.jpg

 

Then you will drag and drop your blank word document into AssureSign

 

 21217i74A2107ACF134E11.jpg

 

21218iFD192B229612587F.jpg 

Now we can start to build out our template, in this case after we add a signer all we need to add to the template is the initials/signature jotblocks. In my case I have 8 initials that I need to capture in the form and 1 signature, so I will just need to add those jotblocks to the template.

 

21219iF597B6FE13C0C463.jpg

 

Note: make a list of the names that you gave the initials/signature jotblocks as we will need these to create the tags in our document generation template.

 

Using the AssureSign Connectors in your workflow

 

There are two connectors available in Nintex Workflow Cloud for AssureSign.  The Get a Signature action will allow us to create our connection to AssureSign and send the generated document to AssureSign for signature.  The Get a signed document allows us to get the signed document back so we may use it in the workflow to email out or maybe save to a system of record other than AssureSign.

 

 21220i3F792DD462CC0360.jpg

 

I am not going to get into form creation in this post, but we will need to create our form that will capture all of our information that we need to populate the template before it is signed.

 

21221i6A6AB3B1A3BB919C.jpg

 

Once we have the form finished, we can create our workflow. In this example I am just capturing the data on the form and then using the document generation action to generate a document incorporating that data and then sending that document to AssureSign to get a signature. We are then checking the envelope status to see if it was actually signed or if it was declined by the signer.  If it was declined, we are sending an email to the initiator to let them know. If it was signed we get the signed document back and send an email with it attached.

 

21222i864B2F23C7ECC3D7.jpg

 

The first thing we will need to do is create the template for the document generation action to use.  I am not going to go into how to tag the template with the Nintex document tagger I will just show how to create the tags we will need to be placed in the template for AssureSign.  For this example we will need tags for the initials we want to capture along with the signature.  Here is where we will refer back to the list of names of the jotblocks in the AssureSign template that we created earlier.  This support article for AssureSign tells us how to format the tags we will need to create and add to our document generation template.  Here is an example of a tag for one of our initials {{!##{Name:"Initials1"}##!}} the section that I have underlined here needs to match the name of the jotblock in your AssureSign template.

 

21223i49DB4E659220F385.jpg

 

Here is an example of the tag for the signature {{!##{Name:"Signature"}##!}} again the underlined section here will need to match the name of your signature jotblock. 

 

21224iB0C549A12554F0C0.jpg

 

After creating all the tags for the corresponding jotblocks in the template, they will just need to be placed in the word template where we would like them to show during the signing process.  The example below shows where I placed the tags for a few of the initials and for the signature.

 

21225iABC0AED9BEF5CDCE.jpg

 

Now that we have added the necessary tags in the template for the document generation action, we can save that template in the location where we will be getting it for the workflow.  In my example I am using OneDrive for Business, but this could be SharePoint, Box, Google Drive, etc.  From here when the document generation action runs it will build the document and place the content from the original form into it and save it into a collection where we can use the get item from collection action to retrieve it and save it to a file variable for use in the Get a Signature Action.

 

 21226iCE2DADCC4C69841F.jpg

 

21227i58D185830500E93F.jpg

 

 

Now lets’ take a look at how the AssureSign connectors are configured differently since we are sending a generated document to AssureSign instead of mapping the sender inputs.

We will first need to create our connection to AssureSign, select the account if there is more than one available, then select the template we created earlier in the blog.

 

 21228iEE3706530F983F81.jpg

 

If you haven’t done so already you will need to create an API user for your connection. When created it will give you an API Key and API Username. Make sure to note in case you need them again later.

 

21229iB13A2D72484935E3.jpg

 

After creating your connection and selecting your template we will need to select the file variable for document we generated so it can be sent over to AssureSign for signature.    

 

21230iDFDF5526A3C1D57A.jpg

 

We did not do this in the first blog post as the document was not being generated in the workflow but from within AssureSign from the variables/sender inputs we passed to it.

 

Now we will need to add the signer details. In my case I am populating these with data collected on the form, but you could hardcode them if you like as well.  AssureSign does offer mobile e-sign so if you populate the Mobile phone the signer will also receive a text asking for permission for AssureSign to send them the signing information, if they reply YES they will receive that info and be able to complete the signing from their mobile device.

 

21231i87A1C6024FE1FDE4.jpg

 

Again the last step we need to do is set a variable to capture the output of the action which we will use later to get the signed document.

 

 21232iE8857850E1A8A9B5.jpg

 

That’s it! The Get a Signature Action is now configured.

 

In this workflow I am retrieving the envelope status and saving it to a variable that I am then using to determine if the document was signed(completed), declined, expired, etc. 

 

21234iF92097D470C265AC.jpg

 

I am then using a branch by value in my workflow to get a signed document if it was completed and sending an email with the document attached.  If the document was declined or expired I send an email back to the initiator to let them know that as well.

 

 21235iE1BB0CEEB79FF789.jpg

 

21236iBAD4C309705B408E.jpg

 

Now lets setup the Get a signed document action to retrieve the signed document from AssureSign.  We will set our connection, account and template just like we did in the Get a signature action.  Then we will select the document to return and also pass in the envelope id so we get the correct signed document back.

 

21237iE81AD9F8ABCB1591.jpg

 

To get the envelope ID we use the output variable we configured in the Get a signature action.

 

 21238iD01EB59035D3A24D.jpg

 

Then we will want to save that signed document into a variable that we can use in the workflow to email the signed document or maybe save it to another system of record.

 

 21239i17E741BCBE5ED06D.jpg

 

Ok now that we have both connectors configured, we can test our workflow.  Once we fill out and submit our initial form we will receive an email that the envelope was sent to the signers for them to sign.  These emails can be customized to include your company logo and other information you may want to send.

 

 21240i41EE1A3E1C6249C1.jpg

 21241iCBEBF1E64EB1BC99.jpg

To begin the signing process, check the box saying you have read and agree to the terms and conditions and click start signing.

 

21242i660D27B44866F238.jpg

 

 

Setup your signature by either typing it in or using your mouse or a stylus to create it and your initials and click adopt signature.

 

21243i548BFAE76E1D5DC8.jpg 

 

Now we can review and sign the document.

 

21244i10F1C8ED498C9F68.jpg

 

Click Apply initials and signature and then click finish to sign the document

 

 21245i1B91BE513747E766.jpg

 

We now have a signed document that will be saved in the envelope in AssureSign and returned to the workflow by the Get a signed document action and emailed to us.

 

 21246iCCE1AB2BD765D03E.jpg

 

21247iC6D91FC568731D18.jpg

 

21248i517CB99827A58C2E.jpg

 

 

 

 

 


6 replies

Great post here. Exactly what we are trying to accomplish. 
What would those signature & Initial tags look like in excel format? One example would be that {{!##{Name:"Initials1"}##!}} does not place that initial1 jot in that spot on our doc gen output.  
We are attempting to use the "PPP Doc gen Blank page" method to bring over the signature & initial Jot's into a replaceable PDF doc.
@Marc_Wenning 

Badge +2

HI


How do I rename the document after the get signed document action?


 

Userlevel 2
Badge +4

@thys_fourie you can rename the document in a store a file action, the example below is for OneDrive would also work for SharePoint, Google Drive, Box, etc.


 



 


for example in path above you could add the name you would like to rename the file to for example


 


/Signed/EmployeeOnboardingContract.pdf


 


 

Badge +2


 


Herewith the result when using the store in SharePoint.

Userlevel 2
Badge +4

@thys_fourie 


try storing the file in SharePoint online then using the rename a file action to rename that file.


 


Badge +2

Thanks - Did it like that 

Reply