Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.5 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "current_action_id": {
            "description": "Start execution from this action ID instead of the trigger. Each test run executes a single node and returns the next action id.",
            "type": "string"
        },
        "globals": {
            "additionalProperties": {},
            "description": "Test trigger payload, typically {event, person, groups}. Shape it like the trigger's real payload: an event matching the trigger filters for event triggers, or for an internal-event trigger an event named in its filters.events (e.g. $slack_message_received with Slack properties like channel, user, text, ts) and no person.",
            "propertyNames": {
                "type": "string"
            },
            "type": "object"
        },
        "id": {
            "description": "A UUID string identifying this hog flow.",
            "type": "string"
        },
        "mock_async_functions": {
            "default": true,
            "description": "True (default) mocks HTTP/email/SMS. False fires real side effects.",
            "type": "boolean"
        },
        "use_draft": {
            "default": false,
            "description": "Test the workflow's staged draft instead of its live config. Set this only when workflows-get returns a non-null 'draft'; it can't be combined with an explicit configuration override.",
            "type": "boolean"
        }
    },
    "required": ["id"],
    "type": "object"
}