Questions tagged [twilio]
The twilio tag has no usage guidance.
50
questions
0
votes
1answer
95 views
Salesforce Outbound call (Click To Dial) using Twilio Flex
I am trying to implement Twilio Flex for Salesforce Open CTI. I am using a twilio trial account. I have enabled Inbound calls to salesforce using twilio flex. Now I am trying to implement Click-To-...
0
votes
1answer
766 views
how to Send sms with a url using twilio? [closed]
I am using Twilio Rest Api to send sms from my salesforce app to a particular phone number. The sms is sending fine, but there is a big url in the sms body. When I open the sms in my phone, only a ...
0
votes
1answer
143 views
How can I build my own Twiml for outbound calls?
I am trying to build a call center based on Twilio and I wanted to know if we can build out own Call object like below code does in Java:
link: https://www.twilio.com/docs/voice/api/call-resource
...
0
votes
0answers
38 views
Trigger SMS Using the Twilio Connector
In this trailhead i am unable to find to,from,body to link transform with twilio connector.
https://trailhead.salesforce.com/en/content/learn/projects/automate-ordertocash-process-using-mulesoft-flow-...
0
votes
0answers
128 views
What is the equivalent Lightning method sendCTIMessage() to make an outbound call?
sendCTIMessage() is working flawlessly in Classic and VF page.
From below below code snippet sendCTIMessage('/CLICK_TO_DIAL?DN=XXXXXXXXXX'); is talking to my Twilio Flex configuration set in Call ...
0
votes
0answers
13 views
Internal Server Error on Twilio Component to Send Bulk SMS to Campaign Members [duplicate]
We have installed Twilio App for Salesforce and configured it. The 1 to 1 Contact message is working fine, while Bulk SMS to Campaign Member is showing Internal Server error as below:
Error ID: ...
1
vote
1answer
188 views
Open CTI Call Centers vs. Lightning utility bar component
A client needs to have voice capabilities in Lightning (incoming, outgoing calls and call recording), and I wanted to use the Lightning Open CTI Demo as a starting block. After numerous attempts to ...
0
votes
0answers
25 views
How to conditionally prevent Outbound messages
My developer has been trying to block outbound messages from salesforce if certain criteria are not met from a related salesforce record without success yet. There must be a way to suppress this ...
2
votes
0answers
169 views
How to get Twilio for Salesforce Apex API intellisense in VSCode
I have this Twilio package installed (in both environments):
Twilio for Salesforce: Production / Sandbox
I am using VSCode to build against the Apex Query Library:
Example Apex
TwilioSF....
0
votes
0answers
175 views
Handling inbound and outbound CTI calls in my org
I am looking into handling inbound and outbound calling in my org. We tried Twilio Flex earlier, but it didn't meet our requirements on the CRM side.
Everything that I have looked at involves ...
0
votes
1answer
958 views
Salesforce CTI softphone screenpop not working
I have the Twilo Flex Call Center Adapter Open CTI installed into Salesforce.
I am System Admin and when I get calls the screen popping works (it opens records or search results).
When other users ...
1
vote
1answer
253 views
How to setup Salesforce Identity Provider to work with Twilio Flex
What is the process to setup Salesforce Identity Provider to work with a 3rd party like Twilio Flex?
Whenever I try to login, I get this error:
Incorrect HTTP Method
3
votes
2answers
459 views
Help converting this cUrl to Apex?
I've already read and re-read the other posts here and here about cUrl to Apex. Those both dealt with only one parameter in the body of the request. This cUrl seems a bit trickier -- I can't seem to ...
3
votes
0answers
276 views
Trying to save image from Twilio MMS to Files?
I've built an SMS/MMS Lightning Component, which displays incoming MMS images in a thumbnail, and if you click it, a full-size modal display. Now I want to add the option to Save to Files...
For the ...
0
votes
1answer
73 views
Using personal number to send sms twilio,Salesforce
I have gone through various blogs and Twilio documentation,to use our personal number to send sms.They have mentioned ,the verified numbers can only be used to make calls.Is there any way(...
0
votes
1answer
88 views
Does Twilio Salesforce Helper Library support the new Passthrough API
I am working on setting up a Salesforce Helper Library to send SMS's from Salesforce using Apex. I am able to send SMS's 1 by 1 using the information from their documentation.
I came across an ...
-2
votes
1answer
117 views
how to track the status of twilio sms status in custom object with status as sent in salesforce? [closed]
how to track the status of twilio sms status in custom object with status as sent in salesforce? (using Rest api).
The records gets created, but the fields are null. I am new to integration; please ...
0
votes
1answer
55 views
2 factor authentication in salesforce using twilio totp not working correctly
i am trying to trigger otp for 2 factor authentication as per the following documentation.
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/...
2
votes
1answer
130 views
REST Endpoint Domain Mismatch in Managed Package
I'm creating a managed package which requires a namespace. It has a REST endpoint where it receives data from Twilio. Here's the error message I'm getting (on the Twilio dashboard).
Error - 11235
...
0
votes
2answers
39 views
Conditional in <response> tag in VisualforcePage
I'm newbie in Salesforce, and I am having a problem that I cant fix. I am using Twilio for making/receiving calls. I would like to put a conditional on my VFP depending on a variable that is set on ...
2
votes
2answers
807 views
(Solved) Writing Apex Test for Twilio SMS and Twilio Call?
I have working Code the sends an SMS or Voice call via Apex and Twilio, Great stuff. The trouble I am having is writing the Tests (maybe because its Friday?) and I just need a little help. I don't do ...
0
votes
1answer
768 views
Send Bulk SMS by calling Twilio API using http callout
I'm using Twilio to send SMS through salesforce.
I'm able to send the sms by calling http callout to Twilio API.
but, Now I've send bulk sms, when I inserting bulk record in salesforce.
I'm ...
1
vote
1answer
281 views
(Solved) TwilioCall Method works in Execute Anonymous Window but fails to fire in Apex
Any help would be greatly appreciated.
Looking at the logs it looks like when the case is created none of the variables are passed and nothing is sent to twilio - for the class above. The sms that ...
7
votes
2answers
4k views
REST API Unicode characters not working
I'm using the REST API for a texting app (Lightning components). When I send a messages that includes special characters 妮 ę示 or š, the characters go out correctly and get saved to my custom object ...
1
vote
1answer
291 views
Twilio salesforce integration error while sending SMS more than 160 char [closed]
I am trying to send SMS from Salesforce using Twilio's REST API. I keep getting below response.
{
"code": 21605,
"message": "The message body exceeds the 160 character limit.",
"more_info"...
4
votes
1answer
155 views
Date in RFC2822 to Apex DateTime?
I'm getting some data from the Twilio API and one of the Date fields comes in this format
"Wed, 19 Nov 2014 00:41:08 +0000"
I've tried
Date.parse('Wed, 19 Nov 2014 00:41:08 +0000');
DateTime....
2
votes
2answers
187 views
Alphabetical sender id is not sending SMS by Twilio in Salesforce
Alphabetical sender id is not sending SMS by Twilio
0
down vote
favorite
I've setup the Twilio in salesforce to send the SMS. Twilio is configured perfectly.
The number on which I'm try to send the ...
1
vote
1answer
189 views
Not receiving message from Twilio integrating in salesforce
I've Install the twilio API in salesforce by using this Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04t1a000000AQzf
and configure the custom setting in salesforce with ...
0
votes
1answer
293 views
Unable to send SMS by Twilo integration in salesforce
I've install the twilo library in salesforce from Github by using quick install link.
and create Sample VF page as below;
<apex:page standardController="Account" Extensions="Send_SMS_Controller"
...
2
votes
0answers
243 views
Need Help related to Inbound Calling in Open CTI
I follow all the steps and also able to make successful inbound call using the library
https://github.com/choppen5/TwilioSalesforceClick2Dial
Here We set one page for respone which is
https://...
0
votes
1answer
165 views
Twilio experts: How do I pass extra data in From phone number field?
I am working on a small Salesforce+Twilio integration and need to pass a Salesforce record Id to an SMS recipient, so it's included in their response, and was hoping I can append it to the From: (...
1
vote
0answers
642 views
Twilio SMS integration returns Schema Validation Warning in Twilio debug
I've been following this SmsToLead procedure and am stuck getting SMS messages into Salesforce. The Twilio debug console reports a Schema Validation Warning and this error:
cvc-elt.1: Cannot find ...
0
votes
1answer
248 views
How to make queue calling in salesforce using Twilio?
I am integrating my salesforce with Twilio to make calls.I am able to call person individually. But my requirement is to allow multiple persons to be called one by one using a queuing in Twilio. How ...
1
vote
0answers
31 views
Twilio Connect in Salesforce
I would like to add twilio connect button to my salesforce app,
The issue I am facing is what to do with the AUTHORIZE URL, As I need it to return ( after authorization)back to user salesforce.
Any ...
0
votes
1answer
585 views
Twilio access Token issue
I am trying video call using Twilio but I am getting issue when I am trying to get access token, In Twilio we can not make a video call without access token.
Can you guy's suggest me how we can get ...
1
vote
1answer
581 views
twilio smsToLead HTML element error
I'm trying to follow the blog for SmsToLead here and I'm getting an error I don't understand
Error msg:
Cvc-elt.1: Cannot find the declaration of element 'html'.
This is my Visual Force code:
...
2
votes
1answer
854 views
Twilio/Apex: receiving messages through a controller
I'm totally stuck trying to receive SMSs from Twilio into SF. I can send out fine. This is what I've got so far, and all it returns is an invalid_session_id error.
@RestResource(urlMapping='/textlead/...
2
votes
2answers
4k views
Twilio StatusCallback - Post Method implementation
There is a requirement to integrate SF with Twilio for sending messages on mobile,which i was able to achieve.
I would like to track the status of the sent message using the parameter:
'&...
0
votes
2answers
592 views
System.QueryException: List has more than 1 row for assignment to SObject3
In the test class I am getting the error as above one?
Class.TW_RestAPI.getTwiML: Class.TW_RestAPITest.testPostRestService
@istest
public class TW_RestAPITest {
static testMethod void ...
0
votes
2answers
232 views
What is a Twilio REST client?
I've basically just gotten started with Salesforce (forgive me if the questions are super basic), and am trying to figure out how to integrate Twilio into it - in the Quick Start instructions it says "...
1
vote
1answer
618 views
Integration Salesforce and Twilio
I am using Salesforce and Twilio API, but when I send a SMS message with more than 160 characters, I receive the message below.
TwilioRestException:[errorCode=21605, message=The message body exceeds ...
15
votes
4answers
2k views
Twilio Integration and SSLv3 POODLE Vulnerability
I have an existing integration with Twilio that works great - Twilio posts a message to a custom SFDC REST endpoint, and we can generate a new SMS message by calling out to the standard Twilio REST ...
11
votes
1answer
459 views
What are the reasons to use a Visualforce page on Force.com Sites versus a @RestResource to accept incoming REST calls?
I'm experimenting with an app that creates a new SMS record in Salesforce when an SMS comes in to a number in Twilio. It seems that there are two commonly accepted ways to do this:
Create a Force.com ...
21
votes
2answers
23k views
System.CalloutException: You have uncommitted work pending
I have same exception can please Click Here
The previous post issue is resolved.
Exception: :System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
...
0
votes
2answers
910 views
How get SMS Details in Sandbox by using Twilio API
I have install the Twilio package in Sandbox and I have register the mobile number in Twilio it generates new number. Then I need to get the SMS and create a new case in Sandbox.Where will I get the ...
5
votes
1answer
1k views
Failed to process API response. Interaction.js Salesforce
I'm using Twilio-Salesforce API to generate outbound calls, I've activated ClickToDial in my visualforce, but when I'm clicking the call button I'm receiving 'Failed to process API response' error ...
1
vote
0answers
122 views
Openvbx install error : An application error occurred in STEP 3
I have tried vbx instalation in local and cpanel but I got the error(An application error occurred). Error in In Step : 3
My Xamp Configuration :
Server: 127.0.0.1 via TCP/IP
Server type: MySQL
...
4
votes
4answers
2k views
Combining incoming SMS message from Twilio
I had a general question about programming in Twilio which I posted to stackoverflow, but since I'm actually using SFDC as my development platform, I'm also going to ask here in case there are ...
4
votes
2answers
506 views
Verifying Twilio Requests in Apex
The Twilio documentation includes detailed instructions for verifying that requests are actually coming from Twilio, based on a process for building and validating an HMAC-SHA1 hash:
...Compare ...
13
votes
3answers
3k views
Batch @future calls?
Im trying to build what seemed like a simple SMS messaging application using Twilio's api and running into a few strange momments.
So I have an SMS object that stores the messages and i wrote a ...