Capture Event

posthog.capture_event
ActionBusiness appsconnection required

Calls the PostHog API with the connection's credentials.

Capture one event for a distinct_id.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
PostHog
Secret shape
the project API key (phc_…), or {"api_key": "…"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
event
Name to record this event under in PostHog; you choose it.
stringYes———
distinct_id
User distinct_id.
stringYes———
properties
Event properties (JSON).
objectNo———

Output

One shape.

result

FieldTypeExample
sent
boolean—
event
string—
{
  "event": "",
  "sent": false
}

Related PostHog nodes

See Capture Event run in a workflow.

In a technical demo we add the PostHog connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.