The Lambda function automation action enables you to execute custom scripts using programming languages like Python, Java, and Node.js directly within your Gridly workflows. This allows you to perform complex data processing, implement custom business logic, and create sophisticated data transformations.
If you are not familiar with creating an Automation, please view the following article: Creating an Automation.
Not the Automation action you need? Check out the full list of all Automation actions in Gridly.

Setup
After creating the Automation, you need to configure the trigger and action. We'll create an Automation that uses a simple Lambda function to return the input string with “Lambda” concatenated at the end.
Add a trigger
Click Add Trigger. In this example, we will select Manual record trigger.

Add Lambda function action
- Click Add Step and select Lambda function in the list of Automation actions.
-
Select a Lambda function from the list. If you haven't added any lambda functions, click Add function to add a new Lambda function and configure these settings:
- Package: Select a zip file from the local computer
- Function title: Descriptor for the lambda functions
- Runtime: Runtime environment of the lambda function
- Main file name: File name of the file containing the lambda function without the file extension
- Handler name: Name of the Handler
- Output fields (optional): Output values of the lambda function

- Customize your Payload, click Select input value for action to add the trigger data to your payload.
- Postback (optional): Map the output fields from Lambda function to the columns in the Grid.
- Click Save.

Test your Automation
- Turn on the Automation using the switch next to Automation name.
- Click Test Automation. If your Automation is not turned on, Gridly will require you to turn it on in a pop-up message.
