Integrations · PostHog
AI support agent that reads PostHog errors and session replays
Customers rarely describe a problem the way it happened. PostHog knows what they actually did. Oncallly reads the errors PostHog caught for the customer on the ticket and the steps they took just before, with session replay links your engineers can watch.
What Oncallly checks in PostHog
- This customer's errors. From PostHog error tracking, matched by email or user ID, over the last 14 days and grouped by error: type, message, how often, the page it happened on and the top stack frames.
- Errors across your product. Search by the message a customer quoted: how often it happens and how many users it hit. Counts only, no one's personal details.
- What they did before the problem. Their latest events, with the page and time, and their recent sessions with replay links.
Tickets it helps answer
“The page just goes blank after I log in.”
“I clicked invite and nothing happened.”
“Is it just me or is upload broken?”
“I can't reproduce what I did, it just failed.”
What it can and can't do in PostHog
It can
- Find errors PostHog captured for the ticket's customer
- Search errors by message across your product
- See what the customer did before the problem, with replay links
It never
- Change anything in PostHog
- Return other users' personal details
Connect PostHog
- Create a personal API key. In PostHog: Settings → User → Personal API keys → Create personal API key. Limit it to this project.
- Give it read access. Choose Read for Query. That's all Oncallly needs.
- Paste it into Oncallly with your project ID. Pick US or EU cloud, or enter the URL of your self-hosted PostHog.
Common questions
Can an AI support agent use PostHog session replays?
Oncallly finds the ticket customer's recent sessions in PostHog and includes the replay links in its findings, so an engineer can watch exactly what happened. It also reads the customer's recent events and errors.
Does it work with PostHog error tracking?
Yes. Many teams send errors to PostHog instead of Sentry. Oncallly reads those errors, with stack frames, for the customer on the ticket.
Does it work with the EU cloud or self-hosted PostHog?
Yes. Choose US or EU cloud when you connect, or enter your self-hosted PostHog URL.
Can it change anything in PostHog?
No. It uses a personal API key with read access to queries only.
Read next
- IntegrationsAI support agent that checks Sentry for the customer's errorsOncallly finds the Sentry errors that hit the ticket's customer, reads the stack trace and follows it into your code, so bug reports get a cause, not a guess. Read-only, with one permission.
- IntegrationsAI support agent that reads your GitHub code to answer ticketsOncallly reads the repository you choose to answer how-it-works questions and find bugs, routes them to the code owner, and can open a pull request with a tested fix. It never merges.
Let Oncallly check PostHog for you.
Start free, connect your helpdesk and tools, and test it on tickets your team already answered. Nothing is sent.