Skip to content

How to pass paramters from Salesforce to amazon connect contact Flow

0

I have a use case to make automated outbound calls to customers in amazon connect contact center and play a prompt to the customers about their appointment scheduled date. I am able to call the amazon connect contact flow from salesforce but not sure how to pass the appointment scheduled date to the contact flow to use in the prompt. Can any one please help on this.

1 Answer
0

Thank you for reaching out to us regarding the above query.

How to pass parameters from Salesforce to amazon connect contact Flow ?

You can achieve this by accessing the Salesforce Lookup API from your Amazon Connect Contact Flow using the sfInvokeAPI Lambda function. In fact, you can invoke the Salesforce Lookup operation by setting the "sf_operation" to "lookup". Indicate the Salesforce Object (like Case, Contact, etc) using the "sf_object" parameter. Utilize the "sf_fields" parameter to define the specific set of fields to retrieve (the fields based on which you will set the appointment date), and specify a conditional parameter.

Please refer to the AWS documentation below for more information :

I hope that the above information is helpful to you. Having said that, in case you are still facing challenges, please feel free to open a support case with AWS using the following link which would allow us to check the resources internally.

AWS
SUPPORT ENGINEER
answered 2 years ago
  • Thank you for your response. TO query the appointment records in Salesforce I need the appointment id since a customer can have multiple appointments. So I need to pass the appointment id to the contact flow from salesforce while calling the SCVoutboundcall API from Salesforce.My question is it possible to call the scvoutboundcall API to pass additional parameters like Appointment id and appointment date and can I get those attributes in the contact flow using get contact attributes and use it in the prompt? Please advise

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.