Skip to main content

One post tagged with "PDF4me"

View all tags

Fill and Sign a PDF When a New SharePoint Item Is Created — Power Automate

· 22 min read
SEO and Content Writer
Power Automate workflow: a new SharePoint list item is filled and signed by PDF4me, then saved to Dropbox

Fill a PDF Form is the Power Automate action that accepts a fillable PDF template and a JSON payload, then hands back that same PDF with every field already populated. Pair it with PDF - Sign and a SharePoint When an item is created trigger, and invoice generation runs on its own: someone adds a row, Power Automate assembles the signed PDF, and Dropbox files it away under a timestamped name.

The bottleneck in invoice-style workflows was never the PDF itself, it is the manual step wedged in the middle. Someone opens the template, re-keys eight values from a spreadsheet row, prints it, signs it, scans it back, and uploads the result. Each of those fields is one more chance to misspell a customer name or lose a digit off the total. This guide swaps that whole routine for seven Power Automate actions: SharePoint raises the trigger, Dropbox hands over the template plus the signature image, PDF4me populates the form and applies the signature, and Dropbox saves the finished file. Every screenshot is real, the Compose expression is spelled out, the SharePoint schema is listed, and the sample signed invoice is yours to download.

The flow at a glance
1. When an item is created
Watches the New Customer Invoices list in SharePoint and starts the flow the moment a new row appears.
2. Get file content
Pulls sample_fill_form.pdf from /blog data/fill a pdf/ in Dropbox. Leave Infer Content Type on Yes so the binary survives.
3. Get file content 1
Grabs signature.png out of the same Dropbox folder, again with Infer Content Type set to Yes.
4. Compose
Assembles a single JSON payload out of the SharePoint row: customerName, email, phone, invoiceNumber, invoiceDate, address, amount.
5. Fill a PDF Form
PDF4me step. Feed the PDF binary to Template File Data, the Compose result to JSON Data, and set Keep PDF template Editable to No.
6. PDF - Sign
PDF4me step. Drops signature.png bottom-right on page 1 at 50 wide by 20 high, margin 15, full opacity 100.
7. Create file
Writes to Dropbox /blog data/fill a pdf/output with a File Name built by concat(Signed_, invoiceNumber, _, ticks(utcNow()), .pdf).