The trigger script sends an API request to trigger the bulk HTML generation. You should copy the trigger script shown below to a Run Script step in Airtable automation.
The trigger script doesn’t return the generated HTML. It is only used for executing the bulk HTML generation.
Example
Interval-Based Automation
In this example, we will create an automation that will trigger the bulk HTML generation in an hourly interval.
Create an automation and set the trigger to “At Scheduled Time”
Select hours as the Interval Type
In the Timings, select 1 for hourly
(Optional) you can also set the start time of the automation by changing the starting date or time
After that, create “Run Script” step
Inside the “Run Script” step, paste the Trigger code.
Test the trigger code by clicking the “Test” button at the upper right corner
Once the test ran successfully, you can now enable the Automation and you’re done for this step!