Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Re: Create pdf and store it as attachment

4627 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Puneet_Sachdeva
5 - Automation Enthusiast
5 - Automation Enthusiast

I would like to generate a PDF out of a record (to easily visualize the data) and attach the record as an attachment. I would like to do this for all the records in my base.

Any ideas on how to do this using either a script or Zapier/Integromat, possible using Formstack (does not have to use formstack though)? Would love any insight - I am capable of coding in JavaScript and can leverage that if necessary.

21 Replies 21

To clarify, I no longer use Integromat/Make (for anything). I now call CloudConvert’s API from an Airtable automation and save the resulting PDF directly to an attachment field.

Re: bypassing document services, I think that @Jeff_Haskin was referring to a service like Google or Documint where a document would be created—directly or via a template—before exporting as a PDF file. That said, the line is a bit fuzzy in this case as HTML might be considered a form of document, and therefore CloudConvert might be considered a document service, even though the original HTML “document” is never saved anywhere.

LarryFlores
5 - Automation Enthusiast
5 - Automation Enthusiast

Hey there,

For anyone looking, another great solution you might want to take a look at is Plumsail Documents. You can upload any DOCX template and use it to create documents from record data in Airtable. The integration is based on Zapier.

How to auto generate contracts from Airtable data in Zapier — Plumsail Documents

It is a paid solution, but you can take a free 30-day trial on their website.

Tanel_Tahepold
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello,

One option is the PDF Generator API extension which allows you to build document templates and merge them with data you have on Airtable. Templates are hosted in the cloud, so there is no need to store Docx or HTML files. 

Disclaimer: I'm the founder of PDF Generator API

Is this still the case that to get a fully automated service using Page Designer that you still need a third party? We are only allowed  to use airtable extensions in our company.

JavierGO
6 - Interface Innovator
6 - Interface Innovator

Looking for this option too, to generate a pdf automatically in airtable.

Have things changed since your 2020-2022 replies?

@Tanel_Tahepold Is there a way to trigger the document to be generated and attached to the record without a human pressing a 'Generate" button? 

It is possible to use the Scripting functionality in Airtable, but it requires some JavaScript know-how. You can check our example code on GitHub.

  1. https://github.com/pdfgeneratorapi/airtable-scripting/blob/main/index.js
  2. https://support.pdfgeneratorapi.com/en/article/how-to-integrate-with-airtable-1h5xdjw/#2-scripting
JOPOS
4 - Data Explorer
4 - Data Explorer

Hi, i'm fairly new here, but is there some way we can add this to the Airtbale feature request list? Because this would really help my proces.

wcSingular
4 - Data Explorer
4 - Data Explorer

I have used www.craftmypdf.com and I have created good documents with the API between both tools. 

Here there is a link with the step by step process:

https://craftmypdf.com/blog/how-to-automatically-create-pdf-event-passes-with-airtable/

Hi! Yes, it's possible to do this with a script and a document generation extension. First, install and configure the document generation extension. Then, go to "Automations," set up a trigger, and add the "Run script" action. Here's an example using the Plumsail Documents extension for Airtable  https://plumsail.com/blog/airtable-document-automation-in-interface