How to create a Logic App to insert Page number into PDF

Azure Logic Apps

Logic App is a cloud-based service that allows us to react to an event in one service (such as SharePoint online) and do something with the data from that event into another service (such as Twitter). It makes it practical and simple for business processes. The users build workflows that automatically do some business tasks and processes across applications and services. We can connect our business-critical apps and services with Azure Logic Apps, automating our workflows without writing a single line of code.

Before reading this article, please go through some important article links mentioned below,

How to create a Logic App to insert Page number into PDF

Here, we will see how we can insert page numbers into PDF and store in Dropbox automatically.

Here, we need to connect PDF4 and Dropbox.

Prerequisites

  • Microsoft Azure Account
  • DropBox Account
  • PDF4me Account

Follow the below steps to build a Workflow using a template.

Step 1

Log into https://portal.azure.com/.

In the dashboard, choose to create a resource and click on Integration. Now, select "Logic App".

 Logic App

Step 2

Enter the name you want to assign to the logic. Select the subscription and resource group where you organize related resources and location where your logic app is stored. Then, click on "Create".

 Logic App

Here is the dashboard. Click on "Logic App Designer".

 Logic App Designer

Step 3

Now, click on the Blank Logic App.

 Logic App

Step 4

  • Configure the data by signing into Dropbox and PDF4me. Click on “Add a Trigger”
    Add a Trigger
  • Search for Dropbox in the search bar and choose the trigger.
    Add a Trigger
  • Sign in to dropbox.
    Sign in to dropbox
  • We need to give permission to access our accounts.
    Sign in to dropbox
  • Next, choose Folder and how often do you want to check for items.
    When a file is created

Step 5

  • Now search for PDF4me.
    PDF4me
  • Sign in to PDF4me
    Sign in to PDF4me
  • Then, choose the action for the workflow.
    When a file is created
  • Choose PDF File Content, PDF File name, Font Size-12 , set Bold-true, set Italic-true.
    Workflow
    Workflow

Step 6

Now, connect Dropbox to store the PDF file

  • Next, Choose File path, File Name, and File Content to save the PDF file from PDF4me.
    Logic App to insert Page number into PDF
  • The final workflow will be like this.
    Logic App to insert Page number into PDF

Now, let us save and run the workflow.

Logic App to insert Page number into PDF

Output

Upload the file in the dropbox in Azure Logic App Folder.

Logic App to insert Page number into PDF

Now, the page number is inserted into the sample PDF file and saved into the PDF folder in Dropbox.

Logic App to insert Page number into PDF

Let’s open the file. Page number displayed in left corner with bold and italic

Logic App to insert Page number into PDF

Its successfully run

Logic App to insert Page number into PDF

Summary

I hope you understand how to insert page number into PDF and save it into Dropbox and how to run it. Stay tuned for more Logic App articles.


Similar Articles