← Docs · Share and automate

Alerts and triggers

Get an email when a number from a saved query crosses a line, and run queries, notebooks and scripts on a timetable, a data change or a webhook.

Checked against the app on 2026-12-02

An alert watches one number from a saved query and emails people when it crosses a line. A trigger starts work by itself: on a timetable, when a table changes, or when a webhook arrives. Owners, Admins and Editors of a project create both; Viewers can see triggers.

Alerts

Each time it runs, an alert runs its saved query, reads a column from the first row (or the first numeric column), and compares it with a value: greater than, greater than or equal to, less than, or less than or equal to.

  • It emails when the number crosses the line, again when it comes back, and once if the check starts failing. Staying across the line sends nothing.
  • It emails up to 20 workspace members, or by default whoever set it up, who also gets a notification in Fastero.
  • It runs on a cron timetable in the timezone you choose, at most once an hour.
  • If its saved query is deleted, the alert switches itself off and says so.

Create an alert

Ask Claude, connected through the MCP server: "Email me when the failed-orders query goes above 20. Check daily at 8:00, Berlin time." Claude calls fastero_create_alert. Asking again for the same query and condition updates the timetable and recipients instead of adding a second alert.

Turn an alert off or on

Select Agent in the top bar, then Automations. Your alerts are under Repeating tasks, with their timetable, timezone and last run. Select Turn off or Turn on; turned back on, an alert resumes its timetable from now. You see only your own. Claude lists them with fastero_list_schedules and switches them with fastero_set_schedule_enabled.

To call a webhook or a Claude Code routine when an alert fires, attach a callback: see Widget API and callbacks.

Triggers

When a trigger fires, it runs what is attached to it: a saved query and the widgets built on it, a notebook or a Python script. A dashboard's automatic refresh is a trigger too.

Create a trigger

  1. In the Workbench's left menu, open the actions menu next to Triggers (under your workspace's name) and choose Create New. With none yet, select New trigger.
  2. Choose a Trigger Type and fill in its fields.
  3. Enter a Trigger Name and select Save.

To attach it, open a saved query, notebook or Python script and select Auto refresh (on a query) or Auto run (on a notebook or script). Tick the trigger under Available Triggers. The same menu makes a new one with Schedule (cron)… or Attach on data change…. Personal notebooks can't have triggers.

Trigger types

The Trigger Type list includes:

Type Fires when You set
Scheduled Execution A cron timetable comes round, in UTC A chip under Quick Presets, More presets, or a Cron Expression
PostgreSQL channel The database sends NOTIFY on a channel Connection, Channel
BigQuery Table Update A table's last-modified time changes Connection, Schema, Table
Snowflake Stream A stream has data Connection, Snowflake Stream Name
Snowflake COPY History A table has a new load Connection, Schema, Table
Snowflake Metrics (row/bytes) A table's row count or size changes Connection, Schema, Table
Webhook Received A request reaches its webhook The webhook and optional conditions

BigQuery and Snowflake triggers check every Interval (seconds), 5 to 300. A Snowflake Stream trigger consumes the stream when it fires, so use a stream nothing else reads.

Webhook triggers

Under Webhook Configuration, choose Auto-generate new webhook or Use existing webhook. After you save, the webhook's URL and secret are in Settings > Incoming webhooks. Under Webhook Conditions (Optional), add a Field Path (dot notation for nested fields), an Operator and a Value; with no conditions, every request fires the trigger.

Sign each request: an HMAC-SHA256, keyed with the secret, of the Unix timestamp, a dot and the body. The timestamp must be under five minutes old.

ts=$(date +%s); body='{"status":"paid"}'
sig=$(printf '%s.%s' "$ts" "$body" | openssl dgst -sha256 -hmac "$SECRET" | sed 's/^.* //')
curl -X POST "$WEBHOOK_URL" -H 'Content-Type: application/json' \
  -H "X-Fastero-Timestamp: $ts" -H "X-Fastero-Signature: sha256=$sig" -d "$body"

Switch a trigger off

In the left menu, a trigger's actions menu has Switch off (or Switch on) and View logs. Settings > Triggers, under Data & automation, lists every trigger with the same switch. Switching off keeps the trigger. Claude lists triggers with fastero_list_triggers and switches them with fastero_enable_trigger and fastero_disable_trigger.

Related