PostHog

Update PostHog Alert

Update PostHog Alert.

1 creditRuns in your PostHog account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
idstring · requiredstringrequired

PostHog id from the matching lookup in this project.

project_idstring · requiredstringrequired

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

insightnumber · optionalnumberoptional

PostHog insight.

namestring · optionalstringoptional

PostHog name.

subscribed_usersstring · optionalstringoptional

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

thresholdstring · optionalstringoptional

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

conditionstring · optionalstringoptional

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

enabledboolean · optionalbooleanoptional

PostHog enabled.

configstring · optionalstringoptional

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

detector_configstring · optionalstringoptional

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

calculation_intervalstring · optionalstringoptional

PostHog calculation interval.

snoozed_untilstring · optionalstringoptional

PostHog snoozed until; null clears this value.

skip_weekendboolean · optionalbooleanoptional

PostHog skip weekend; null clears this value.

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",
    "created_by",
    "created_at",
    "insight",
    "name",
    "subscribed_users",
    "threshold",
    "condition",
    "state",
    "enabled",
    "last_notified_at",
    "last_checked_at",
    "next_check_at",
    "config",
    "detector_config",
    "calculation_interval",
    "snoozed_until",
    "skip_weekend",
    "schedule_restriction",
    "last_value",
    "investigation_agent_enabled",
    "investigation_gates_notifications",
    "investigation_inconclusive_action"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "config": {
      "type": "object",
      "required": [
        "type",
        "series_index"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "series_index": {
          "type": "number"
        },
        "check_ongoing_interval": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "enabled": {
      "type": "boolean"
    },
    "insight": {
      "type": "object",
      "required": [
        "id",
        "short_id",
        "name",
        "derived_name",
        "filters",
        "query",
        "dashboards",
        "dashboard_tiles",
        "description",
        "last_refresh",
        "refreshing",
        "saved",
        "updated_at",
        "created_by",
        "created_at",
        "last_modified_at",
        "favorited",
        "user_access_level",
        "last_viewed_at",
        "tags"
      ],
      "properties": {
        "id": {
          "type": "number"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "tags": {
          "type": "array",
          "items": {}
        },
        "query": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ]
        },
        "saved": {
          "type": "boolean"
        },
        "filters": {
          "type": "object",
          "additionalProperties": {}
        },
        "short_id": {
          "type": "string"
        },
        "favorited": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string"
        },
        "created_by": {
          "type": "object",
          "required": [
            "id",
            "uuid",
            "distinct_id",
            "first_name",
            "last_name",
            "email",
            "is_email_verified",
            "hedgehog_config",
            "role_at_organization"
          ],
          "properties": {
            "id": {
              "type": "number"
            },
            "uuid": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "last_name": {
              "type": "string"
            },
            "first_name": {
              "type": "string"
            },
            "distinct_id": {
              "type": "string"
            },
            "hedgehog_config": {
              "anyOf": [
                {},
                {
                  "type": "null"
                }
              ]
            },
            "is_email_verified": {
              "type": "boolean"
            },
            "role_at_organization": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "dashboards": {
          "type": "array",
          "items": {}
        },
        "refreshing": {
          "type": "boolean"
        },
        "updated_at": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "derived_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "last_refresh": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "last_viewed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "dashboard_tiles": {
          "type": "array",
          "items": {}
        },
        "last_modified_at": {
          "type": "string"
        },
        "user_access_level": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "condition": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "threshold": {
      "type": "object",
      "required": [
        "id",
        "created_at",
        "name",
        "configuration"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "configuration": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "bounds": {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "created_at": {
      "type": "string"
    },
    "created_by": {
      "type": "object",
      "required": [
        "id",
        "uuid",
        "distinct_id",
        "first_name",
        "last_name",
        "email",
        "is_email_verified",
        "hedgehog_config",
        "role_at_organization"
      ],
      "properties": {
        "id": {
          "type": "number"
        },
        "uuid": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "first_name": {
          "type": "string"
        },
        "distinct_id": {
          "type": "string"
        },
        "hedgehog_config": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ]
        },
        "is_email_verified": {
          "type": "boolean"
        },
        "role_at_organization": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "last_value": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "skip_weekend": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_check_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "snoozed_until": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "detector_config": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "last_checked_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "last_notified_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "subscribed_users": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "calculation_interval": {
      "type": "string"
    },
    "schedule_restriction": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "investigation_agent_enabled": {
      "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.