View a markdown version of this page

Create a custom workflow using the API - Amazon SageMaker AI
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Create a custom workflow using the API

Note

After careful consideration, we have made the decision to close new customer access to Amazon Ground Truth, effective 7/30/26. Existing customers can continue to use the service as normal. Amazon continues to invest in security and availability improvements for Ground Truth, but we do not plan to introduce new features.

When you have created your custom UI template (Step 2) and processing Lambda functions (Step 3), you should place the template in an Amazon S3 bucket with a file name format of: <FileName>.liquid.html. Use the CreateLabelingJob action to configure your task. You'll use the location of a custom template (Creating a custom worker task template) stored in a <filename>.liquid.html file on S3 as the value for the UiTemplateS3Uri field in the UiConfig object within the HumanTaskConfig object.

For the Amazon Lambda tasks described in Processing data in a custom labeling workflow with Amazon Lambda, the post-annotation task's ARN will be used as the value for the AnnotationConsolidationLambdaArn field, and the pre-annotation task will be used as the value for the PreHumanTaskLambdaArn.