- ANALYTICS
- SEGMENTS
- GUIDES
- HUMAN
Short answer
How can I send backend events to Gainsight PX using my AI?
You tell your agent to trigger a custom event, and it uses the track_server_event tool to push that data to Gainsight PX. This lets you capture backend actions that client-side tracking misses. You'll see how the data flows below.
Data destinations
Where your event data lands.
Your agent moves data from your backend logic into your Gainsight PX instance.
ANALYTICS
Complete usage data
The AI sends the event payload to Gainsight PX. You get a full view of user behavior including backend-only actions.
SEGMENTS
Targeted user groups
Once the event is logged, you can use that data to build specific user segments in Gainsight PX.
GUIDES
Triggered in-app help
The AI logs the event, which can then trigger specific in-app guides based on that backend activity.
HUMAN
Manual data verification
The AI logs the data, but you'll need to check the Gainsight PX dashboard to confirm the event properties are correct.
The workflow
What your AI does when the event arrives.
The agent acts as the bridge between your backend logic and your product analytics.
Receive trigger
Your agent receives the instruction to log a specific user action from your backend environment.
track_server_eventFormat payload
The AI organizes the user ID, event name, and custom properties into the structure Gainsight PX expects.
track_server_eventExecute call
The agent sends the formatted data to the Gainsight PX endpoint.
track_server_eventConfirm status
The AI verifies that the event was accepted by the platform and reports the result to you.
track_server_event
Try it
Copy these to start.
Use these prompts to trigger your first server-side event.
Starting points
These are opening lines. Swap out the event names and user IDs with your actual product data.
Gainsight PX Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_zpxhuSDqIwhJzOXt4L4O1lB53vte6W8EY1ZNPcTy/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Gainsight PX capabilities are ready to use.
{
"mcpServers": {
"gainsight-px-mcp": {
"url": "https://edge.vinkius.com/vk_preview_zpxhuSDqIwhJzOXt4L4O1lB53vte6W8EY1ZNPcTy/mcp"
}
}
}Log a server-side event to Gainsight PX for user 'user_123' named 'subscription_upgraded'.
Send a custom event to Gainsight PX for the 'api_call_success' event with the property 'plan_type' set to 'premium'.
Track a backend event in Gainsight PX for user 'customer_99' called 'batch_process_completed'.
Log an event to Gainsight PX for user 'dev_user_01' named 'feature_toggle_on' with the property 'feature_id' as 'beta_dashboard'.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Gainsight PX once, then ask.
Just link your account. Your credentials stay encrypted, and you can start sending events immediately through your preferred AI client.
Connect Gainsight PX to your AIFAQ
How this task behaves
- 01
Can the AI change my Gainsight PX settings?
No. The AI only sends event data; it cannot modify your account configuration or settings.
- 02
Does the AI delete user data in Gainsight PX?
No. This MCP only provides the ability to log events. It has no tools to delete or modify existing records.
- 03
Can I send multiple properties with one event?
Yes. You can include custom properties in the event payload when you trigger the tool.
- 04
Do I need to write code to trigger these events?
No. Once the connection is live, you simply tell your agent to log the event in plain English.
- 05
Will the AI automatically create new event names in my dashboard?
Yes. When the AI sends a new event name, Gainsight PX will recognize and record it.
More questions about Gainsight PX? The Connector page answers them. See everything the Gainsight PX Connector can do
Connect Gainsight PX to Claude, Cursor, ChatGPT & more
