Skip to content
aeropage-round-dark
Aeropage Documentation
Bulk Generation

icon picker
Trigger Script

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.

info
The trigger script doesn’t return the generated HTML. It is only used for executing the bulk HTML generation.

image.png

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”
image.png
Select hours as the Interval Type
image.png
In the Timings, select 1 for hourly
image.png
(Optional) you can also set the start time of the automation by changing the starting date or time
image.png
After that, create “Run Script” step
image.png
Inside the “Run Script” step, paste the Trigger code.
image.png
Test the trigger code by clicking the “Test” button at the upper right corner
image.png
Once the test ran successfully, you can now enable the Automation and you’re done for this step!
image.png

Additional example can be seen in the page under the Manual trigger section.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.