Skip to content
Yardmaster Guide

Act on messages with rules

A rule watches your incoming texts and Gmail, or your sessions, and acts when its condition matches: archive, notify you, reply, forward, or start a session.

Intermediate3 minutes
Open in YardmasterOpens Yardmaster. Don't have it? Download
Yardmaster

A rule acts for you when something happens: a text or email arrives that matches what you described, or a session reaches a status you care about. It can archive the message, notify you, reply, forward it, or start an agent to deal with it.

To have an agent's own words answered for you, use auto-replies instead. They live in the same panel.

Turn on rules#

Rules are off on a new install. Turn on Enable Channel Filters in Settings > Automations. The Automations row then appears in the sidebar under Automation.

Channel FiltersSettings, Automations · Default: OffMaster toggle for automatic message processing with rules or AIOpen in YardmasterOpens Yardmaster. Don't have it? Download

Make a rule#

  1. In the sidebar, open Automation, then Automations.

  2. Click + New rule.

  3. Give it a Name.

  4. Under Where should it apply?, pick the channels (All, SMS or Gmail) and the direction.

  5. Under How does it run?, pick when it runs, for example When a message arrives.

  6. Under When should it trigger?, pick Always, Rules (match words in the sender, subject or body) or AI (describe what to look for).

  7. Under What should happen?, click Add Action and pick one or more actions, in order.

  8. Click Save Recipe.

A rule you make yourself runs as soon as you save it. A rule an agent creates for you waits, marked pending, until you approve it in your Inbox.

What a rule can do#

The actions include Block / Archive, Allow (Whitelist), Notify Me, Auto-Reply, Label, Summarize, Forward, Forward to email, Send Slack message, and three that work on your Claude sessions: CLI Session (start a new session), Send to CLI Session and Archive Session.

Before you save, the Test it card lets you type a sample message and see whether the rule would match and what it would do, without doing it.

Pause or delete a rule#

Each rule in the Automations panel (in the sidebar, Automation > Automations) shows when it last fired and how many times; a rule marked off does not run. To switch one rule off without deleting it, use its switch under Active Recipes in Settings > Automations. To delete it, click it in the panel, click Delete and confirm. To stop every rule at once, turn off Enable Channel Filters.

Automation CredentialsSettings, Automations > CredentialsSaved encrypted secrets used by Automation Engine v2 actions (Slack bot tokens, GitHub PATs, SMTP relays). Configure webhook URLs, username and private key fields, plus the allow high-risk credential kinds gate.Open in YardmasterOpens Yardmaster. Don't have it? Download

Learn Yardmaster, Let it run itself: lesson 3 of 3

Act on messages with a rule

Next lesson

Did this help?