Content: 00387.zip (19.93 KB)
Uploaded: 22.12.2025

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$7.42
This template enables AI agents to send data directly to PostHog via an MCP trigger—no additional code or intermediate processing required. It acts as a lightweight integration layer for real-time analytics collection from AI interactions.

## Who it´s for
- Developers integrating AI agents with PostHog
- Product managers collecting analytics from AI interactions
- Data engineers setting up automated event tracking

## What the automation does
- Triggered by an MCP call from an AI tool
- Creates events in PostHog (e.g., dialog completion)
- Manages user identities (anonymous vs. authenticated)
- Merges profiles using alias creation
- Tracks page and screen views across web and mobile apps

## What´s included
- Ready-to-use n8n workflow
- Logic to handle all supported actions (event, identity, alias, page, screen)
- Integration exclusively with PostHog API and external AI agent via MCP
- Basic text guide for setup and adaptation

## Requirements for setup
- n8n account with workflow editing access
- PostHog API key
- AI agent capable of triggering MCP calls

## Benefits and outcomes
- Collect AI interaction analytics without backend changes
- Unified data flow between AI systems and analytics platform
- Support for core user behavior tracking scenarios
- Scalable solution for multiple AI tools

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via Telegram: @gleb923.
AI to PostHog integration
event tracking in PostHog
user identity management
create alias in PostHog
page and screen tracking
MCP trigger for AI
n8n PostHog integration
AI interaction analytics
event collection without code
AI agents in PostHog
automation with n8n
PostHog API integration
send events from AI
merge user profiles
track user actions
No feedback yet