
AWS Step Functions
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect AWS Step Functions to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Sync state machines, versions, aliases, activities, executions, execution history, and Distributed Map runs from one AWS region. Grant states:ListStateMachines, states:ListExecutions, states:GetExecutionHistory, states:ListStateMachineVersions, states:ListStateMachineAliases, states:DescribeStateMachineAlias, states:ListActivities, states:ListMapRuns, and states:DescribeMapRun for the tables you select. Executions, history, and Map runs cover Standard workflows only. History excludes input and output payloads. All tables use full refresh because these APIs have no time filter.
Configuration
| Option | Description |
|---|---|
AuthenticationType: select Required: True | With an IAM role, PostHog reads with short-lived credentials and stores no key. Create a role connection with your role's ARN, then grant the role the permissions listed above. |
AWS regionType: text Required: True |
Linking AWS Step Functions to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select AWS Step Functions
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
state_machines | State machines in the configured AWS region, including Standard and Express workflows. | Full refresh | — | — |
executions | Execution status and times for Standard workflows in the configured AWS region. | Full refresh | — | — |
execution_history | History events for Standard workflow executions, without input or output payloads. | Full refresh | — | — |
state_machine_versions | Published versions of each state machine in the configured AWS region. | Full refresh | — | — |
state_machine_aliases | Aliases of each state machine, with the versions they route executions to. | Full refresh | — | — |
activities | Activities that workers poll for tasks in the configured AWS region. | Full refresh | — | — |
map_runs | Distributed Map runs started by Standard workflow executions, with item and child execution counts. | Full refresh | — | — |
map_run_executions | Child workflow executions started by each Distributed Map run. | Full refresh | — | — |





