PostHog
Create PostHog Action
Create 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. |
| namestring · required | string | required | PostHog name. |
| 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. |
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
}