Document automation with Acrobat Sign for Microsoft Power Platform

Learn how to activate and use the Acrobat Sign and Adobe PDF Tools connectors for Microsoft Power Apps. Build workflows that automate business approval and signature processes quickly and securely without any code. There are four parts to this hands-on tutorial outlined in the links below:

Prerequisites

  • Microsoft 365 and Power Automate familiarity
  • Acrobat Sign knowledge
  • Microsoft 365 account with access to SharePoint and Power Automate (Basic for Acrobat Sign, Premium for Adobe PDF Tools)
  • Acrobat Sign for enterprise or Acrobat Sign developer account

Exercises 1 and 2

  • Acrobat Sign account with access to the API. A developer account or an Enterprise account.
  • SharePoint site accessible by Power Automate that you have edit permissions to. Full admin access is recommended.
  • Sample document for the Signature approval request and signing.

Exercises 3 and 4

Download materials here

Part 1: Store signed agreement in SharePoint with Acrobat Sign part1

In part one, you’ll use a Power Automate Flow template to set up an automated workflow that will save all signed agreements to your SharePoint Site.

  1. Navigate to Power Automate.

  2. Search for Acrobat Sign.

    Screenshot of navigating to Power Automate

  3. Choose Save an Acrobat Sign completed agreement to SharePoint library.

    Screenshot of Save an Acrobat Sign completed agreement to SharePoint library action

  4. Review the screen and configure any needed connections. Enable the Acrobat Sign connection.

  5. Click the blue + symbol.

    Screenshot of Acrobat Sign and SharePoint flow connection

  6. Enter your Acrobat Sign account email and click the password field in the new window.

    Screenshot of Acrobat Sign sign in screen

    Wait a moment for Adobe to check your account.

    note note
    NOTE
    This check will route you to the appropriate login if you are using an Adobe ID or our corporate SSO.
  7. Complete login.

  8. Click Continue to go to the Flow editing screen.

  9. Name the trigger.

    Screenshot of naming the trigger

  10. Configure your SharePoint settings.

    Screenshot of configuring your SharePoint settings

    Site Address: Your SharePoint Site
    Folder Path: Path to the Shared Documents you want to use
    File Name: Accept the default
    File Content: Accept the default

  11. Save the flow.

    Screenshot of the Save icon

  12. Navigate to the flow overview screen with the blue back arrow. You will test this flow in part 2.

    Screenshot of the flow overview screen

You will test this flow in the next part.

Part 2: Automated approval process to get e-signature with Acrobat Sign part2

In part two, we build off the first part with a more robust Flow and test both Flows to see them in action.

  1. Select Templates on the left side from the Power Automate interface.

    Screenshot of selecting Templates

  2. Search for “manager approval.”

  3. Select Request manager approval for a selected file.

    Screenshot of selecting Request manager approval for a selected file

    Review the connections and add any you are missing.

    note note
    NOTE
    If this is the first flow you are doing with approvals, they will be fully configured when the flow runs.
  4. Click Continue to go to the flow editing screen.

    This flow has a lot of pre-configured steps including error checking and nested conditional steps.

  5. Configure For a selected file as follows:
    Site Address: Your SharePoint site
    Library Name: Your Documents repository

  6. Add an input as follows:
    Type: Email
    Name: Signer Email

    Screenshot of configuring the flow

  7. Configure Get File Properties: as follows:
    Site Address: Your SharePoint site
    Library Name: Your Documents repository

  8. Scroll down and look for If yes.

    Screenshot of If yes configuration

  9. Click Add an action in the If yes box (not the bottom most one) to add the steps to send for signature.

    Screenshot of adding an action in the If yes box

  10. Search for SharePoint get file content and choose Get file content.

    Screenshot of the search box

  11. Configure the Get file content as follows:

    Screenshot of the Get file content configuration

    Site Address: Your SharePoint site.
    File Identifier: Search for “identifier,” and choose Identifier from the Get file properties step.

  12. Search for “Adobe” and choose Acrobat Sign to add another action.

    Screenshot of search menu

  13. Enter “upload” into the search box for Acrobat Sign and select Upload a document and get a document ID.

  14. Search for the dynamic variable Name to get the name of the item/document selected in the trigger under File Name.

  15. Click Expression in the variable assistant under File Content.

    Screenshot of Upload a document and get a document ID screen

  16. Add a single apostrophe, then click back to Dynamic Content, delete your apostrophe, select File Content and then click OK.

    Make sure there are no additional apostrophes and it looks like the sample below.

    Screenshot of what the Dynamic Content screen should look like

  17. Search for “create” in the Acrobat Sign search area to add another Acrobat Sign action.

  18. Select Create and agreement from an uploaded document and send for signature.

    Screenshot of searching for create

  19. Configure the required information:
    Choose Name from the dynamic variable assistant in Agreement Name.
    Choose Document ID from the dynamic variable assistant in Document ID.
    Choose Signer Email from the dynamic variable assistant in Participant Email.
    Enter “1” in Participant Order.
    Choose Signer from dropdown in Participant Role.

    Screenshot of the required information

  20. Save the Flow.

