Skip to main content
Rules run on every transaction during a sync, before it is written to the destination. Each rule pairs a set of conditions with one action: skip the transaction, email you about it, or transform what gets written. Rules live in rulesets: named, reusable lists of up to 50 rules. Build a ruleset once on the Rules page, then attach it to a sync from the sync’s Rules tab. Rules run in order; drag to reorder.

Conditions

A rule matches when any condition group matches, and a group matches when all of its conditions do (OR across groups, AND within a group). Conditions can test: String fields support contains, equals, starts with, ends with, pattern matching (* and ? wildcards, e.g. SQ *), emptiness checks, and list membership. Numeric fields support greater than, less than, equals, and between.

Actions

When several transform rules match one transaction, the first rule (in order) wins each field. A matching skip rule stops evaluation.

Placeholders

Merchant, description, note, and tag values can include placeholders, filled in from the transaction before any transforms apply: {merchant}, {description}, {category}, {subcategory}, {amount}, {account}, {reference}, {date}. For example, a note of Review: {merchant} on {date}.

Where the outputs land

Category actions write the same Custom Category and Custom Category Group fields as custom categories, on Google Sheets, Notion, and Webhook destinations. Notes and tags get their own fields: The columns only appear once the sync has a note or tag rule attached, and the sync must have Include custom categories switched on (the same toggle that gates the category columns). YNAB has no note or tag fields. Merchant and description changes apply on every destination.

Suggestions

When you correct categories or merchant names directly in your destination, the Suggestions tab on the sync picks up repeated corrections and offers to turn each one into a rule. Accepting creates the rule in the sync’s ruleset; future syncs apply it automatically.

Rules and the API

Rulesets, rules, previews, and attachment are all available over the REST API, including a dry-run preview endpoint that shows what a ruleset would do to recent transactions without writing anything.