Pass Custom Fields values dynamically from Amazon Contact Center flow to Voice Call Object in Salesforce

1. Custom Field in Salesforce Voice Call object.


2. Use "Set contact attributes" to pass value to the Custom Field Salesforce from the Amazon Contact Center Flow.
 
a. When 1 is pressed, Text__c will be set as A.
b. When 2 is pressed, Text__c will be set as B.
c. When the customer didn't press 1 or 2, Not Pressed will be set to Text__c field.
 
 
Get customer input configuration:
 

Output: