Automations

AI auto-reply per mailbox

4 min readai-auto-reply

Draft or send AI replies automatically when prospects respond to your outreach.

Every connected mailbox can have an AI auto-reply rule. When the IMAP poller links a new inbound message to a lead, the engine reads the rule for that mailbox and decides what to do.

The three modes
  • OFF — inbound mail just lands in /inbox like before. No AI involvement.
  • DRAFT — the AI writes the reply and saves it as a DRAFT in /inbox. You review + click Send when you're happy. Recommended for new workspaces.
  • AUTO — the AI writes AND ships the reply autonomously after a configurable delay (default 60 seconds to feel human-paced).
The system prompt

By default the AI uses a friendly sales assistant prompt: short replies (3-6 sentences), no made-up features, sign-off "— The FlowMaticX team". You can override this with your own prompt to match your brand voice, pin pricing rules, or instruct the AI to always defer meetings to a discovery call.

Useful patterns:

  • "Never quote a price — always defer to a discovery call" — keeps pricing off email and into the call.
  • "If the customer asks about competitors, redirect to our comparison page at /vs/[competitor]" — routes a specific intent.
  • "Keep replies under 4 sentences. Use British English spelling" — tone + length control.
Safety nets
  • Trigger keyword gate — when set, the AI only replies if the inbound subject/body contains one of the keywords. Leave empty to handle every inbound.
  • Max replies per thread — stops the rule after N bot-vs-human exchanges so a misconfigured bot can't loop forever (default: 3).
  • Send delay (AUTO only) — number of seconds to wait before shipping the reply. Default 60s — make the reply feel human-paced.
  • Booking page link — pick a booking page and the AI will drop the link when it detects meeting intent.
  • Master active switch — pause the rule without losing config.
Where to configure

On /inbox, every mailbox card has a 🤖 AI auto-reply button that opens the rule editor at /inbox/[mailboxId]/auto-reply. Changes save to the AutoReplyRule row for that mailbox and take effect on the next IMAP poll tick (every 5 minutes).