HedwigDocs

Rules: standing automations

Say a sentence once and it keeps happening: file into a sheet, make a task, pin mail, write a report.

Rule

“When an invoice arrives, add a row to the Invoices sheet with the amount and due date.”

WhenNew mailCheckIs it an invoice?DoAdd a row
FiredStaples Billing · Invoice #4471$1,284.00 · due Oct 31Undo
Say a rule once. Every time it fires it leaves a receipt you can undo.

Make one

Tell Hedwig the rule in a sentence. It compiles it once, shows a dry run over your recent mail (what it would have matched, what it would have pulled out) and you confirm.

“when an invoice arrives, add a row to the Invoices sheet with the amount and due date”

“when someone emails me for the first time, make a todo to reply”

“every weekday at 8, write a short brief of what came in overnight”

What can trigger a rule

New mail (including your sent mail), a document, a task, a calendar event, the board opening, or a time of day (daily or chosen weekdays; it fires on the first open after that time).

The check

A rule’s check has two halves. The hard half is decided from the email itself (sender, domain, subject, folder, reply state, first-time sender, has an invite) and costs nothing. The judgment half is one yes/no question that needs reading, and extract pulls typed values (an amount, a date, a list) to use in the actions. A rule that would read everything is refused with an estimate of what it would cost.

What a rule can do

Create a task, pin the mail as a frame, write to a document, or run an agent and leave a report.

The rules panel

Open it from your profile menu → Rules. It shows Running (with Stop), your Rules (pause, edit, delete), and Receipts: what fired, what almost did, what failed, each with a reason and Undo. Stopping a run takes back what it did.