PostHog
Update PostHog Action
Update PostHog Action.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| project_idstring · required | string | required | Project ID returned by List PostHog Projects. Uses only the selected connected account. |
| idstring · required | string | required | PostHog id from the matching lookup in this project. |
| namestring · optional | string | optional | PostHog name; null clears this value. |
| descriptionstring · optional | string | optional | PostHog description. |
| tagsstring · optional | string | optional | PostHog tags as structured JSON or JSON text. Supports Workflow variables. |
| post_to_slackboolean · optional | boolean | optional | PostHog post to slack. |
| slack_message_formatstring · optional | string | optional | PostHog slack message format. |
| stepsstring · optional | string | optional | JSON array of saved event-pattern steps; each step names its event and optional URL or property filters. |
| pinned_atstring · optional | string | optional | PostHog pinned at; null clears this value. |
| last_calculated_atstring · optional | string | optional | PostHog last calculated at. |
| _create_in_folderstring · optional | string | optional | PostHog create in folder. |
Response schema
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"href": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"event": {
"type": "string"
},
"selector": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tag_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"properties": {
"anyOf": [
{
"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
}
},
{
"type": "null"
}
]
},
"url_matching": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"href_matching": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"text_matching": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"selector_regex": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"deleted": {
"type": "boolean"
},
"team_id": {
"type": "number"
},
"is_action": {
"type": "boolean"
},
"pinned_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"created_by": {
"type": "object",
"required": [
"id",
"uuid",
"distinct_id",
"first_name",
"last_name",
"email",
"is_email_verified",
"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
},
"description": {
"type": "string"
},
"post_to_slack": {
"type": "boolean"
},
"bytecode_error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"is_calculating": {
"type": "boolean"
},
"creation_context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"_create_in_folder": {
"type": "string"
},
"user_access_level": {
"type": "string"
},
"last_calculated_at": {
"type": "string"
},
"slack_message_format": {
"type": "string"
}
},
"additionalProperties": false
}