API:Generate A document

To use this API route you need to have an account and have implemented an automation flow.

GET: 
https://api.typeflow.us/api/generate-doc?flow_id={automationId}&table_id={tableId}&record_id=recordIds

automationId: unique identifier that links to your automation. It's the number that follows /flow/[automationId]

tableId: the table identifier in Airtable, where you want to generate the PDFs, but also where your records come from.

recordId: arecordId identifier. This record is saved in the tableId.

With this API, you can generate one PDF, when it's triggered.

If you need to genrate multiples PDFs with only one request, you can check out this API route.

200 - Response Example

{
    success: 'done',
    pdfUrl: 'url.pdf',
    fileId: 'fileId'
}

With this API route, you can generate PDFs directly in Zapier or Make.

Was this helpful?