What is Step Functions?

Step Functions coordinates multi-step workflows visually, with retries, branching, and waiting built in.

1 min read

Real processes have many steps: validate, process, save, notify, and handle failures at each one. Chaining Lambda functions together by hand quickly turns into a tangle of retry logic and error handling.

AWS Step Functions lets you define a workflow, called a state machine, as a diagram of steps. It runs each step, passes data between them, retries failures, branches on conditions, and records exactly what happened.

Think of it like this

Step Functions is a recipe card with a kitchen timer and a manager watching. Each step is written down, the manager makes sure they happen in order, retries a burnt dish, and can show you exactly where an order went wrong.

Great fits

  • Order processing, document pipelines, and approval flows
  • ML pipelines (prepare → train → evaluate → deploy)
  • Anything that needs to wait: for a human approval, a callback, or hours or days
  • Fan-out over a list: process 10,000 files in parallel with a Map state
How it flows
  1. 1Start

    Input: noteKey

  2. 2Summarize

    Lambda + Bedrock

  3. 3Save

    DynamoDB, no code

  4. 4Notify

    SNS, no code

Key takeaways

  • A state machine is a workflow of steps that Step Functions runs for you.
  • It handles retries, branching, waiting, and parallelism.
  • Every execution is recorded visually, step by step.

Check your understanding

Pick an answer to see the explanation.

  1. 1. What's the main benefit of Step Functions over chaining Lambdas manually?