PostHog

Create PostHog Action

Create PostHog Action.

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.

tagsstring · optionalstringoptional

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

post_to_slackboolean · optionalbooleanoptional

PostHog post to slack.

slack_message_formatstring · optionalstringoptional

PostHog slack message format.

stepsstring · optionalstringoptional

JSON array of saved event-pattern steps; each step names its event and optional URL or property filters.

Response schema

{
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "number"
    },
    "name": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "steps": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [],
        "properties": {
          "url": {
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "event": {
            "type": "string"
          },
          "selector": {
            "type": "string"
          },
          "tag_name": {
            "type": "string"
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "key",
                "type",
                "value",
                "operator"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    }
                  ]
                },
                "operator": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "url_matching": {
            "type": "string"
          },
          "href_matching": {
            "type": "string"
          },
          "text_matching": {
            "type": "string"
          },
          "selector_regex": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "deleted": {
      "type": "boolean"
    },
    "team_id": {
      "type": "number"
    },
    "is_action": {
      "type": "boolean"
    },
    "pinned_at": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "post_to_slack": {
      "type": "boolean"
    },
    "bytecode_error": {
      "type": "string"
    },
    "is_calculating": {
      "type": "boolean"
    },
    "creation_context": {
      "type": "string"
    },
    "user_access_level": {
      "type": "string"
    },
    "last_calculated_at": {
      "type": "string"
    },
    "slack_message_format": {
      "type": "string"
    }
  },
  "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.