Contacts & conversations
Autoresponder rules: what to answer and how
Write rules that decide which DMs get which reply — in your own words or by AI — and test them before they go live.
Open Autoresponder in Grow My X Sign-in required.
Overview
Rules decide which DMs get an automatic reply and what it says. Every new DM is checked against your rules from the top of the list down, and the first rule that matches replies — the rest are skipped. A rule has a trigger (“When someone…”), optional conditions (“Only if”), a reply (“Your words” with a few variants, or “AI” with instructions) and optional actions once the reply is sent (move the contact to a stage, add tags, create a follow-up task). The Test console on the same tab shows which rule would fire for any DM, without sending anything.
Before you start
The Autoresponder is set up for this X account (extension running, inbox sync allowed, automation on — see “Autoresponder: answer DMs automatically”). Rules only send while the Autoresponder switch at the top of the page is on. To skip or move contacts by stage or tag, create those stages and tags in the CRM first: the stage and tag pickers only appear when you have some. For rules that reply with AI, connect OpenRouter and pick a Messaging model in Settings → AI models, and fill in Settings → Brand voice.
Steps
- In the sidebar, under Replies, click “Autoresponder”. The page opens on the “Rules” tab.
- Click “New rule” at the top of the “Rules” card (or “Write a rule” if you have none yet). The “New rule” panel opens on the right.
- Type a “Rule name” you'll recognise, for example “Price question”.
- In “Applies to”, keep “All my X accounts”, or pick “Only @yourhandle” so it only answers DMs to this account.
- Under “When someone…”, click one trigger: “Keywords” (the DM mentions a word or phrase you pick), “First message” (someone DMs you for the very first time), or “Anything” (every DM that no rule above it caught).
- For “Keywords”: type a keyword in the “Keywords” box and press Enter; repeat for each one. Then pick “Match”: “Contains” (whole word or phrase anywhere — add * for endings, so pric* catches price, prices, pricing), “Exact”, “Starts with” or “Regex”.
- Under “Only if”, switch on any condition you need: “It's a new conversation”, “You're away”. Set “Cooldown per chat” (0 = every time) and “Only in folder”, and click any stages in “Skip contacts in these stages” or tags in “Skip contacts with these tags” that should never get this reply.
- Under “Reply with”, keep “Your words” and write the reply in the first box. Click “Add a variant” to add other ways of saying it, so replies never look copy-pasted. Check the bubble under “Preview · as Alex sees it”, and click the shuffle button to see another variation.
- Or, under “Reply with”, click “AI” and fill in “What should the AI do?” (for example “Answer questions about the coaching program. If they sound interested, invite them to book a free call.”).
- Under “Then, once the reply is sent”, optionally pick a stage in “Move the contact to”, click tags in “Add tags”, or switch on “Create a follow-up task” and fill in “Task” and “Due in”.
- Leave “Rule is on” switched on and click “Add rule”. A toast confirms it was added, and the rule appears in the list — at the bottom, but above any “Catch-all” rules.
- In the “Test console” card, type a DM that should match into “Their DM”, choose what it is in “It's…” and click “Test it”. The result says which rule fires and why, shows the reply, and lists every rule with “Fires” or “No” and the reason.
Add a ready-made starter rule
- On the “Rules” tab, find the “Starter rules” card.
- Click “Add” to add it as it is, or “Customize” to open it in the editor and change the words first (then click “Add rule”).
- The three starters are “Price question” (catches “how much?” DMs, asks what they need and creates a follow-up task due in 4 hours, at most once per 24 hours per chat), “First message welcome” (a hello for brand-new conversations), and “After-hours away message” (answers anything outside your business hours, at most once per 12 hours per chat).
- A starter disappears from the card once you have a rule with the same name.
Change which rule wins
- Rules are checked from number 1 down; the first one that matches replies.
- Drag a rule by its grip on the left to a new place in the list.
- Or click the ⋯ button on the rule and choose “Move up” or “Move down”.
- Keep “Catch-all” rules at the bottom: anything below them never runs.
Pause one rule without deleting it
- On the “Rules” tab, turn off the switch on that rule's row. The toast says it is off.
- Replies that rule had waiting to go out are cancelled (Activity shows “Rule was switched off”).
- Turn the switch back on any time. In the editor, the same thing is “Rule is on”.
Edit, duplicate or delete a rule
- Click the rule's name (or ⋯ → “Edit”), change it and click “Save rule”. The toast says “Rule saved”.
- To copy it, click ⋯ → “Duplicate”. A new rule opens named “… (copy)” and switched off; change it, switch on “Rule is on” if you want it live, and click “Add rule”.
- To delete it, click ⋯ → “Delete” (or “Delete” at the bottom of the editor), then “Delete rule”. Replies it had queued are cancelled; its history stays in Activity.
- If you close the editor with unsaved changes, it asks “Discard this rule?” — click “Keep editing” to go back, or “Discard”.
Answer price questions and get a reminder to follow up
- Click “New rule”, name it “Price question” and pick the “Keywords” trigger.
- Add the keywords price, pric*, how much, cost and rates, with “Match” set to “Contains”.
- Set “Cooldown per chat” to 24 hours so they don't get the same answer twice in a day.
- Write two or three variants under “Your words”, for example “{Hey|Hi} [first_name|there]! Happy to help — what are you looking to get done?”.
- Switch on “Create a follow-up task”, keep or change “Task” (for example “Pricing question from @[username] — follow up”) and set “Due in” to 4 hours.
- Click “Add rule”, then test “how much is it?” in the Test console.
Send an away message outside your business hours
- Click “New rule”, name it, and pick the “Anything” trigger.
- Under “Only if”, switch on “You're away” and set “Cooldown per chat” to 12 hours.
- Write the away message under “Your words” and click “Add rule”.
- Open the “Settings” tab and mark your open hours in the “Business hours” calendar, then click “Save changes”. Any time not marked open counts as away.
- Make sure this rule stays at the bottom of the list, below your keyword rules.
Never auto-reply to certain people
- Give those contacts a tag (for example “VIP”) or a stage in the CRM.
- Open each rule and click that tag under “Skip contacts with these tags” (or the stage under “Skip contacts in these stages”), then click “Save rule”.
- If the contact gets the tag or stage after a reply was queued, the reply is cancelled before it goes out (“Contact no longer matches the rule”).
Let the AI answer one topic
- Create a “Keywords” rule for the topic (for example coaching, program, call).
- Under “Reply with”, click “AI” and describe what the replies should do in “What should the AI do?”.
- Put the facts it may use (prices, links, what's included) on the “Knowledge” tab: the AI never invents prices or links.
- In the Test console, tick “Write the AI reply too” and click “Test it” to see a sample. This uses a real AI call.
Settings
| Setting | Where | What it does | Default |
|---|---|---|---|
| Rule switch (in the list) | Autoresponder → Rules → the switch on each rule's row | On: the rule is checked for every new DM. Off: it is kept but never fires, and replies it had waiting are cancelled. | On for new rules and starter rules; off for a duplicated rule |
| Rule name | Rule editor (“New rule” / “Edit rule”) | Your name for the rule (up to 80 characters). It shows in the list, in Activity and on the CRM timeline. Required. | — |
| Applies to | Rule editor | “All my X accounts” = the rule answers DMs on every account you connect. “Only @yourhandle” = only on the account picked at the top; the list shows it with a “This account only” badge and other accounts don't see it. | All my X accounts |
| When someone… | Rule editor → When someone… | The trigger. “Keywords”: the DM mentions a word or phrase you pick (what they typed). “First message”: their very first message in that chat. Story reply and Story mention are legacy compatibility types and unavailable on X. “Anything” (shown as “Catch-all” in the list): every DM no rule above it caught — except a bare ❤️ or a reaction, which never get replies. | Keywords |
| Keywords | Rule editor → When someone… → Keywords (only for the Keywords trigger) | The words or phrases to look for. Press Enter after each one. Caps, accents and emoji are fine. Up to 50 per rule. At least one is required. | — |
| Match | Rule editor → When someone… → Keywords | “Contains”: the whole word or phrase appears anywhere in the DM (“price” doesn't match “priceless”); add * for endings, so pric* = price, prices, pricing. “Exact”: the whole DM is the keyword (punctuation and caps ignored). “Starts with”: the DM begins with the keyword. “Regex”: a regular expression, case-insensitive, for power users — up to 200 characters, and patterns with nested repeats like (a+)+ are refused. | Contains |
| It's a new conversation | Rule editor → Only if | On: the rule only fires when nothing happened in that chat for the last 24 hours. Off: it fires in ongoing chats too. | Off |
| You're away | Rule editor → Only if | On: the rule only fires for DMs that arrive outside your business hours (set them in the Settings tab's “Business hours” calendar). Off: it fires at any time. | Off |
| Cooldown per chat | Rule editor → Only if | The rule fires at most once per this many hours in the same chat. 0 = every time. Up to 720 hours. | 0 hours |
| Only in folder | Rule editor → Only if | “All supported conversations” or “X Chat”. Both use the main X Chat inbox in this release. Message requests and General folders are unavailable. Legacy rules using them must be changed to a supported folder or turned off. | All supported conversations |
| Skip contacts in these stages | Rule editor → Only if (shown when you have CRM stages) | Click stages to skip: contacts in any of them never get this rule's reply. Checked again right before sending. | None |
| Skip contacts with these tags | Rule editor → Only if (shown when you have CRM tags) | Click tags to skip: contacts with any of them never get this rule's reply. Checked again right before sending. | None |
| Reply with | Rule editor → Reply with | “Your words”: one of your variants is picked at random and sent. “AI”: the AI writes the reply in your brand voice from your instructions, the last 15 messages, the contact's profile and your knowledge base, in 1–3 short sentences, and never invents prices or links. | Your words |
| Reply variants | Rule editor → Reply with → Your words | Up to 10 ways of saying the reply, up to 1,000 characters each (sent replies are cut at 900). Use {Hi|Hey|Yo} to rotate wording and [first_name|there] for variables: [first_name], [full_name], [username], [category]. The word after | is used when the value is missing — [first_name] is only filled when their name looks like a real first name. “Add a variant” adds a box; the bin button removes one. At least one is required. | — |
| What should the AI do? | Rule editor → Reply with → AI | Instructions for this rule's AI replies, up to 2,000 characters. Put how to behave here and the facts on the Knowledge tab. If someone asks for a real person, it says you'll reply personally and a task lands on your list. Required when “AI” is picked. | — |
| Move the contact to | Rule editor → Then, once the reply is sent | Moves the contact to this CRM stage after the reply is sent (logged on their timeline). “Don't change the stage” leaves it. | Don't change the stage |
| Add tags | Rule editor → Then, once the reply is sent (shown when you have CRM tags) | Tags added to the contact after the reply is sent. | None |
| Create a follow-up task | Rule editor → Then, once the reply is sent | On: after the reply is sent, a task lands in Next moves so a person closes the loop. “Task” is its title (up to 200 characters; [username] and [first_name|there] work). “Due in” is hours after the reply, up to 720; 0 = no due date. Off: no task. | Off (Task “Follow up with @[username]”, due in 24 hours) |
| Rule is on | Rule editor, at the bottom | Switch off to keep the rule without using it. Same as the switch in the list. | On |
| It's… | Autoresponder → Rules → Test console | What kind of DM you are pretending to send: “A text message”, “A photo or video”, “A link” or “A ❤️ reaction”. “Their DM” must be filled in for a text message. | A text message |
| X Chat | Autoresponder → Rules → Test console | Tests automatically use the main X Chat inbox, including any folder condition on your rule. There is no folder selector. | X Chat (fixed) |
| Their first message ever | Autoresponder → Rules → Test console | Tick to pretend this is their first message in the chat (also counts as a new conversation), so “First message” rules and “It's a new conversation” conditions can match. | Off |
| Write the AI reply too | Autoresponder → Rules → Test console | Tick to also write a sample AI reply when an AI rule or the AI fallback would answer. Uses a real AI call (counts toward your daily AI limit). Off: the result only says the AI would write it. | Off |
What you’ll see
Your rules are listed in priority order with a number, the trigger (“Keywords”, “First message” or “Catch-all”), the keywords, small badges for conditions (“New chats”, “Away only”, “Once per 24h”, “Skips some contacts”, “X Chat only”…), “AI reply” or the number of variants, and how many replies each one has sent. Under the list, a line says whether the AI fallback answers DMs nothing matched, or they wait for you. When a rule fires for a real DM, Activity shows its name in the “Rule” column.
Fix a problem
The Test console lists my rule as “No” with “Not checked — "Other rule" fires first.”
A rule higher in the list caught the DM first. Drag your rule above it (or use ⋯ → “Move up”), and keep “Catch-all” rules at the very bottom.
The Test console says “No keyword matched.” for “pricing?” although my keyword is “price”.
“Contains” matches whole words only. Use pric* (a * at the end matches any ending), or add “pricing” as its own keyword.
The Test console says “Away rule — it came in during business hours.”
Rules with “You're away” only fire outside your business hours. The test uses the current time. Check the “Business hours” calendar on the Settings tab (and the time zone shown in its subtitle).
The Test console says “Only fires on new conversations.”
The rule has “It's a new conversation” switched on, so it only fires when the chat was quiet for 24 hours. Tick “Their first message ever” to test it that way, or switch the condition off if it should fire in ongoing chats too. (A rule's “Cooldown per chat” isn't checked in the console; in real chats it simply lets the next rule — or the AI fallback — answer.)
The editor asks you to choose an X Chat trigger and folder.
Choose Keywords, First message or Anything, and set Only in folder to All supported conversations or X Chat. You can turn a legacy rule off while retaining its history.
“Add rule” shows “Give the rule a name you'll recognise.”, “Add at least one keyword.”, “Write at least one reply.” or “Tell the AI what these replies should do.”
Fill in the field the message sits under: a name, at least one keyword (press Enter after typing it), at least one reply variant, or the AI instructions.
A regex keyword shows “Nested repeats like (a+)+ aren't allowed.” or “Not a valid regular expression.”
Simplify the pattern (no repeats inside repeats, no backreferences, up to 200 characters), or switch “Match” to “Contains” and use plain keywords with *.
Saving fails with “You can have up to 100 rules.”
The limit is 100 rules for all your X accounts together. Delete rules you no longer use, or merge similar ones (one rule can hold up to 50 keywords).
There is no “Skip contacts in these stages”, “Skip contacts with these tags” or “Add tags” field.
Those pickers only appear when you have stages or tags. Create them in the CRM, then reopen the rule.
A rule I made is missing on another X account.
Rules set to “Only @handle” only show and fire on that account. Open the rule from that account and set “Applies to” to “All my X accounts”.
A story reply or mention didn't trigger my story rule.
X has no Stories. Open the rule and choose Keywords, First message or Anything for supported X Chat messages. Historical story records remain readable, but new or enabled story rules are rejected.
Type the exact DM into the Test console, pick the same kind of message, and click “Test it”: the list under the result shows every rule with “Fires” or “No” and the reason. Tests use X Chat automatically. The console doesn't know who the person is, so it doesn't check stage or tag conditions or cooldowns; business hours are checked against the current time. If the console says a rule fires but the real DM wasn't answered, open Activity: the DM's row says why it was skipped (for example “You replied by hand recently — staying out of it” or “Daily auto-reply cap for this chat reached”).
Limits and safety
- Up to 100 rules for all your X accounts together. The first matching rule wins, and a chat gets at most one reply per batch of DMs.
- Up to 50 keywords per rule (100 characters each; a regex up to 200). Matching ignores caps, accents and extra spaces; emoji work.
- Keyword rules match the message text read from supported X Chat conversations.
- Up to 10 reply variants of up to 1,000 characters; replies that go out are cut at 900 characters.
- A catch-all rule never answers a bare ❤️ or a reaction to an earlier message.
- Keyword rules still answer goodbyes and thank-yous (you asked for that word) even when “Let them have the last word” is on; every other trigger leaves those alone.
- New rules are added at the end of the list, but above any catch-all rules, so a catch-all doesn't swallow them.
- Right before a reply goes out it is checked again: a rule switched off or deleted cancels it, and so does a contact that moved into a skipped stage or tag, or a chat moved out of the rule's folder.
- Stories, General folders and message requests are unavailable in the current X connection.
- The Test console never sends anything. Its “Write the AI reply too” option is a real AI call that counts toward your daily AI limit.