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.

Start freeFree to start, no card required. New workspaces start in shadow mode, where nothing is sent without approval.

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.”
Finds the front-end error PostHog caught for this customer and the page it happened on.
“I clicked invite and nothing happened.”
Checks their last events to see whether the invite went through, and links the session replay.
“Is it just me or is upload broken?”
Searches the error across all users to see how many it hit and when it started.
“I can't reproduce what I did, it just failed.”
Lists their steps in order so the reply, or the engineer, starts from what really happened.

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

  1. Create a personal API key. In PostHog: Settings → User → Personal API keys → Create personal API key. Limit it to this project.
  2. Give it read access. Choose Read for Query. That's all Oncallly needs.
  3. 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

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.

Start free