Skip to main content
SiGMA World Rome · booth H7-7129 →
§ Article · Channels

X (Twitter) DM auto-reply with an AI agent, including X Chat

People who find you on X write to you in direct messages, and most of them never get an answer: the notification is buried under likes, the reply lands in X Chat where no inbox tool looks, or the account belongs to a colleague who is on holiday. This is how to get every X message into one inbox and have an AI agent answer the routine ones in seconds.

Updated 2026-10-24

Why X (Twitter) DMs go unanswered, and why X Chat broke the inbox tools

A direct message on X looks like every other notification. If your account gets a few hundred likes and mentions a day, the one person asking for a price scrolls past. Many businesses answer X messages once a week, or only when someone complains publicly.

It got worse in 2026. X moved its direct messages into X Chat, an encrypted chat inside the app. A message written there is unreadable to anyone without the chat keys, and that includes the tools that used to pull X messages into a shared inbox. They keep showing the old direct messages and nothing new, so the inbox looks quiet while customers wait.

We ran into this ourselves. We connected an account, sent a test message from a second one, and the reply never arrived: the old X interface for direct messages returned our own outgoing messages and not a single incoming one. Everything the other side wrote had gone into X Chat.

Every X message in one shared inbox: one sign-in, one passcode

DialogBrain connects an X account with a single sign-in with X: press Quick Connect in Connections, authorize the app, and the account is in the inbox next to WhatsApp, Telegram, Instagram and email. No developer portal, no keys to copy.

Then it asks for one more thing: the four-digit passcode you set when you turned on X Chat. The code is used once to restore your chat keys from X's own backup and is not kept. From that moment a message written in X Chat reaches the inbox within seconds, with the sender's name, in the same conversation as the older direct messages with that person. Your replies go out as ordinary direct messages and show up inside X Chat as well.

Type the code carefully. X locks the chat keys after too many wrong attempts, so DialogBrain gives you one try and says so before you type.

What to write in the AI agent's instructions for X DMs

An agent on X behaves exactly like an agent on WhatsApp: it reads the conversation, answers from your instructions and your knowledge base, and hands the hard ones to you. What differs is the place. X messages are short, often from strangers, and often from people who are deciding whether you are real. Give the agent instructions along these lines, in your own words:

"You answer direct messages for [your business] on X. Answer in the language the person writes in, in one or two sentences. We sell [what you sell]; prices are [where the prices are]. If someone asks for a price we do not list, say a person will reply within the hour and stop. Never promise delivery dates or discounts. If the message is about a problem with an order, ask for the order number and hand the conversation to a person. Do not send links unless asked."

Start the agent in Draft mode. It writes, you read the draft, you press send or you fix it. Every fix is one more line in its instructions. After a day or two of drafts it answers most X messages on its own, and the ones it hands over are the ones that needed you anyway.

Sending a first DM on X without a suspension

From the same inbox you can write to someone who has never written to you, by their @handle: a partner you met at a conference, a customer who mentioned you in a post. X delivers the message only if their inbox is open to people they do not follow, or if they shared their X Code with you. When it is not, X refuses the message and DialogBrain shows the refusal next to it, so you know to find another way in.

Two rules keep the account alive. Write about them, not about you: a question about something they posted gets answers, a pitch gets a block. And never send the same text to a list; X suspends accounts for that within hours, and a suspended account takes your customers' messages down with it.

X API pricing per message: what an X auto-reply costs

X charges for its API per message, and DialogBrain passes those prices through to the workspace balance without adding anything: $0.010 for every incoming message, $0.015 for every message you send, $0.015 for a post and $0.20 for a post that contains a link. Each incoming message is counted once per day however many times it is read, and a quiet account costs about a cent per conversation per day for the checks that keep it current.

An account that receives a hundred messages a day and answers all of them costs about $2.50 a day. The form says the per-message price before you connect, and the pause button in the account's card switches realtime off when you want to read on demand instead.

X DMs from ChatGPT or Claude

If you run your business from an AI assistant, the connected X account is there too. Ask it to show new X messages, to answer one, to write first to a @handle, or to publish a post with a picture. The assistant uses the same inbox and the same prices; a trigger on a Claude agent can push each new X message straight into an open session.

§ Q & A
Can an AI agent reply to X (Twitter) direct messages?

Yes. Connect the account with one sign-in, assign an agent, and it answers direct messages and X Chat messages from the same inbox as your other channels. Keep it in Draft mode until its instructions cover what your customers actually ask.

Why does my inbox tool not show new X messages?

Because new messages are written in X Chat, which is encrypted. A tool that reads only the old direct messages sees your outgoing messages and nothing incoming. DialogBrain reads X Chat once you enter your four-digit passcode.

Is it safe to give an app my X Chat passcode?

DialogBrain uses it once to restore the chat keys from X's backup and does not store it. The keys are kept encrypted for that account only and are deleted when you disconnect the chat. Type it carefully, because X locks the keys after too many wrong attempts.

Can I message people on X who have not messaged me?

Yes, by @handle, if their inbox is open to people they do not follow or they shared their X Code with you. Otherwise X refuses the message and DialogBrain shows the refusal. Write about them, one at a time; sending the same text to many people gets the account suspended.

Does X allow automated replies to direct messages?

Yes, for messages people send you: an agent answering an incoming DM is the same as an auto-reply, and X's own API is built for it. What X forbids is unsolicited bulk messaging: sending the same text to many people who never wrote to you. Reply to everyone, write first to one person at a time.

Can I get X DMs in the same inbox as WhatsApp and Instagram?

Yes. In DialogBrain a connected X account sits next to WhatsApp, Telegram, Instagram, Facebook and email in one inbox, with the same agents, folders and team members. A person who writes to you on two channels is one contact.

How much does X charge per message?

$0.010 per incoming message, $0.015 per message sent, $0.015 per post and $0.20 per post with a link, each incoming message counted once a day. DialogBrain charges the workspace balance the same amounts and nothing more.

Put every X message in one inbox and let an agent answer the routine ones.Start free