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
- @ines@fosstodon.org · comment
GUIDE please! Grinder arrives Friday
- @haldencoffee · DMPrivate mention: only Ines sees it
@ines@fosstodon.org Hey Ines, here’s the guide you asked for. Tell us what you think. postsyncer.com/dm/b8LmQ3
- @haldencoffee · reply under the comment
Sent you a DM
Comment to DM works on these 6 of the 14 networks
How it flows on Mastodon
From a reply to a private mention
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.
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.
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
- Open Automations, pick New automation, then Mastodon, and choose the account.
- Pick one post, every post you send from PostSyncer, or the next one you send.
- Add the words and the reply in the thread.
- Write the private mention and add your link; keep it under 500 characters.
- Name it, then press Turn on, or Save, keep it off.
Or ask your agent
PostSyncer connectedOn 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 onupdate-automationChanges its words, messages or link, or turns it on or offlist-automationsLists your automations and where each one standsget-automationReads one, with the numbers for each steplist-automation-peopleLists who it reached, and the emails they gaveget-automation-usageSays how many people you’ve DMed this monthdelete-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 usHow 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.
Related
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