The Pendo integration with Intercom's Fin AI Agent gives Fin access to real-time session data from Pendo during active support conversations. Joint Pendo and Intercom customers can use this to help Fin understand what a visitor was doing in the app before contacting you, so it can deliver faster, more relevant answers.
If you connect a custom agent instead of Fin, see Improve custom agent resolution rate with session context (beta).
Note: Pendo also offers a separate integration that lets Fin surface relevant Pendo guides directly in chat. The two integrations work well together, but each has its own setup procedure. If you want Fin to offer in-app walkthroughs from Pendo, see Serve Pendo guides using Intercom Fin.
Use cases
This integration lets Fin look up a visitor's recent session activity in Pendo when they start a support conversation. Pendo and Intercom customers can use this context to:
- Reduce back-and-forth by giving Fin visibility into what the visitor already tried.
- Improve resolution accuracy by grounding Fin's responses in actual user behavior, not just the visitor's description of the problem.
- Shorten time-to-resolution by skipping basic troubleshooting steps when session data shows the visitor has already completed them.
How it works
The integration connects Pendo session data to Intercom's Fin AI Agent so Fin can retrieve visitor context during a live conversation. The end-to-end flow works like this:
- A visitor starts a support conversation in Intercom Messenger and describes an issue.
- Fin calls the Pendo integration to retrieve the visitor's recent session activity, including Pages visited, tagged Features clicked, tagged Track Events called, and related frustration signals. Untagged clicks and Track Events are omitted from the returned activity timeline.
- With the session data available, Fin can reference what the visitor was doing, acknowledge steps already taken, and provide a more targeted answer.
- The session data lookup is configured through a data connector in Intercom. Pendo surfaces the session data through the MCP server, and Fin references it as part of its response generation.
Tip: For best results, give your Pages and Features descriptive names and descriptions in Pendo. Fin uses these names when referencing session activity, so clear labels like "Billing Settings Page" or "Export CSV Button" help Fin communicate precisely about where the visitor was and what they did.
Before you begin
To complete this setup, you need:
- An Intercom workspace with Fin enabled.
- An agent set up in Agent Toolkit with the MCP connection in place. This creates the authentication token and Pendo MCP data connector in Intercom that the session context tool relies on. See Set up an agent in Agent Toolkit.
- Semantic search turned on in Pendo Subscription settings > AI access. If this setting is off, your subscription may have opted out of Google AI features, and the session context integration with Fin is unavailable.
Step 1. Set up your agent and connect MCP
The agent, authentication token, and Pendo MCP data connector are all set up in the Agent Toolkit setup wizard. If you haven't done this yet, follow Set up an agent in Agent Toolkit, then return here to enable the session context tool in Fin.
Step 2. Enable the getSessionActivity data connector in Fin
The getSessionActivity data connector exposes the getSessionActivity tool to Fin. This is the tool Fin uses to look up a visitor's recent Pendo session activity and base its answers on what the visitor actually did in your app.
In the Intercom app:
- Go to Settings in the bottom-left corner.
- Under Integrations, select Data connectors. The Pendo MCP server you added during agent setup is listed.
- Find the MCP server you added during agent setup, then select New Pendo Support Agent MCP connector.
- Select the
getSessionActivitytool, then select Add connectors. This populates the data connector in the table. - Select the newly added
getSessionActivityfrom the table under the Name column, then select Edit in the top-right corner.
- Under Data inputs, select + Data input.
- For Data source, select Select data attribute, then choose the Intercom attribute that uses the same value as the Pendo Visitor ID so Fin can pass the user ID into the connector. Use this same value in the remaining steps.
- Select Save.
- Scroll down to the Body section. With your cursor, click between the two double quotes here:
"arguments":{"visitorId":"", then select Add data and choose the same attribute you added in step 7. This maps the selected Intercom attribute to thevisitorIdargument in thegetSessionActivitytool.
- Scroll down to the Test section, and enter a Test value that matches the format of the Visitor ID in Pendo.
- Optionally, we recommend allowing Fin to use this connector outside of a workflow or procedure. To do this, open the Fin tab, then turn on the Directly toggle.
- When ready, select Set live in the top-right corner to make the data connector available in Fin.
When the data connector is live, Fin can call the getSessionActivity tool whenever a visitor starts a conversation. Fin queries Pendo for recent session context and uses this information to tailor its responses during support interactions.
Collect all console and network errors
Without this setting, Pendo captures console and network errors from your web apps only while a Session Replay recording is active. Turn on Collect all console and network errors to have the Pendo Web SDK send error-level console logs and failed network requests from your agent's apps at all times. This adds to the session context available to your agent. Network error response bodies are collected and redacted by default.
To use this setting, your apps must run web SDK version 2.338.0 or later.
Important: Console and network errors can contain sensitive data from visitor sessions. Check that collecting them aligns with your company's data policies before you turn this on.
- From the left-side menu in Pendo, open Agent Toolkit and select your agent.
- Open the Session context tab.
- Under Enable session context for your agent, turn on Collect all console and network errors.
- Review the data notice, enter I accept in the confirmation field, then select Enable.
Note: If your subscription includes Session Replay, the errors you collect with this setting also appear alongside your replays. For more information, see Use developer tools in Session Replay.
For subscriptions without Session Replay, the same setting is also available under Settings Subscription settings Applications your app Basic settings. Turning it on or off in either place changes the same setting.
To stop collecting, turn the setting off and select Disable. Pendo then captures console and network errors only while a Session Replay recording is active.