API:Bulk Generation
To use this API route you need to have an account and have implemented an automation flow.
GET:
https://api.typeflow.us/api/bulk-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: an array of record identifier. Those records are saved in the tableId.
With this API, you will be able to multiple generate PDFs easily. The goal of this API is to avoid hitting wall with the Airtable or Google Docs API.
Indeed, but running concurrently our classic API route to generate PDFs, there is a higher risk of hitting the Airtable API limit.
200 - Response example
{
success: true,
message: `Processed 100/100 documents successfully`,
});
Was this helpful?