PostHog

Syncs user behavior data and feature flag states into your operational tools, triggers automated outreach based on cohort membership, and builds custom analytics dashboards from workflow events.

Try PostHog in Ceven

Ask Ceven anything
Standard

Why use Ceven?

  1. AI native PostHog integration

    • Describe the outcome and Ceven picks the right PostHog calls, fills the parameters, and checks the result.
    • Structured, agent friendly tool schemas so each call runs reliably instead of by guesswork.
    • Rich coverage for reading, writing, and querying your PostHog data, across all 502 of its actions.
  2. Managed auth

    • Built in OAuth with automatic token refresh and rotation.
    • One place to manage, scope, and revoke PostHog access.
    • Per user and per environment credentials instead of shared keys.
  3. Agent optimized design

    • Actions are tuned from real success and error rates so reliability climbs over time.
    • Full execution logs so you always know what ran in PostHog, when, and on whose behalf.
    • The agent pauses and asks when PostHog is unclear instead of plowing ahead.
  4. Enterprise grade security

    • Fine grained access so you control which agents and people can reach PostHog.
    • Least privilege by default, read scopes first and only the writes a workflow needs.
    • A full audit trail of every PostHog action to support review and sign off.

Supported tools

Every action Ceven's agents can run on PostHog, and when to use it.

Create feature flag
Use this to launch a new feature toggle for specific users or percentages of your traffic to manage rollout risk.
Create project cohort
Group users together based on specific properties or behaviors to target them in later workflows.
Create project insight
Generate a new analytics insight to track a specific metric or trend within your project data.
Create project dashboard
Build a new visual dashboard to aggregate multiple insights and track project health in one place.
Create experiment
Set up a new project experiment to test two versions of a feature and measure the impact on a goal.
Create project action
Define a specific set of events as a single action to simplify your funnel and insight tracking.
Create dashboard from template
Use this to quickly deploy a standard reporting layout using a pre existing PostHog dashboard template.
Add dashboard collaborator
Grant other team members access to a specific dashboard to share insights and collaborate on data.
Create organization invite
Invite new members to your organization by email and assign them a role like admin or member.
Create organization role
Define a new set of permissions for your organization to control who can edit flags or view data.
Duplicate cohort to static
Convert a dynamic cohort into a static list of users to preserve a snapshot of a group at a point in time.
Create notebook
Start a new notebook in a project to document findings and combine data with written analysis.
Add dashboard collaborators with access level
Add collaborators to a specific project dashboard. requires 'project id' and 'dashboard id'. supports json, form urlencoded, and multipart data. returns added collaborator details. auth: 'personalapikeyauth'.
Add member to organization role
Add a member to an organization role by submitting their details and uuid in json/form, using organization and role ids. requires personalapikeyauth. success gives a 201 status.
Add project specific member roles
Add members with specific roles to a project by providing their user uuid and level (member or admin). requires project id in the url. supports json, form data, and form urlencoded input. returns the newly created membership data upon succe
Assign feature flag role based access
Set up role based access for a feature flag using `project id` and `feature flag id`. submit access info in json or form format, with `feature flag:write` rights. success returns new details with a 201 code.
Bookmark project activity notification
Create a bookmark for an activity notification in a project's activity log. requires a `project id` and json payload with activity details. supports verification status, impersonation flags, and system activity distinction.
Bulk create organization invites
Post /api/organizations/{organization id}/invites/bulk/: bulk create organization invites with customizable levels, sender details, and validation checks. supports email automation and private project access settings.
Cancel insights for a project
The "/api/projects/{project id}/insights/cancel/" endpoint allows users to cancel insights for a project by providing a project id and insight details in json or csv, and confirms cancellation in the response.
Check pipeline destination updates
Get the newest updates and plugin info for a pipeline destination by organization and destination id via get request to /api/.../{id}/check for updates.
Check pipeline import app updates
Retrieve the latest update information for a specific pipeline import app by its id within an organization. this endpoint returns details such as plugin type, name, description, and version data. requires 'id' and 'organization id' as path
Check pipeline plugin update status
Get update status for a specific pipeline transformation plugin by its unique id within an organization. this endpoint requires the 'organization id' and 'plugin' ids and returns details like plugin type, name, and update information.
Check project s demo data generation status
Projects for the current organization.
Cohort duplication to static
This endpoint duplicates a specified cohort as a static one within a project. path parameters include `project id` (string) and cohort `id` (integer). successful requests return cohort details.
Create a notebook in a project
The api for interacting with notebooks. this feature is in early access and the api can have breaking changes without announcement.
Create project insights with customizable parameters
The post endpoint enables creating insights for projects using a project id and supports json/csv. it offers detailed parameters for customizing insights and returns structured data with personalapikeyauth for security.
Create dashboard from template in project
Create a new dashboard for a specified project from a template. accepts project id in the path and a json payload with various dashboard object parameters. returns a dashboard instance on success.
Create domain with saml for organization
Create a domain for a specific organization by post to `/api/organizations/{id}/domains` with json/form data. requires domain, saml setup, and write permissions. returns new domain data with status 201.
Create experiment exposure cohort
Create a new exposure cohort for an experiment in a project by sending a post request with experiment details and feature flag data. requires experiment id and project id in the path.
Create feature flag dashboard
Manage feature flags by creating, reading, updating, and deleting them. utilize javascript library or endpoint for user specific flag status. refer to documentation for details.