Test the flow

Go to your SharePoint site’s document repository to test it out.

  1. Select the document and choose Automate and the Flow you just created.

    Screenshot of selecting the Automate menu and flow

  2. Start the flow to validate the connections (first run of flow only).

  3. Enter a nice message to the approver in Message.

  4. Enter email for the document Signer in Signer Email.

  5. Click Run flow.

The configured approver for the user starting the flow will get an approval request. You can approve through email or through the Power Automate Action Items menu.
Once approved, sign your document. Depending on your user and if they are logged into Sign, you may need to open the signing windows in a private browser window.

Screenshot of opening in private browser window

Complete the signing, and then look back in your SharePoint folder.

Screenshot of SharePoint folder

Part 3: Automated document OCR with Adobe PDF Tools part3

In part three, you’ll learn how to automate OCR in PDFs when they are imported into Microsoft SharePoint. This addresses an issue that occurs with scanned PDF documents that are not searchable in SharePoint.

Screenshot of PDF document in browser

Setup a folder in SharePoint

Go to Microsoft SharePoint where you would like to store documents.

  1. Click + New to create a new folder called “Processed Contracts.”

  2. Click + New to create a new folder called “Old Contracts.”

    Screenshot of new folders

These folders are now referenced as part of your Power Automate flow.

Create a flow from a template

  1. Log in to https://flow.microsoft.com.

  2. Click Templates in the sidebar.

    Screenshot of selecting templates

  3. Select Convert newly added files to text searchable PDF in SharePoint.

  4. Click the + symbol next to Adobe PDF Tools.

    Screenshot of selecting the + symbol

  5. Navigate to https://www.adobe.com/go/powerautomate_getstarted in a new tab.

  6. Click Get Started.

    Screenshot of Get Started button

  7. Sign in with your Adobe ID.

    Screenshot of the Sign in screen

  8. Enter Credentials Name and Credentials Description and click Create Credentials.

    Screenshot of the Create Credentials screen

    Keep the window with the credentials open. You will need to enter them into Microsoft Power Automate.

    Screenshot of the browser tab to keep open

  9. Enter the credentials and click Create in Microsoft Power Automate.

    Screenshot of entering the PDF Tools credentials

  10. Click Continue.

    Screenshot of where to click Continue

    Now you can see a view of the workflow, and you’ll need to configure it for your environment.

  11. Select Site Address field and choose which SharePoint site you are using under the trigger called When a file is created in a folder.

    Screenshot of selecting When a file is created in a folder trigger

  12. Click the folder icon to navigate to the Old Contracts folder located under Folder ID.

    Screenshot of selecting Old Contracts folder

  13. Edit the Create file action at the bottom of the flow:

    Change Site Address to your site address.
    Specify the location of the Processed Contracts folder in the Folder Path.

  14. Click Save in the top right corner.

  15. Click Test.

  16. Select Manually.

  17. Click Test.

    Screenshot of the Test flow

Try your new flow

  1. Navigate to the Old Contracts folder in SharePoint.

  2. Navigate into E03/Old Contracts in the exercise files you downloaded.

  3. Copy the ReleaseFormXX.pdf files into the Old Contracts folder in SharePoint.

    Screenshot of copying the files

Now if you navigate to the Processed Contracts folder, you can see your PDFs available after the flow is given a few moments to run. If you open the PDFs, you can see that the text is selectable.
In addition, SharePoint indexes the document, allowing you to search the content of your documents from the search bar in SharePoint.

Part 4: Automated document assembly with Adobe PDF Tools part4

In part four, you’ll learn how to merge many documents together based on information provided while selecting and starting a flow from Microsoft SharePoint. In this scenario, the flow will:

  • Ask for information to choose what to include in a package for a customer.
  • Based on the information provided, it merges many documents together. These documents include a cover page and optional whitepapers.
  • The merged document is saved to SharePoint.

Import exercise files into SharePoint

  1. Open the E04 folder in the Exercise files.

  2. Import the Proposal, Templates, and Generated Docs folders into SharePoint.

    Screenshot of importing folders

These folders will be used for reference. In particular, you will use the Proposal.docx file for your proposal.

