If for whatever reason you want to trigger a Step Functions state machine workflow through API Gateway by exposing a HTTPS endpoint you can do that by creating a direct integration between API Gateway and AWS Step Functions.
In this video I am going to show you step by step how to set up the Step Functions state machine, create the necessary IAM role and set up API Gateway to invoke the state machine asynchronously or synchronously.