Skip to main content

AWS Step Functions is a visual workflow service that makes it easy to orchestrate over 220 AWS services and HTTPS endpoints such as SaaS applications into scalable, reliable, and resilient application. It supports common architectural and workflow patterns which makes it easy to coordinate the components of distributed applications as a series of durable steps in a visual workflow. Step Functions' workflows are written using Amazon States Language (ASL), defined as state machines, composed of steps called state, and can be used to orchestrate multiple AWS services.

Step Functions gives developers the ability to build and update applications quickly by managing the logic and implementing branching, parallel execution, and timeouts. Step Functions can also manage state, checkpoints, and restarts for you to make sure your application executes in order and as expected. It has built-in try/catch, retry, and rollback capabilities to help you deal with errors and exceptions automatically.

If you have a workload that requires co-ordinating distinct tasks, aggregation of results, fan-in and fan-out patterns, or that require human intervention, you may consider using Step Functions.

Common use cases include large-scale data processing, orchestration of microservices to build event-driven architectures, create data and machine learning pipelines, integration with SaaS applications, build generative AI applications, and automate IT security and processes.

No matter whether you are new to Step Functions or you already have a use case in mind, choose your own path and follow the curated learning steps to get started on Step Functions for a few of the common use cases.

Path 1: Data Processing

Open all

Watch this tutorial to learn the basics on how to achieve data processing using Distributed Map for Step Functions. Understand the benefits of distributed data processing with serverless, learn different patterns, explore use cases, and discover performance optimization techniques.

Explore a sample project to learn about using Distributed Map for orchestrating large-scale parallel workloads, or use it as a starting point for your own projects. Distributed Map state can iterate over 10,00 rows of a CSV file that is generated using a Lambda function.

Take the Large-scale Data Processing with Step Functions workshop to learn about how to build large-scale data processing solutions with serverless such as AWS Step Functions, AWS Lambda, and AWS Fargate.

Path 2: Event-Driven Architecture

Open all

Watch this video to learn how to build real-life asynchronous architectures. Explore how choreography can help and how to handle transactions and workflows into your architectures with orchestration. See how both of these approaches work together.

Insurance Claims Processing Blogs
Blog 1
Blog 2
Blog 3

Use Step Functions to send a custom event to an event bus that matches a rule with multiple targets (Amazon EventBridge, AWS Lambda, Amazon Simple Notification Service, Amazon Simple Queue Service) to help build event-driven architectures.

Learn how to use EventBridge Pipes to launch a workflow with a message coming from SQS Queue.

Learn how to use EventBridge Rules to launch a workflow to process an object uploaded to S3

In this workshop, you will deploy a serverless backend that supports a pop-up coffee shop.You will use AWS Step Functions Workflow Studio to visually build the workflow that manages the drink orders through production. You will also learn how to emit events to a serverless event bus using AWS Step Functions.

Path 3: Data and ML Pipelines

Open all

In this project, learn how to use SageMaker and Step Functions to train a machine learning model and how to batch transform a test dataset.

In this project, learn how to use SageMaker to tune the hyperparameters of a machine learning model, and to batch transform a test dataset.

Learn how to automate and deploy custom ML models using service integrations between AWS Services using a CI/CD pipeline.

Learn how to detect online transaction fraud with serverless and machine learning technologies.

Use a Step Functions workflow to create a dataset and then train, evaluate, and use a Rekognition Custom Labels model. The workflow allows application developers and ML engineers to automate the custom label classification steps for any computer vision use case.

Path 4: Build Generative AI applications

Open all

AWS Step Functions serves as a crucial component in the rapidly evolving AI landscape, enabling organizations to orchestrate complex generative AI workflows with precision and scalability. By seamlessly integrating with services such as AWS Lambda, Amazon Bedrock and Amazon EventBridge, Step Functions allows you to build generative AI applications that can start small and scale efficiently while handling distributed, event-driven workflows securely. This path will guide you through the essential patterns for building production-ready AI systems using Step Functions.

Step 1: Get started with intelligent document processing on AWS
Deploy this sample project to learn how to facilitate Intelligent Document Processing with AWS AI services such as Amazon Textract and Amazon Comprehend

Step 2: Build and scale intelligent document processing workflows
Reinforce your knowledge with hands-on experience through this workshop that teaches you to design and build intelligent document processing workflows using AWS Step Functions, AWS Lambda and Amazon Bedrock.

Step 3: Enhancing AWS intelligent document processing with generative AI
Take your document intelligence workflows to the next level by learning how AWS serverless services integrate with foundation models to transform traditional document processing. This technical blog demonstrates how AWS serverless services, AWS Lambda, AWS Step Functions, and Amazon EventBridge, integrated with foundation models, can help rapidly transform traditional, error-prone document processing into an automated, accurate, and scalable workflow that can extract, normalize, and summarize data from any document type.

As you advance, explore how to incorporate human oversight into your AI workflows. This blog post demonstrates how Step Functions orchestrates sophisticated prompt chaining workflows, breaking down complex LLM tasks into manageable sub-tasks. Learn to implement human-in-the-loop reviews through task tokens and create extensible system integration using event-driven architecture with Amazon EventBridge.

Delve into building advanced AI agent systems through this hands-on workshop focused on building Agentic workflows using AWS Step Functions and AWS Lambda. The AWS Step Functions Tool Model Context Protocol Server provides a bridge between MCP clients and AWS Step Functions state machines, allowing generative AI models to access and run state machines as tools and execute complex, multi-step business processes across AWS services. This advanced integration allows you to build sophisticated AI applications while maintaining centralized control and monitoring capabilities.

Path 5: No use case in mind? Start with AWS Step Functions 101

Open all

Take the Step Functions Workshop to learn how to use the primary features of Step Functions through a series of interactive modules.

Get hands on experience with Step Functions Workflow Studio, a low code visual designer for Workflows. In this demo, you will create, run, and inspect a Hello World workflow in under 3 minutes.

Learn how to effectively use JSONPath and data filtering in Step Functions.

Learn about architectural best practices and repeatable patterns for building workflows and cost optimizations.