Skip to content
Black Friday: 40% off the first year, until December 1

Mastodon DM automation

Send a Mastodon private mention to everyone who replies with your word

Pick a word, like GUIDE. When someone replies to your Mastodon post with it, PostSyncer sends them a private mention with your link, then answers in the thread. It runs on your own account, on whichever server you’re on, with no bot to write or host. It works on the posts you send from PostSyncer.

  • No card for free
  • Cancel anytime
  • Unlimited posts on paid plans
See plans and prices
Mastodon · @haldencoffee@mastodon.social
  1. @ines@fosstodon.org · comment

    GUIDE please! Grinder arrives Friday

  2. @haldencoffee · DM

    @ines@fosstodon.org Hey Ines, here’s the guide you asked for. Tell us what you think. postsyncer.com/dm/b8LmQ3

    Private mention: only Ines sees it
  3. @haldencoffee · reply under the comment

    Sent you a DM

Example: a reply with GUIDE on Halden Coffee’s Mastodon post, and the private mention it brings.

Comment to DM works on these 6 of the 14 networks

On Mastodon the DM is a private mention that carries your link, sent to the person who replied and no one else. A Mastodon account connected to PostSyncer can send them already: there’s nothing to reconnect.

How it flows on Mastodon

From a reply to a private mention

  1. Someone replies with your word

    While an automation is on, PostSyncer reads your mention notifications every minute. A public reply to your post, or to a reply on it, counts as a comment. If it holds one of your words as a whole word, the automation takes it.

  2. A private mention with the link

    PostSyncer posts a private mention from your account, in reply to their comment. It starts with their handle, so only they and you can see it, then carries your line and your link.

  3. A reply in the thread

    Once the private mention went out, your account replies under their comment with one of your lines, at the visibility your account posts with. The public reply mentions no one.

What they see

A private mention, on any server

Mastodon has no separate inbox for DMs. A direct message is a post only the people it mentions can see.

Where it shows

The person gets a notification for the private mention, and it sits under their own comment in the thread, visible only to them and to you. Whatever app or server they use, it reads the same.

Only their handle

A private mention reaches everyone it names, so PostSyncer names only the person who commented. Any other @handle in your message, or in a display name filled in for {first_name}, stays plain text.

The link

The link is a short PostSyncer address made for that person, which opens your page and counts the first open. Mastodon counts every link as 23 characters, however long it is.

Your reply in the thread

Everyone reading the thread sees your public reply, one of up to five lines picked at random, so they know answering with your word works.

Do it yourself or let your agent

Set it up in the app, or ask for it in a chat

Set it up under Automations, or from the composer’s Options for a Mastodon post you’re writing. ChatGPT, Claude and other assistants connected through the MCP server can set it up the same way.

In the app

  1. Open Automations, pick New automation, then Mastodon, and choose the account.
  2. Pick one post, every post you send from PostSyncer, or the next one you send.
  3. Add the words and the reply in the thread.
  4. Write the private mention and add your link; keep it under 500 characters.
  5. Name it, then press Turn on, or Save, keep it off.

Or ask your agent

PostSyncer connected

On our Mastodon account, send the brew guide to anyone who replies GUIDE to our next post. Keep it off for now.

  • list-accounts@haldencoffee@mastodon.social
  • create-automationMastodon brew guide, saved off

Saved and off. Once it’s on, anyone who replies GUIDE to your next post from PostSyncer gets a private mention with the guide link, and a reply in the thread.

Mastodon’s rules

How PostSyncer fits Mastodon

Your server’s character limit

The setup holds a message to 500 characters, the usual Mastodon limit. When it goes out, PostSyncer fits it to your server’s own limit, counting each link as 23 characters as Mastodon does, and never cuts their handle or the link.

Replies your filters hold back count too

Mastodon can keep notifications from people you don’t follow or new accounts out of your view. PostSyncer still reads them, because a reply with your word is a comment whoever wrote it.

Private replies don’t start it

Only public, unlisted or followers-only replies count as comments. A private mention someone sends you, and your own replies, don’t start an automation.

No reconnect needed

Comment to DM asks Mastodon for no extra permission: the account you already connected sends the private mentions as it is.

A closer look

Running it on Mastodon

Posts sent from PostSyncer, within 7 days

An automation watches posts PostSyncer sent or scheduled for you; a post written in a Mastodon app isn’t one it knows. Replies older than 7 days, or from before you turned it on, are left alone. There’s no follow check or email ask on Mastodon.

The results

A Mastodon automation shows comments, private mentions sent, people who got the link and people who opened it. The people list shows each reply and its post, and exports as a CSV.

People a month

Each plan includes a number of people DMed a month. Someone counts once a month on Mastodon. At the limit your automations pause until the 1st, and start again at once if you move up a plan. The free plan runs one automation at a time.

Once per post

Each person gets the private mention once per post from each automation, however many replies with your word they leave there.

Works from your AI tools

The same feature, from your agent or your code

Your AI assistant can set up a Mastodon automation, change its message, turn it on when you say so, and tell you how many people opened the link.

The tools your agent gets

  • create-automationSets one up, saved off unless you ask for it on
  • update-automationChanges its words, messages or link, or turns it on or off
  • list-automationsLists your automations and where each one stands
  • get-automationReads one, with the numbers for each step
  • list-automation-peopleLists who it reached, and the emails they gave
  • get-automation-usageSays how many people you’ve DMed this month
  • delete-automationDeletes one and its people list

FAQ

Questions about Mastodon DM automation

Still not sure? Our own team answers the live chat, on every plan.

Chat with us

How do DMs work on Mastodon?

A Mastodon DM is a private mention: a post only the accounts it mentions can see. PostSyncer sends one that mentions only the person who replied, in reply to their comment.

Do I need to host a bot?

No. It runs on the Mastodon account you connected to PostSyncer, on your own server. There’s no bot account, code or server to keep running.

Do I need to reconnect my Mastodon account?

No. The permission PostSyncer asks for when you connect Mastodon already lets it send private mentions.

Can I ask for an email on Mastodon?

No. PostSyncer doesn’t read answers to the private mention, so there’s no email ask or follow check. Those work on Instagram, Facebook and Telegram.

Is it free on Mastodon?

Yes. On the free plan, one automation at a time answers replies to your Mastodon posts, on whichever server you’re on. Each plan includes a number of people DMed a month. Paid plans run as many automations as you like.

Does it work on any Mastodon server?

It works on the server your connected account is on, and fits each message to that server’s character limit.

Turn Mastodon replies into private mentions

Send a private mention to everyone who replies with your word, on every plan, Free included. Start free, no card, connect your Mastodon account and set up your first automation.

  • No card for free
  • Cancel anytime
  • Unlimited posts on paid plans