Commune
AgentAPI

Tag a reader the moment they act

A segment you maintain by hand is out of date the day after you build it. Commune can watch for the thing that puts somebody in a group, move the tag the moment it happens, and then say something to them a day or two later, so the segment and the follow-up are the same piece of work.

Before you start

An automation that moves a tag causes an event, because moving a tag publishes one. Commune refuses to start a run whose chain already contains that automation, so a sequence triggered by the tag it applies does not loop. It also means the second automation you were about to build on that tag may never fire, and the last step of this page is how you tell.

Your agent can make the tag, write the automation and leave it off until you have read the email. This route writes. It creates a tag and a draft automation on your newsletter, and the tag it creates is visible to you in Commune straight away.

Connect once

Add Commune's MCP server to your agent, then approve the consent screen and pick your newsletter. Nothing else to install.

terminal
claude mcp add --transport http commune https://api.usecommune.com/mcp
Step by step for each client

Ask

One prompt does the whole job. Paste it as it is, or change the parts that are yours.

prompt

In my Commune newsletter, make a tag called "Going quiet", then write me a draft automation: when a reader's engagement drops a band, add that tag, wait two days, and send them a short note asking whether they still want the letter. Only when their engagement drops, not when it rises.

Allow somebody to go through it more than once. Do not turn it on, and send me a test copy of the email first.

What it uses

Your agent picks these of Commune's tools to answer. You do not name them; they are here so you know where every part of the answer comes from.

  • commune_read

    Reads the trigger catalog, which is what says that this topic's events are about a subscriber and which properties a filter may name under it. A filter on a property the payload does not carry would match every event.

  • commune_write

    Creates the tag, writes the graph as a draft, sends the test copy, and turns the automation on when you ask. A draft sends nothing.

  • who_is_drifting_away

    Answers how many readers are cooling off right now, which is the size of the group this automation will start reaching.

What comes back

Made the tag and wrote the automation. It is off.

PieceWhat it is
Tag"Going quiet", 0 readers so far
TriggerA reader crossing the engagement ladder
FilterDownwards only, so a reader getting *more* engaged hears nothing
StepsAdd the tag, wait 2 days, send one note
  • Re-entry is on, so somebody who cools off, comes back and cools off again a year later gets the note again.
  • 31 readers are cooling off right now. They will not be tagged retrospectively: the automation reacts to the next crossing, not to the backlog.
  • One thing to decide before you turn it on: adding a tag publishes an event of its own, so if you later build something that triggers on this tag, Commune will refuse to run it from this automation's own tagging rather than loop.
  • The test copy is in your inbox.

An example. Yours comes from your own newsletter.

Worth asking next

  • Turn it on, and tell me next week how many readers it reached.
  • Who is holding the Going quiet tag right now?
  • Pause it for December, and resume it in January without losing anybody's place.

Tips

  • Say which direction you mean. The event fires on every crossing of the ladder, both ways, and an automation with no filter on it emails people for reading more.
  • It reacts to the next crossing rather than to the readers who are already quiet. If you want to reach the existing backlog once, that is a one-off list and a one-off email, not a standing instruction.
  • Ask for the tag's name back. A tag is matched in a condition by id, so a second automation that wants to read this one's tag needs the id rather than the name.

Next use cases

See all