subtext_url, opens that visitor’s real session, and walks the decisive moments with screenshots, the component tree, network, and console. Pendo detects; Subtext diagnoses.
This guide assumes the Subtext capture snippet is installed and capturing sessions, and the Pendo agent snippet is installed on the page. No field setup is required — a value sent client-side via the snippet lands as agent metadata, which Pendo creates automatically the first time it receives it. Optionally give
subtext_url a friendly display name under Pendo → Settings → Metadata.Attach the session URL
Store the current Subtext session URL on the Pendo visitor so it travels with the visitor into every segment and report. It lands on the visitor’s agent metadata, and the field needs no declaring first: Pendo creates the agent metadata the first time the snippet sends it. Attach the URL withpendo.updateOptions once the visitor is known. In React, put it in the same useEffect as FS('setIdentity'). If the visitor is already known at boot, you can set it in the initial pendo.initialize call instead.
From signal to session
However you first hear about a problem in Pendo — a low NPS score, a dismissed guide, a path that loses visitors — the path is the same: get to thesubtext_url, then hand it to your agent for a Detect-vs-Diagnose read. Pendo flagged the drop or the low score; the session shows whether the guide rendered over the right element, whether the step was confusing, or whether something was simply broken.
An NPS or poll detractor notification
An NPS or poll detractor notification
Pendo notifies you of a detractor: NPS 2 with a comment like “the new dashboard is confusing.”Open the responding visitor: Visitors → visitor details → Metadata → copy
subtext_url. Then hand it to your agent:A guide with low completion or high dismissal
A guide with low completion or high dismissal
Your Pendo guide engagement report shows an onboarding guide being dismissed far more than completed.Build a segment of visitors who dismissed the guide, open their visitor records, and copy
subtext_url from each. Grab a few, then hand them to your agent:A path or funnel drop-off in the product review
A path or funnel drop-off in the product review
A Pendo Paths or Funnels report shows visitors dropping at a specific step of a key workflow.Segment the dropped visitors and copy
subtext_url from each visitor’s metadata:For agents
An autonomous agent can run the whole loop against Pendo directly: discover the friction, extract thesubtext_url, and hand each session to the Subtext MCP. Pendo ships an official MCP server — remotely hosted, OAuth-authenticated, and it respects your existing Pendo permissions (pendo.io/product/mcp). Use the MCP to confirm the metadata field and aggregate for hotspots; for deterministic single-visitor subtext_url reads, Pendo’s REST API is exact.
1
Discover who is affected
Aggregate paths, funnels, guide engagement, or NPS and poll responses to find drop-offs and dismissals. Over the MCP, use the query tools (
activityQuery, with an App ID from list_all_applications, plus searchEntities to find pages and features, guideMetrics for guide engagement, and npsScore for NPS). Over REST, POST the Aggregation API with a pipeline source — pollsSeen / pollEvents for NPS and polls, guide-engagement or path/funnel aggregations for dismissals and drop-offs, and visitor / feature / page activity for low-adoption hotspots.2
Extract the session URL
Read
subtext_url off the visitor’s metadata. Confirm the field first with the MCP’s visitorMetadataSchema, then read it deterministically per visitor over REST:metadata is grouped by origin (agent, custom, salesforce, …): fields sent by the install snippet land under metadata.agent, while custom fields are added manually in Pendo or via the API — the snippet never writes them.3
Hand off to Subtext
For each URL, call
review-open(session_url=<subtext_url>) on the Subtext MCP → a Detect-vs-Diagnose summary: Pendo flagged the dismissal or the drop; the session shows whether the guide mis-positioned, mistimed, or covered the UI.subtext_url only round-trips if it was written as visitor metadata at capture time (see Attach the session URL). Pendo’s published tool list varies by source — the authoritative list is the Pendo help center, not third-party catalogs.Related
- Session Review overview — what your agent does once a session is open.
- Install the capture snippet — required before any session URL exists to attach.

