Skip to content

Lambda Functions

Lambda is an AWS service which allows code to be executed in a serverless environment.

Lambda functions can be triggered directly or from a large number of other AWS services. They can be integrated into an Amazon Connect contact flows to allow the flow to take advantage of more advanced functionality such as calculations and data lookups.

Lambda functions can be run in a variety of supported runtimes (allowing the use of various coding languages) or even run on a custom runtime. We recommend using NodeJS but Python and others are available depending on your organisation’s standards and development team skills.

Using Lambda functions in Contact flows

Lambda functions can be called as part of a customer’s journey through a contact flow. Data such as the customer’s phone number or custom attributes can be sent as input to the Lambda function. The Lambda function will then run, and can return data back to the contact flow before the flow continues. This data can be stored as custom attributes or used in other ways such as reading data back to the customer or branching the flow.