Newer Version Available

This content describes an older version of this product. View Latest

InvokeTelephonyIntegrationApiFunction Lambda Function

Use this Lambda function to create VoiceCall records. This is typically one of the first blocks in your contact flow. When a customer calls your contact center, or an agent makes a call, the system creates a VoiceCall record in Salesforce.

This function can create a voice call. The action is defined by the “methodName” key in the input attributes. To see some examples of how this function can be used, review the Sample Contact Flows in GitHub.

Table 1. Input Attributes
Action Attribute Key Attribute Value
Create a voice call methodName createVoiceCall
Table 2. Output Attributes
Output Attribute Name Description
voiceCallId ID of the voice call.