Skip to content

Recipe: Scheduled Datastore Job

Goal: On a schedule, read records from a datastore and take an action per row (email, HTTP update, or cleanup).

  1. Create a GENERIC automation.
  2. Add a Schedule trigger (for example cron 0 2 * * * for 02:00 daily).
  3. Add a Database node with action GET_VIEW (or GET_BY_ID / filtered logic you support).
  4. Map view outputs to a list variable.
  5. Add a Loop over that list.
  6. Inside the loop, add Send Email, HTTP Request, or Database UPDATE / DELETE as needed.
  7. Save and enable the automation.
  1. Use a short interval temporarily.
  2. Confirm executions appear after the tick.
  3. Spot-check one row’s side effects.
  4. Switch back to the production cron / interval.
  • Filter in the view so the automation never loads the whole table.
  • Respect data table permissions.
  • Disable the automation to pause the job without deleting it.

Related: Schedule, Database, Loop.