Questions tagged [twilio]
The twilio tag has no usage guidance.
57 questions
0
votes
0
answers
76
views
Integrating twilio inside journey builder in marketing cloud
Can someone please suggest if we can integrate twilio inside journey builder as a custom activity and use it for sms sending inside journeys. We dont have mobile connect(not using mobile studio) set ...
0
votes
1
answer
165
views
Get Business Unit Ids to be used in Custom Activity for Marketing Cloud
we have developed a custom activity to integrate Twilio in Marketing Cloud, it is working fine connecting Marketing Cloud to the Twillio account and sending SMS to the contacts in the source Data ...
1
vote
1
answer
244
views
Can I receive a Twilio http POST webhook as Salesforce Integration User?
I have experience receiving data in Salesforce from Twilio via an incoming http POST/GET. If the receiving Apex class fires a Platform Event, which in turn triggers a Flow, the user context for that ...
0
votes
1
answer
513
views
Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at input location [1,2]
I'm getting this return error in this Twilio API call by Saleforce, but I couldn't identify what's wrong, could someone help me?
public static Boolean sendMessage(String mobileno , String message){
...
0
votes
1
answer
396
views
How can I mock Twilio's Apex callout to send a SMS?
The official documentation from Twilio does not specify how to mock the calls from their managed package (with namespace "TwilioSF").
How can I mock a callout like this one?
TwilioSF....
2
votes
0
answers
208
views
Twilio Flex and Salesforce High Velocity Sales Integration
My issue is that when I make a phone call from the Work Queue in High Velocity Sales, it successfully makes a call through the Twilio Flex Open CTI integration, creates two tasks, one [Started] and ...
1
vote
0
answers
282
views
Send MMS message to twilio from salesforce
I am trying to send MMS message with Twilio Api from my Apex Code.
I have working logic which sends SMS message with Twilio API.
Based on this documentation Sending Messages we neeed to add the "...
0
votes
1
answer
144
views
Connect Twilio with Salesforce Connect
I'm trying to find a way to use Twilio data inside of Salesforce Objects.
I've already embeded Twilio Flex using the Open CTI and is working fine, but now I need to transcribe the calls and put that ...
1
vote
0
answers
97
views
Twilio Node v12 upgrade issues [closed]
We have had Salesforce-Twilio integration running in Production for over a year. We send text messages to our customers with both Apex and ProcessBuilder logic, all the necessary Connected App and ...
0
votes
1
answer
1k
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
1
answer
4k
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
1
answer
1k
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
0
answers
287
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
0
answers
14
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
1
answer
496
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
0
answers
126
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 ...
3
votes
0
answers
321
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
0
answers
253
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
1
answer
3k
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
1
answer
451
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
2
answers
1k
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
0
answers
793
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
1
answer
162
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
1
answer
117
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
1
answer
233
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
1
answer
131
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
1
answer
208
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
2
answers
69
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
2
answers
1k
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 ...
1
vote
1
answer
401
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
2
answers
13k
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
1
answer
394
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
1
answer
277
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
2
answers
392
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
1
answer
333
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
1
answer
332
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"
...
3
votes
0
answers
401
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
1
answer
267
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
0
answers
890
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
1
answer
311
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
0
answers
42
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
1
answer
1k
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
1
answer
724
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
1
answer
1k
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
2
answers
6k
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
2
answers
638
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
2
answers
292
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
1
answer
721
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
4
answers
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
1
answer
525
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 ...