Relevance AI
Relevance AI
PostHog logo

PostHog integration

Product Analytics? Session Recording? Feature Flags? Experiments? PostHog does that. Open source, backed by @ycombinator.

What your agents can do with PostHog

6 pre-built PostHog tool steps, ready to drop into any agent. Anything they do not cover, an agent can reach with an authenticated API call.

Actions (5)

Get Surveys

Retrieve a list of surveys.

Get Persons

Retrieve a list of persons.

Get Cohorts

Retrieve a list of cohorts.

Create Query

Create a HogQLQuery and return the results.

Capture Event

Captures a given event within the PostHog system.

Triggers (1)

New Action Performed

Emit new event when an action is performed in a project.

Set up PostHog in Relevance AI

Do this once. Every agent in your workspace can then use the connection.

1

Create a Relevance AI account

Sign in, or create a free account. You do not need to be a developer to set this up.

2

Connect your PostHog account

In Relevance AI, open Integrations and add PostHog, then paste your API Key. You will find it in your PostHog account settings.

3

Use PostHog in an agent

Create a tool, add a PostHog tool step, and connect it to an agent. The agent fills in the step's inputs each time it runs.

Put PostHog to work in your agents

Connect PostHog alongside 1,800+ other integrations and let your agents run the busywork.