Microsoft

Automate Everything: Using Adobe Sign in Power Apps and Power Automate – Part 2/3

Woman Using Laptop, Smiling

Microsoftteams Image (2)

The Automate Everything series was written by Rebekah Williamson and Taylon Hammons

In a work-from-home world, companies are moving toward paperless operations. The process of printing forms, delivering them to clients, and scanning them back in is a thing of the past. Save paper, time, and money by shifting to an all-digital approach. By leveraging Microsoft’s Power Platform and Adobe Sign, electronic document workflows and approval processes are easily automated. This integration allows your team to seamlessly create interactive forms, capture signatures, and connect with your organization’s data all in one place.

In this guide, we will give you step-by-step instructions on how you can manage agreements/contracts and create legally binding signatures via Power Apps and Adobe Sign.

Create your Power App

The first step is to create a power app that users can use to manage and send agreements. In Power Apps, create a canvas app from blank.

Connect your App to Adobe Sign.
First, make a data connection to Adobe Sign within the app.

  1. Click view > data sources > Add data source > select Adobe Sign
  2. Log into your Adobe Sign account or sign up for a free trial to try it out.

Pro Tip! Make sure you sign up for an Enterprise trial otherwise you will get a connection failure.

Create a Page to Manage Agreements

Next, create a page with a gallery and PDF viewer to house a list of our agreements.

  1. Rename your screen to Manage Agreements.
  2. Insert > Gallery > Vertical Gallery

Rename it AgreementList. In the items field, enter:

AdobeSign.GetAllAgreements().userAgreementList

Pro Tip! Make sure your Adobe Sign has agreements. If you just signed up, create a Library Template, and then create a few agreements.

  1. To customize your gallery, select the Title and update the text property to:

ThisItem.name

  1. Set the Subtitle text property to:

ThisItem.name

Gif1

Pro Tip! You can see a full list of the properties you can set in the documentation here: https://docs.microsoft.com/en-us/connectors/adobesign/

Insert a PDF Viewer

Next to that, insert PDF viewer so the user can review the agreements. (Shown in GIF)

  1. Select Insert > Media > PDF Viewer
  2. Set the Documents property to:

AdobeSign.GetCombinedDocumentV2(AgreementsList.Selected.agreementId)

This calls the Adobe Sign API and returns a combined PDF of the selected item in the AgreementList gallery.

Gif2

Create a Page to Send Agreements

Now create a page that allows you to send an agreement for a signature. First, create the page.

  1. Create a new screen called “Send an Agreement.”
  2. Prepare your screen with a text field and label for the recipient’s email and agreement name. You can add a memo if you please!
  3. Add a button labeled “Send for Signature.”

It can look something like this!

Send An Agreement Page

To send the agreement to the recipient, we set up a flow in Power Automate using the Adobe Sign API.

  1. Click Action > Power Automate > Create New Flow
  2. Select the flow template Create Power Apps Button to send agreement and Signing URL using Adobe Sign.

Now configure the Power Automate flow:.

  1. Click into Agreement Name.
  2. Under Dynamic Content click See More and select Ask in Power Apps.
  3. Select your Library Template.
  4. Go to the last step and set the agreementID to be the Agreement ID that is the output from the Receive the Signing URL step.

Gif3

Connect your Power App to your Power Automate flow

Back in Power Apps on your Send Agreements page:

  1. Go to Action > Flows in the Ribbon.
  2. Select your flow.
  3. Set the OnSelect property of the button to:

Set(AgreementID, [Name of your flow].Run(AgreementName.Text, Email.Text).agreementid)

Insert the name of your Power Automate flow in the above command. This will call your flow and run it with the given Agreement Name and Email. This will also set your Agreement ID. Your Power App is now connected to your flow and your app is ready!

Leveraging Power Platform and Adobe Sign to conquer everyday document workflows will make a huge impact on your company’s day-to-day productivity. By automating routine tasks, you can get back to what really matters to your company. Check out the rest of the blogs in this series, Automate Everything, in which we do a deep dive into the value of Power Platform and what it can do for you.


READY TO GROW YOUR CAREER?

At Perficient, we continually look for ways to champion and challenge our talented workforce with interesting projects for high-profile clients, encourage personal and professional growth through training and mentoring, and celebrate our people-oriented culture and the innovative ways they serve Perficient and the community.

Learn more about what it’s like to work at Perficient at our Careers page. See open jobs or join our talent community for career tips, job openings, company updates, and more!

Go inside Life at Perficient and connect with us on LinkedInYouTubeTwitter, and Instagram.

About the Author

Taylon is a problem-solving technical consultant who strives to provide a positive team and customer experience.

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.