Creating a Flow with AWS API Gateway Lambda Trigger

The AWS API Gateway Lambda trigger allows you to invoke Lambda functions as REST APIs. A flow created in an app using the AWS API Gateway trigger is deployed as a Lambda function.

Refer to the "AWS API Gateway Lambda Trigger" section in the TIBCO Flogo® Enterprise Activities, Triggers, and Connections Guide for details on the trigger.

To create a flow with the AWS API Gateway Lambda trigger:

    Procedure
  1. Create an app in Flogo.
  2. Click the app name on the Apps page to open it.
  3. Click Create a Flow.
    The Create a Flow dialog box opens.
  4. Enter a name for the flow in the Flow Name text box.

    Flow names within an app must be unique.

  5. Optionally, enter a brief description of what the flow does in the Description text box and click Next.

    A flow gets created. Click the flow name to open the flow page.

  6. From the Triggers palette, select Receive Lambda Invocation and drag it to the triggers area.
  7. Provide the method, resource path, and JSON schema for the operation.
  8. Click Continue.
    A flow beginning with the AWSAPIGatewayLambda trigger is created.
  9. Click Copy schema or Just add the trigger.
  10. Click the AWSAPIGatewayLambda trigger tile and configure its properties. See the "AWS API Gateway Lambda Trigger" section in the TIBCO Flogo® Enterprise Activities, Triggers, and Connections Guide for details.

What to do next Deploy the flow on AWS. For instructions on how to do so, see Deploying a Flow as a Lambda Function on AWS.