PostHog

Create PostHog Cohort

Create PostHog Cohort.

1 creditRuns in your PostHog account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
project_idstring · requiredstringrequired

Project ID returned by List PostHog Projects. Uses only the selected connected account.

namestring · requiredstringrequired

PostHog name.

descriptionstring · optionalstringoptional

PostHog description.

filtersstring · optionalstringoptional

PostHog filters as structured JSON or JSON text. Supports Workflow variables.

is_staticboolean · optionalbooleanoptional

PostHog is static.

cohort_typestring · optionalstringoptional

PostHog cohort type.

querystring · optionalstringoptional

PostHog query JSON, such as an InsightVizNode containing a TrendsQuery. Use the shape required by this resource.

_create_in_folderstring · optionalstringoptional

PostHog create in folder.

_create_static_person_idsstring · optionalstringoptional

PostHog create static person ids as structured JSON or JSON text. Supports Workflow variables.

Response schema

{
  "type": "object",
  "required": [
    "id",
    "is_static",
    "is_calculating",
    "deleted"
  ],
  "properties": {
    "id": {
      "type": "number"
    },
    "name": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "deleted": {
      "type": "boolean"
    },
    "filters": {},
    "is_static": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string"
    },
    "cohort_type": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "is_calculating": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.