aws.lambda.invoke action

This trigger action accepts an AWS Lambda function with the payload and sends it to AWS to get a response.

Action

This trigger action is found under the third party heading.

Canvas

When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.

The left routing point (red) is the failure route. This route will be taken if there is an error during execution.

The right routing point (green) is the success route. This route will be taken if action executes successfully.

Form

aws.lambda.invoke

Parameters

Name

Type

Required

Description

Function Name

String

Yes

The name of the AWS Lambda function that needs to be invoked.

Asynchronous Execution

bool

Yes

By default it is set to False, the function will be blocked until the response is received and then it continues execution.

If set to True, there will be no reply.

Region

String

 

The region of the AWS instance. For example, us-east-1. For more information on Region, see https://docs.aws.amazon.com/general/latest/gr/rande.html.

Reply Type

Object, String or base64

 

Reply Type defaults to Object. The request must return any one of the following to be processed. The Reply Type drop-down option includes:

  • Object: a JSON object

  • String: a Regular string

  • base64: a base64 encoded string

Payload

JSON object

Yes

JSON(data blob) that you want to provide to your Lambda function as input.