PostHog

Product analytics and feature flags. Agents query events with SQL, run funnels and retention, read saved insights, look up people, annotate charts, and turn feature flags on or off.

Before general availability

Category
Analytics & data
Ways to connect
1
Actions for agents
11
Triggers
0

Start trial Read the PostHog setup guide

Ways to connect

A company admin connects PostHog from the Integrations page in Everdeck. Keys, tokens and secrets are encrypted before they're stored, and the connection's Test button checks it works before any agent uses it.

  • Personal API key API key

    Copy a key or token from PostHog and paste it into Everdeck.

What agents can do with PostHog

An agent can only use the actions its charter grants. Each action has a risk tier, and the tier decides whether it runs on its own, asks first or always asks a person.

Runs on its own 10

Looking things up, writing to Everdeck's own records and changes one step can undo. Once an agent's charter grants one of these, it runs without asking, unless you set it to Ask first in the charter or one of your approval rules covers it.

  • Query with SQL Tier 0 · Read Outside content

    Run a read-only SQL query (PostHog SQL, also called HogQL) on events, persons, sessions and connected warehouse tables. Example: SELECT event, count() FROM events WHERE timestamp > now() - INTERVAL 7 DAY GROUP BY event ORDER BY count() DESC LIMIT 20. Event properties are properties.$current_url or properties.plan; person properties person.properties.email. Always filter on timestamp and add a LIMIT (100 rows by default, 50,000 at most); OFFSET is refused, so page with WHERE timestamp > the last value seen.

  • Run a funnel Tier 0 · Read Outside content

    How many people completed each step of an ordered sequence of events within a conversion window, for example sign up, create project, start subscription. Returns per step: count and average and median seconds from the previous step. Conversion rates are count divided by the first or previous step's count.

  • Run retention Tier 0 · Read Outside content

    How many people from each starting cohort came back in later periods. Each cohort row has a start date and counts per period; values[0] is the cohort size, so retention is values[n].count / values[0].count.

  • Find saved insights Tier 0 · Read Outside content

    Search the project's saved insights (charts) by name, description or tag. Returns IDs, short IDs and names; read one with get_insight.

  • Read an insight Tier 0 · Read Outside content

    Get a saved insight's results (trend values, funnel steps, retention table or SQL rows), recalculated if stale. id is the numeric ID or the 8-character short ID from its URL.

  • Find people Tier 0 · Read Outside content

    Look up people by email, name, person ID or distinct ID (partial matches allowed), with their properties and when they were created and last seen.

  • List event names Tier 0 · Read Outside content

    The project's event names with descriptions and when each was last seen, to use in SQL, funnels and retention. Search narrows by name.

  • List annotations Tier 0 · Read Outside content

    Notes on the project's charts (releases, campaigns, incidents) with their dates. Use them to explain changes.

  • Annotate a date Tier 2 · Reversible Outside content

    Add a note at a point in time to the project's charts, for example "v2.3 released" or "Checkout outage". Everyone in the project sees it.

  • List feature flags Tier 0 · Read Outside content

    Feature flags with key, name, whether each is on (active), rollout percentages and when it was last evaluated. Search matches key or name.

Asks first 1

Anything a customer or the public sees. By default a charter grants these as Ask first: the agent sends an approval request and waits for a yes. A company admin can switch one to Auto in the charter after confirming with their second factor. Even then, once an agent has read outside content, such as a customer's email, its tier 3 and 4 actions need a person by default for the rest of that session.

  • Turn a feature flag on or off Tier 3 · External Outside content

    Enable or disable a feature flag for everyone it targets. This changes what users see in the product immediately, so use it for kill switches and agreed rollouts.

Actions marked Outside content return what people outside your company may have written, such as emails or comments. Agents treat it as information to check, never as instructions.

What can start work

Nothing in PostHog starts agent work by itself. Agents use it while they work on tasks from the board, from other agents or from the sources on the Intake page.

Work an agent can take on

Examples for apps in Analytics & data. What an agent does with PostHog depends on the actions you grant it.

  • Write a weekly summary of traffic, sign-ups or other numbers you watch.
  • Answer a question like "which pages brought the most visitors last month?" from your data.

Set it up

The PostHog setup guide walks through each way to connect: what to set up first and the fields to fill in.

Read the PostHog setup guide

PostHog is a separate service with its own terms. Everdeck isn't affiliated with or endorsed by it.

PostHog's website

Your company, always on deck.

Start a 14-day trial. Card first, nothing charged until day 14.