In the Templates folder, there is a Covers folder that includes cover page designs for different cities. There is also a Whitepapers folder that contains optional additional whitepapers that will be attached to the end if selected.

Import the flow into Microsoft Power Automate

  1. Log in to Microsoft Power Automate (https://flow.microsoft.com).

  2. Click My Flows.

    Screenshot of where to select My Flows

  3. Click Import.

    Screenshot of import screen

  4. Click Upload and choose the GenerateProposal_20210311231623.zip folder in E04/Flows/.

    Screenshot of selecting folder

  5. Click Import.

  6. Click the Wrench icon under Action next to Send Proposal to Customer.

    Screenshot of the wrench icon

  7. Select Create as new under Setup.

  8. Set the name of the flow under Resource Name.

  9. Click Save.

    Repeat this for the other Related resources and select your connection.

    Screenshot of saving the file

  10. Click Import after you have made all your connections.

Set For a selected file

Now that the flow is created, do the following:

  1. Click Edit.

    Screenshot of where to select edit

  2. Select the trigger For a selected file.

    Add your SharePoint site in the Site Address.
    Add your Library in Library.

    Screenshot of completed trigger

Set templateFolderPath

  1. Click the templateFolderPath variable.
  2. Set the path to where the Templates folder is located inside the SharePoint site that you imported.

Set Cover Get File Content

  1. Click Cover action, which expands the Scope.

  2. Expand Cover: Get File Content.

    Set Site Address to your SharePoint site.

    Screenshot of expanded Cover

Set Selected File

  1. Expand the Selected File scope action.

    Change the Site Address and Library Name to your SharePoint site and Library respectively under Get file properties.
    Change the Site Address to your SharePoint site under Get file content.

    Screenshot of expanded Selected File action

Set Whitepapers

  1. Click Whitepapers action.

  2. Expand Condition: Add Whitepaper.

    Screenshot of expanded Add Whitepaper condition

  3. Expand Whitepaper 1: Get file content using path.
    Edit the Site Address to your specified SharePoint site.

Repeat the same steps for Condition: Add Whitepaper 2.

Set Create File

  1. Expand Create File.

    Edit Site Address and Folder Path to the SharePoint site and path where the Generated Docs folder is located.

  2. Click Save.

Test your flow

  1. Navigate to the Proposal folder in SharePoint.

  2. Select Proposal.docx folder.

    Screenshot of selecting proposal folder

  3. Select your flow under the Automate menu.

    Screenshot of Selecting the Automate menu

  4. Click Continue to begin the flow.

    Screenshot of Selecting the Continue button

  5. Choose your Cover and the whitepapers you want to append.

  6. Click Run flow.

    Screenshot of Run flow button

Navigate to the Generate Docs folder. You should now see your generated PDF file.

Screenshot of SharePoint directory with new PDF file

Adding Protect and other actions to flow

Now that you have successfully created a flow, you are going to edit your flow to encrypt the PDF document with a password. This also walks through how you can utilize other actions.

  1. Navigate back to the end of your flow.

  2. Click the + symbol between Merge PDFs and Create file.

    Screenshot of where to select + symbol

  3. Select Add an action.

  4. Search for “Adobe PDF Tools”.

    Screenshot of searching for Adobe PDF

  5. Select Protect PDF from Viewing.

  6. Use Dynamic Content to set the File Name field to PDF File Name from Merge PDF.

    Screenshot of dynamic content

    In the trigger, there is a Password field that is part of the initiation form. We can use that here.

  7. Search for Password field using Dynamic content, and place it in the Password field.

    Screenshot of searching for password

  8. Use Dynamic content to set it to PDF File Content from Merge PDFs in the File Content field.

  9. Change the Create file to get the file content from Protect PDF rather than Merge PDFs.

  10. Expand Create file.

  11. Clear the File Content field.

  12. Use Dynamic Content to place PDF File Content from Protect PDF from Viewing.

Test your flow

  1. Navigate to the Proposal folder in SharePoint.

  2. Select Proposal.docx.

    Screenshot of selecting Proposal folder

  3. Select Automate to choose your flow.

    Screenshot of selecting Automate from the menu

  4. Click Continue to begin the flow.

    Screenshot of selecting Continue

  5. Choose the Cover and the whitepapers you want to append.

  6. Set the Password field to the Password you would like to set.

  7. Click Run flow.

    Screenshot of selected files and Run flow button

  8. Navigate to the Generate Docs folder.
    You should see your generated PDF file. Open the PDF file and it prompts you to enter your PDF password.

    Screenshot of generated PDF in SharePoint directory

recommendation-more-help
ac8d3f8e-a625-4146-84f3-0eb730a583a3