provider hog_flows POST /api/environments/{environment_id}/hog_flows/{id}/invocations/
@utdk/posthog /api/environments/{environment_id}/hog_flows/{id}/invocations/
environments_hog_flows_invocations_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this hog flow.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsHogFlowsInvocationsCreate
POST/api/environments/{environment_id}/hog_flows/{id}/invocations/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this hog flow.

Input

Optional override; omit to use saved definition.

Test trigger payload, typically {event, person, groups}.

True (default) mocks HTTP/email/SMS. False fires real side effects.

Start execution from this action ID instead of the trigger. Each test run executes a single node and returns the next action id.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsHogFlowsInvocationsCreate({
  "mock_async_functions": true
})