Adding Assets to PDF

Assets are Airkit's representation of files. They can be created, manipulated, and transmitted via Data Operations in Connections Builder.

Typical use cases include branding, embedding of photo IDs for identification purposes, and stamping signatures.

To add Assets to PDFs, the Fill PDF Form Data Operation is used, which takes a blank PDF template and merges values into form fields. The PDF is then filled with the values stored in the assets that are obtained through the download_url property.

Using the Fill PDF Data Operation

If you have a form which resulted in an image stored as an asset, then this asset can be written into a PDF.

To do so, create a Data Flow to pass the Variable that contains the downloaded asset (download_url) through a Fill PDF Form Data Operation to the PDF we need to get filled.

Example: writing signatures to PDFs

To write the signature into the PDF, create a Data Flow to pass the Variable that contains the downloaded asset (download_url) using the Fill PDF Form Data Operation as shown above.

Then add a Global Variable for the output and then trigger the Data Flow from a Button or Action. Pass the following Values:

This way, the saved typed signature gets inserted into the PDF form.