Recipe: Scheduled Datastore Job
Goal: On a schedule, read records from a datastore and take an action per row (email, HTTP update, or cleanup).
Build the flow
Section titled “Build the flow”- Create a GENERIC automation.
- Add a Schedule trigger (for example cron
0 2 * * *for 02:00 daily). - Add a Database node with action
GET_VIEW(orGET_BY_ID/ filtered logic you support). - Map view outputs to a list variable.
- Add a Loop over that list.
- Inside the loop, add Send Email, HTTP Request, or Database
UPDATE/DELETEas needed. - Save and enable the automation.
- Use a short interval temporarily.
- Confirm executions appear after the tick.
- Spot-check one row’s side effects.
- 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.