30 actions · scroll to see them all

Frequently asked questions

Ceven uses Personal API keys to interact with PostHog. You generate this key in your PostHog project settings and provide it to Ceven during the connection process. We store this key using AES 256 encryption and only inject it into the header of the request when the agent needs to perform an action. The key provides the agent with the same permissions as the user who created it, so we recommend using a key from an account with the minimum necessary permissions to maintain security. You can rotate this key in PostHog at any time, which will immediately stop all Ceven workflows until the new key is updated in our platform.
Ceven primarily focuses on the management API for configuring projects, cohorts, and flags. To send raw event data into PostHog, you should use the PostHog Capture API or their official SDKs. While Ceven can manage the cohorts and insights that analyze those events, it is not designed to be the primary ingestion engine for high volume clickstream data. If you need to trigger a specific event based on a workflow outcome, you can use a webhook from Ceven to call the Capture API directly. This ensures that your data pipeline remains performant and follows the recommended event ingestion patterns provided by PostHog.
Ceven is limited only by the constraints of your PostHog plan. PostHog imposes different limits on the number of cohorts and the complexity of cohort definitions based on whether you are on the free or paid tiers. If you attempt to create a cohort via Ceven that exceeds your plan limit, PostHog will return a 403 or 429 error. Ceven will capture this error and notify you in the workflow logs. For very large organizations, we recommend auditing your unused cohorts periodically to make room for new automated segments created by your AI agents.
Yes, Ceven supports both. When you connect your account, you will be asked to provide your PostHog instance URL. For Cloud users, this is typically app.posthog.com, but for self hosted users, you enter the custom domain where your instance is deployed. Because we rely on the standard REST API, the functionality remains consistent across both deployment models. However, please ensure that your self hosted firewall allows incoming requests from Ceven IP addresses, otherwise the agent will be unable to reach your API endpoints to execute actions or pull data.
PostHog employs rate limiting to ensure platform stability, and Ceven is built to respect these boundaries. Our agent implements an exponential backoff strategy. If a request returns a 429 too many requests status, Ceven will pause the workflow and retry the call after a short delay, increasing the wait time with each subsequent failure. For high volume operations like bulk inviting users or creating dozens of insights, we batch requests where possible. If a workflow consistently hits limits, the agent will flag this in the execution log so you can optimize the trigger frequency.
Absolutely. You can build a workflow where Ceven monitors a specific metric in PostHog and automatically adjusts a feature flag. For example, if the error rate for a new feature exceeds five percent, Ceven can immediately update the flag to zero percent rollout to kill the feature. Conversely, if a user completes a specific onboarding milestone, Ceven can add them to the rollout group for an advanced feature. This turns your feature flags into dynamic tools that respond to user behavior in real time without requiring a manual update from a developer.
Project IDs in PostHog are generally immutable once created, but if you migrate data between projects, you will need to update the project ID in your Ceven workflow settings. Since most of our actions require a project ID in the URL path, the agent cannot guess the new ID. We recommend using a global variable in Ceven to store your project ID. This way, if you move from a staging project to a production project, you only have to change the ID in one place instead of updating every single action across all your active workflows.
Yes, Ceven can interact with the Notebooks API, though this feature is currently in early access at PostHog. This means the API endpoints are subject to change without notice. Ceven can create new notebooks and add content to them, which is useful for automatically documenting the results of an experiment. For instance, once an experiment reaches statistical significance, Ceven can create a notebook and summarize the winning variant and the lift achieved. If PostHog updates the Notebooks API, our engineering team updates the mapping to ensure your automation continues to run smoothly.

Alternatives to PostHog

Other tools that solve a similar problem. Ceven supports these too, so you can switch or run more than one at once.

Try Ceven on your stack

Plug Ceven on top of the tools you already run. Connect PostHog and the rest of your stack, describe the outcome, and its agents handle the work end to end, days of it in minutes.

Get started for free