Automations
Let a database act on its own. When something happens, it can change rows, tell people, make Track issues or ask an agent.
Early access
An automation is a rule on a database: when something happens, if the row matches, do one or more things. The Roadmap below has one: when a feature's status becomes Shipped, it fills in Shipped on and tells the feature's owner.
Make an automation
In a database, click Automations (the ⚡ in the toolbar), then New automation.
When: pick what starts it (the list is below).
If (optional): Add conditions so it only runs for some rows, like Status · Is · Shipped. Conditions work like filters, groups and all.
Do: Add action for each thing it should do, up to ten. They run in order.
Click Test to run it on one row and see what it does, then Create automation.
It runs as you, the person who made it. The ⚡ button shows how many of the database's automations are on.
When
| Trigger | Runs |
|---|---|
| Page added | When a row is added |
| Property edited | When any property changes, or only the ones you pick |
| Every… | On a schedule: every day, every week on a weekday, or every month on a date, at a time in your time zone. With For each matching page it runs once for every row that matches the conditions, which is how reminders work |
| Button clicked | When someone clicks a button (below) |
| Form submitted | When someone fills in one of the database's forms |
| Linked issue changes | When a Track issue linked to the row is completed, canceled, started, or changes state at all |
Do
| Action | What it does |
|---|---|
| Edit properties | Changes properties of This page, or of the rows linked through a relation. Dates can be set to today (plus or minus some days), people to whoever triggered it |
| Add a page | Adds a row to this database or another one, from a template if you like. Write {{Name}} in the title to use the triggering row's values |
| Send a notification | Sends a message to the people you pick, the people in a Person property, or The person who triggered it. It arrives in their inbox |
| Call a webhook | Sends the row to a web address of yours, signed with a secret you can copy or rotate |
| Create a Track issue | Makes an issue in a project, with a title, description and priority. It can go to Triage, be handed to the Lead, and be linked back to the row in a Track issue property |
| Ask an agent | Asks an agent a question about the row and writes the answer into a property. Uses AI credits |
Buttons
A button runs an automation when someone clicks it.
- In a database, add a property of type Button. Each row gets the button; its automation runs on that row.
- In a page, type /Button for a button block. Give it a label and a colour, pick the database, then Set up actions.
Turn off, change or check
In the Automations panel:
- The switch next to an automation turns it off and on.
- ⋯ has Edit and Duplicate, and delete. Deleting an automation also deletes its history.
- History lists every run: Queued, Running, Succeeded, Failed or Skipped. Show steps shows what each action did.
An automation's changes can start other automations, up to three in a row, so two rules can't keep setting each other off.
Next: Ask AI.
Was this page helpful?