AI sorts each new Intercom conversation: bugs go to Linear, billing questions to billing by email, how-to questions get a suggested reply.

UsesClaudeGmailIntercomLinear

Sort Intercom conversations into bugs, billing and how-to

Support inboxes mix three kinds of message that need different people: bugs for the product team, billing questions for finance, and how-to questions an agent can answer. This sorts each new Intercom conversation with AI and sends it the right way: a Linear issue for a bug, an email to billing, or an internal note with a suggested reply for a how-to question.

The suggested reply is a note only your team sees, so an agent checks it before anything reaches the customer. Pick the Linear team, enter the billing team's email, and connect Intercom, Linear, Gmail and an AI model.

IntercomIntercomWhen an Intercom conversation starts. Save it as conversation.When an Intercom conversation starts. Save it as conversation.
Billing team's emailSet billing_team_email to blank.
Sort the conversation: bug, billing or how-toRun an AI agent: Sort this new Intercom conversation. From: conversation.author_name (conversation.autho… and save it as triage.
Route by type of questionIf triage.output.category is “bug”
Yes
LinearCreate a Linear issue for the bugCreate an issue titled in team triage.output.summary. Save it as bug_issue.Reported in Intercom by conversation.author_name (conversation.author_email). triage.output.details **Customer's message:** conversation.message ...Linear
Else if @triage.output.category is "billing"
GmailForward the billing question to billing@acme.comSend an email to billing_team_email. Save it as billing_email. Subject: Billing question from conversation.author_name: triage.output.summaryA new Intercom conversation was sorted as a billing question by AI. From: conversation.author_name (conversation.author_email) Subject: conversation.subject Intercom conversation id: conversation.id Customer's message: ...Gmail
Else if @triage.output.category is "how_to"
IntercomAdd the suggested reply as an internal noteReply to Intercom conversation conversation. Save it as suggestion_note.<p><b>Suggested reply (drafted by AI, check before sending):</b></p><p>triage.output.suggested_reply</p>Intercom
Otherwise
No steps