Twilio is a cloud communications platform allowing developers to make and receive phone calls, send and receive text messages, and perform other communication functions using its web service APIs. The popularity of integrating Twilio service with Salesforce is increasing rapidly with the adoption of new Service Console in Salesforce.
Problem Statement
Recently for one of my client, I have setup integration with Twilio, to initiate conversation, once the campaign is created in Salesforce. To know what does the conversation means, read Twilio documentation.
What is Named Credentials?
It specifies the URL of an endpoint and its required authentication parameters in one definition. Earlier we used to create remote site settings to white-list the server endpoint and custom settings/metadata to store the credentials. But this is no more needed now, Salesforce have provided a standard way to support major authentication protocols including oAuth. You can read more in depth here.
Functionality Demo
GIT Repo:
https://github.com/SFDCDevs/Salesforce-Twilio-Conversation
Installation Steps:
Integration between Salesforce and Twilio to initiate Conversation when Campaign is created
- Deploy the code to org
- Update credentials in “Twilio Conversation” named credential
- Make sure the process builder flow “Campaign Process” is active
- Assign field level security for fields and put on layout
- Twilio Conversation ID
- Twilio API Log
- Test functionality by creating a Campaign
This is great video.
Even I’ve integrated my salesforce with Twilio for voice call feature. For that I’ve installed ‘Twilio Flex CTI’ package and it is working when I make a call from my salesforce it is connecting to another person’s. Now I struck at a point where I need to get the real time transcription into the salesforce while the conversation is going on. If you have some time could you please help me to fix this. I’m not aware of the process and even I tried with multiple options, but still not working.