

# Use Step Functions to invoke Lambda functions
<a name="example_cross_ServerlessWorkflows_section"></a>

The following code example shows how to create an Amazon Step Functions state machine that invokes Amazon Lambda functions in sequence.

------
#### [ Java ]

**SDK for Java 2.x**  
 Shows how to create an Amazon serverless workflow by using Amazon Step Functions and the Amazon SDK for Java 2.x. Each workflow step is implemented using an Amazon Lambda function.   
 For complete source code and instructions on how to set up and run, see the full example on [GitHub](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_workflows_stepfunctions).   

**Services used in this example**
+ DynamoDB
+ Lambda
+ Amazon SES
+ Step Functions

------

For a complete list of Amazon SDK developer guides and code examples, see [Using DynamoDB with an Amazon SDK](sdk-general-information-section.md). This topic also includes information about getting started and details about previous SDK versions.