Intercom Integration
Handle conversations and update user attributes
The Intercom integration connects your AI agents directly to your Intercom workspace โ creating conversations, replying to customers, updating user attributes, and routing conversations to the right team when human escalation is needed.
โจ What Your Agents Can Do
Setup Guide
Create an Access Token
In Intercom, navigate to:
Make sure the app has Read/Write permissions on Conversations and Contacts.
Connect in the Hub
Go to Integrations โ Support and select Intercom. Paste your Access Token.
Set HELPDESK_PROVIDER on your agent
INTERCOM_ACCESS_TOKEN=dG9r...
(Optional) Configure webhooks
Point Intercom's webhook to receive new conversation events in your agent:
Subscribe to: conversation.user.created, conversation.user.replied
โก When Does a Conversation Get Created?
The Customer Support AI automatically opens an Intercom conversation when:
- โ Escalation is triggered (confidence < 0.40)
- โ Customer requests a human agent
- โ Issue is categorized as billing, legal, or account_deletion
Updating User Attributes
Agents can update any custom Intercom contact attribute via the updateUserAttributes action:
Troubleshooting
โ 401 Unauthorized
Your access token may be expired or have insufficient scopes. Regenerate it in Developer Hub with full read/write permissions on Conversations and Contacts.
โ Conversations not appearing
Confirm HELPDESK_PROVIDER=intercom and INTERCOM_ACCESS_TOKEN are set. Check that the email in the payload is a known Intercom contact.
โ "User not found" error
The email address from the conversation must match an existing Intercom contact. Consider creating the contact first via the createConversation action with userEmail.
Ready to connect Intercom?
Under 3 minutes. Your agents handle conversations automatically.
Connect Intercom โ