Use Airtable

Watch the introductory video or learn the basic and advanced features outlined in the following documentation.

Introduction

It’s quite easy to start using the Plumsail Documents extension for Airtable:

  1. Set up a document generation process.

  2. Connect Plumsail Documents to your Airtable workspace.

  3. Select records and click your custom button to create documents automatically.

Animation: selecting Airtable records, clicking a Plumsail Documents button, and getting the generated invoice attached to the record

That’s it! We’ll review each of the steps in more detail further in the article.

Set up a document generation process

To illustrate this integration, we are using the Airtable Client orders database available in the Product catalog template.

We have also created an Invoice template that matches this Airtable database structure, and already contains all necessary tokens. For a deeper understanding, you can refer to our guide on how to create a document template for Airtable from scratch.

For our example, let’s start by creating a new process and select Premade template:

Plumsail Documents "What do you want to start with?" dialog with the Premade template option highlighted

Then, search for and select the Airtable existing template:

Select premade template dialog with "Airtable" in the search box and the Airtable invoice DOCX template found

Once selected, choose your output file type (e.g., PDF or DOCX) and name your process:

Airtable invoice template preview with Output file type set to PDF and the process named "Create invoice"

Note

You can update the output file type at any time in the settings panel.

We can now move forward and learn how to use the Airtable extension.

How to add a button and choose a process to run

First, connect the Plumsail Documents extension.

  1. Open your Airtable database and click the Add an extension button.

Airtable Client orders table with the Extensions panel open and the Add an extension button highlighted
  1. Type Plumsail in the search field and click the Add button when the extension is found.

Airtable Marketplace search for "Plumsail" showing the Plumsail Documents extension and its Add button

3. Then Sign up for Plumsail Account if you don’t have an account already and click Connect. You’ll need to enter your Plumsail account email and the password to complete the connection.

Plumsail Documents extension welcome screen in Airtable with the Sign up link and the Connect button highlighted
  1. After connecting to the Plumsail account you’ll see a dialog with details to add a document generation button. Let’s check the settings:

Add document generation button dialog: Process to start, Button title, multiple-record options, Result document, and attachment field
  • Process to start. Dropdown menu with all available processes from the account. Select the process you want to use to generate the document.

  • Button title. The button title is pre-filled with the name of the selected process, but you can change it.

  • When you select multiple records generate. When you select multiple records, you can either generate a document for each record or generate one aggregated document with all records.

  • Result document. This is how you receive the result document. You have two options: download the document and/or attach it to the record. Additionally, select a field to attach the document.

  • Field to store attachment. Select a field from the database to store the generated document.

Note

Please check out the article on how to add an attachment field to your Airtable database.

You can add multiple buttons to the same extension to trigger different document processes. These buttons are visible to all users with access to the base.

  1. If you click the Add button and close the settings, you’ll see that a button is added to the extension window.

Airtable Extensions panel showing the new Create invoice button added by the Plumsail Documents extension

How to copy tokens and add them into the template

Note

For guidance on creating and utilizing your own document template, please refer to our step-by-step guide.

Let’s go back to our document generation process to add the tokens from Airtable to the invoice template.

Earlier, we created a process using the Invoice template based on the Airtable Product catalog template. Feel free to add or remove tokens from the template to align with your database fields, following these steps:

  1. In your Plumsail account, open your process and click Edit online.

Plumsail Documents process editor for "Create Airtable invoice process" with the Edit online button highlighted
  1. Then go to the Airtable database and click on the gear button to open the extension settings.

Plumsail Documents extension panel in Airtable with the gear icon highlighted to open settings
  1. Open the list of the tokens by clicking on the Tokens for templates button.

Add document generation button dialog with the Tokens for templates link highlighted at the bottom left
  1. You’ll see all available tokens from the database. Copy the token you want to display in the generated document.

Tokens for templates panel listing Airtable fields as tokens, including {{Client}}, {{OrderLineItems}}, and {{OrderNo}}

Advanced customization

While text is a great start, you can also pull more complex elements, like images, directly from your Airtable fields to create richer documents.

Let’s walk through how to customize your invoice template to pull in images dynamically in the product column cell.

Invoice template in the online editor with the Product column cell where the image token will be inserted
  1. Go to the extension settings and click on the Tokens for templates button as described above.

  2. Find the image URL token using the path: Order line items -> Image -> thumbnails -> small -> url.

Tokens for templates panel with Order line items expanded to the Image > thumbnails > small > url token
  1. Paste the copied token, and apply the picture object operation to ensure the URL is automatically rendered as an image in your final document.

Product column cell containing the token {{#picture OrderLineItems.Image.thumbnails.small.url}}
  1. Save all your changes.

Run process from Airtable extension

Now, we can close the extension settings and generate an invoice. Select one or more records in the table, then click your button in the extension panel.

Airtable Client orders table with records selected and the Create invoice button in the Plumsail Documents panel

The resulting document is downloaded and attached to the record.

Generated PDF invoice for Bloom Dentistry with product images, quantities, unit prices, and a $172,220.00 total

Run process from Airtable Interface

It’s also possible to trigger the same Documents process from an Airtable interface with the help of Airtable automations.

For a full walkthrough, watch the detailed video tutorial that shows how to add a button to an Airtable Interface and connect it to your Documents process:

You can also review the step-by-step article How to create document from template using Interfaces and Automations in Airtable.

Hint

You can use a custom token name to access data in your field, rather than using the autogenerated one. Check out this article to learn how to do it.

Step-by-step guides

You can find all the step-by-step guides for different scenarios on our Airtable integration page.