PostHog

Create PostHog Alert

Create PostHog Alert.

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.

insightnumber · requirednumberrequired

PostHog insight.

namestring · requiredstringrequired

PostHog name.

condition_typestring · requiredstringrequired

Choose condition type: absolute_value, relative_increase, relative_decrease.

One of: absolute_value, relative_increase, relative_decrease

threshold_typestring · requiredstringrequired

Choose threshold type: absolute, percentage.

One of: absolute, percentage

threshold_lowernumber · optionalnumberoptional

PostHog threshold lower; null clears this value.

threshold_uppernumber · optionalnumberoptional

PostHog threshold upper; null clears this value.

calculation_intervalstring · optionalstringoptional

Choose calculation interval: every_15_minutes, hourly, daily, weekly, monthly.

One of: every_15_minutes, hourly, daily, weekly, monthly

subscribed_usersstring · optionalstringoptional

PostHog subscribed users as structured JSON or JSON text. Supports Workflow variables.

config_series_indexnumber · optionalnumberoptional

PostHog config series index.

config_check_ongoing_intervalboolean · optionalbooleanoptional

PostHog config check ongoing interval.

enabledboolean · optionalbooleanoptional

PostHog enabled.

skip_weekendboolean · optionalbooleanoptional

PostHog skip weekend.

snoozed_untilstring · optionalstringoptional

PostHog snoozed until; null clears this value.

detector_configstring · optionalstringoptional

PostHog detector config as structured JSON or JSON text. Supports Workflow variables.

schedule_restrictionstring · optionalstringoptional

PostHog schedule restriction as structured JSON or JSON text. Supports Workflow variables.

investigation_agent_enabledboolean · optionalbooleanoptional

PostHog investigation agent enabled.

investigation_gates_notificationsboolean · optionalbooleanoptional

PostHog investigation gates notifications.

investigation_inconclusive_actionstring · optionalstringoptional

PostHog investigation inconclusive action.

Response schema

{
  "type": "object",
  "required": [
    "id",
    "name",
    "insight_id",
    "state",
    "enabled",
    "calculation_interval",
    "subscribed_users",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string"
    },
    "insight_id": {
      "type": "number"
    },
    "skip_weekend": {
      "type": "boolean"
    },
    "snoozed_until": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "condition_type": {
      "type": "string"
    },
    "threshold_type": {
      "type": "string"
    },
    "detector_config": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "threshold_lower": {
      "type": "number"
    },
    "threshold_upper": {
      "type": "number"
    },
    "subscribed_users": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "config_series_index": {
      "type": "number"
    },
    "calculation_interval": {
      "type": "string"
    },
    "schedule_restriction": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "investigation_agent_enabled": {
      "type": "boolean"
    },
    "config_check_ongoing_interval": {
      "type": "boolean"
    },
    "investigation_gates_notifications": {
      "type": "boolean"
    },
    "investigation_inconclusive_action": {
      "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.