Guides
GuideAutomations

Automations

“When this happens, run that function.” Automations connect events in your site to your functions — no glue code, no external tools.

An automation = an event + a function. Events: a row is created / updated / deleted in a table, a specific field changes, or a status field changes. The function can be a backend function, a data function, or an account-wide function.

Examples

  • Row created in Contacts → validate the entry and notify your team by email
  • Row created in Orders → notify the owner and publish a realtime event to the dashboard
  • Status field changes to “approved” → grant access and email the member
  • Row deleted in Reminders → clean up related rows in a linked table

Your function receives params.event (what happened: type, table, row data, who) and params.config (anything you saved on the automation).

The complete trigger family

You want to run a function…Use
when data or membership changesAutomation (this page)
on a timerScheduled Functions
when an external service calls a URLWebhooks (account functions)
when a member clicks/submits in the UIThe page calls the function directly

Loops are guarded: if your automation writes to the same table it watches, a circuit breaker stops runaway chains. Still, prefer watching specific fields over whole-row updates when reacting to your own writes.