How to automate the workflow for Anvil API

Hi everyone,
I am using the useanvil API to fill forms, and I have to fill multiple forms which have the exact same fields but different names and different API calls, is there a way that I can replicate or automate the workflow application process for these forms or I have to apply the Workflow to send data from the database to the API for each form that I add.

Hi TaxMary, founder of Anvil here, hopefully not too late.

Anvil PDF Templates have a feature called Field Alias, this allows you to give each field on a PDF a key that matches your bubble database schema.

You can then create a data payload using the field alias as the object keys and fill out any number of PDFs. If Anvil is able to find the key on the PDF it will put the data you provided onto the corresponding PDF field.

1 Like