# Escalate AI agent conversations to Intercom > Connect Intercom so your AI agent can escalate a conversation by opening an Intercom ticket for your support team The Intercom integration lets your QwryAI agent escalate a conversation by creating a ticket in your Intercom workspace. Your agent handles routine questions, and when a customer needs a person, it opens a ticket with an AI-written summary and a note linking the full conversation. Tickets can be created from any channel where the [Escalations](/docs/user-guides/chatbot/actions/escalate-to-human) Action runs. ## Before you start * A QwryAI account with an agent. * An Intercom workspace, in the US, EU or Australia region, and an Intercom teammate who can install apps in it. ## How to connect Intercom **1. Open your agent** Sign in to your [QwryAI dashboard](https://www.qwryai.com) and select the agent you want to connect. **2. Connect Intercom** Open **Integrations** and select **Connect** on the **Intercom** card. An Intercom window opens. Sign in, choose the workspace and select **Authorize access**. The window closes and the card shows **Connected**. ![The Intercom card on the Integrations page, Connect Intercom so that your AI agent can escalate tickets to humans., with the pointer on Connect.](annotated/01-integrations-card.webp "Integrations › Intercom › Connect.") When you connect, QwryAI looks for a customer ticket type named **QwryAI Support** in your workspace and creates it if it doesn't exist. Every escalation uses that ticket type. **3. Create the Escalations Action** Create an **Escalations** Action with **Intercom** as the **Ticket Platform**. See the [Escalations guide](/docs/user-guides/chatbot/actions/escalate-to-human). > [!TIP] > > Test the integration by asking your agent to speak to a person, and check that a **QwryAI Support** ticket appears in Intercom. ## What the ticket contains The agent makes sure it has the customer's email first, asking for it if needed. | Intercom field | What QwryAI sends | | - | - | | **Ticket type** | **QwryAI Support** | | **Title** | A short title the agent writes from the customer's issue | | **Description** | An AI-written summary of the issue, from the customer's point of view | | **Contact** | The Intercom contact with the customer's email. If none exists, QwryAI creates a lead with that email. | QwryAI then adds a note to the ticket, *conversation link in QwryAI:*, with a link to the conversation in your QwryAI **Inbox**. The note is posted as the Intercom teammate who connected the integration. ### Example A customer asks to move their annual plan to a different card before it renews. The agent asks for their email, then creates a **QwryAI Support** ticket: * **Title:** Change payment card before annual renewal * **Description:** My annual plan renews next week and I need to switch it to a new card. * **Note:** conversation link in QwryAI, followed by the link ## What the customer sees The agent tells the customer the ticket was created and keeps replying in the chat. Your team works the ticket in Intercom, and its replies reach the customer the way Intercom sends them. They don't appear in the QwryAI chat. ## Intercom compared with QwryAI Helpdesk | | Intercom | QwryAI [Helpdesk](/docs/user-guides/chatbot/help-desk/help-desk-overview) | | - | - | - | | Where your team works | Intercom | **Tickets** in QwryAI | | The agent after escalating | Keeps replying in the chat | Stops replying; the ticket takes over the conversation | | Your team's replies | Reach the customer through Intercom | Reach the customer in the same chat or thread | ## Troubleshooting > [accordion] Connecting fails with "Failed to connect Intercom" > > Intercom didn't finish the authorization, or the teammate can't install apps. Ask an Intercom admin to connect, or check the teammate's permissions, then try again. > [accordion] Connecting says the authorization expired > > *Intercom authorization expired. Please connect again.* The Intercom window stayed open too long. Select **Connect** again. > [accordion] Tickets stopped being created, but the card still says Connected > > The app was removed from Intercom or its access was revoked. When QwryAI notices, the card shows *Intercom access was revoked* and a **Reconnect** button. Reconnect and test again. > [accordion] The ticket shows no customer name > > QwryAI matches or creates the contact by email only. If the contact is new, Intercom shows it as a lead with just the email. ## Frequently asked questions > [accordion] Does QwryAI create an Intercom ticket or a conversation? > > A ticket, of the **QwryAI Support** type. > [accordion] Does the integration work with EU or Australia workspaces? > > Yes. QwryAI works with Intercom workspaces in the US, EU and Australia regions. > [accordion] Do replies from Intercom show up in the QwryAI chat? > > No. Your team's replies reach the customer through Intercom. > [accordion] What happens to my Actions if I disconnect Intercom? > > Disconnecting deletes the **Create ticket** Actions that use Intercom. The confirmation dialog lists them first. > [accordion] Does creating an Intercom ticket use credits? > > No. Only the agent's reply uses credits, as usual. ## Next steps > [card] Escalations Action | /docs/user-guides/chatbot/actions/escalate-to-human | Choose when your agent escalates, which details it collects and which channels it escalates from.