Skip to main content
About the Resource Center

How the data actions integration works

Note: This article applies to the AWS Lambda, Function, Genesys Cloud, Google, Microsoft Dynamics 365, Salesforce, web services, and Zendesk data actions integrations.

The AWS Lambda data actions integration allows you to create custom actions that you can then use throughout Genesys Cloud to invoke AWS Lambda functions in your AWS account directly. You can use these custom actions to make routing decisions within your interaction flow in Architect, to present information to your agents in Scripts, or to act on data in other ways.

Example uses

The following examples are possible scenarios for using custom actions with the AWS Lambda data actions integration in Genesys Cloud applications. The AWS Lambda data actions integration is typically used for applications that do not have external JSON-based REST interfaces, such as a payment processor that only provides a Java or JavaScript SDK or a web service that only uses XML with a SOAP API. The AWS Lambda function acts as a middleman between your application and JSON-based Genesys Cloud. 

Credit card example

Your flow in Architect asks your customer to input a credit card number. A custom action associated with the integration invokes an AWS Lambda function in your AWS account. This AWS Lambda function contains a Java SDK for a payment processor. The AWS Lambda function uses the SDK, which validates the credit card number, and then notifies the custom action that the credit card payment was approved.  

Format conversion example

Your web service uses XML with a SOAP API. An AWS Lambda function in your AWS account converts Genesys Cloud’s JSON requests to XML before calling the SOAP service. The AWS Lambda function then converts the XML response back to JSON before returning the response to Genesys Cloud.

Action types

The AWS Lambda data actions integration allows you to create custom actions. For more information, see Concepts

Custom actions

Custom actions interact with your AWS Lambda functions through request and response schemas that you define. With custom actions, you can retrieve, update, or create any data. For more information, see Create a custom action.

For more information about the integration, see About the AWS Lambda data actions integration.