I'm facing some challenges with Twilio and was wondering if someone knows how to resolve them. First, would like to highlight that I don't have a programming background but I can write low-level code.
Current Case:
A session is booked > Record is created in Airtable via a Zap with calendly > Twilio sends a message using the info in Airtable via a zap with calendly.
Problems:
I'm currently only able to send 160 characters in the message. If the message is longer, only the first 160 characters are sent and the message is cut short (e.g. looking forwa....)
I don't have an easy way to respond back to messages. Currently Twilio forward all messages to a Voice number in one big thread and I have to respond back in this format
+1123456789: Message.
This is confusing and causes a lot of issues.
Is there any way to build something in Twilio which allows for manual responding?
Thank you all in advance!
Twilio developer evangelist here.
I'm currently only able to send 160 characters in the message. If the message is longer, only the first 160 characters are sent and the message is cut short (e.g. looking forwa....)
This sounds like a limitation of the Zap you are using. SMS messages are 160 characters in length, but Twilio can stitch together up to 10 messages, allowing you to send up to 1600 characters. Twilio doesn't truncate the messages either, so it sounds like something the Zap is doing. In 2017 Zapier did announce that you could send longer messages with their integration, you just had to update your Zap with the right setting.
I don't have an easy way to respond back to messages. Currently Twilio forward all messages to a Voice number in one big thread and I have to respond back in this format +1123456789: Message. This is confusing and causes a lot of issues. Is there any way to build something in Twilio which allows for manual responding?
You could certainly build something. Or integrate with an app like Front which can give you a shared inbox for things like incoming SMS from Twilio.
Related
I use Twilio and Zoho Phonebridge for inbound and outbound calling to customers. I use Zoho's built in IVR which works well, but has gaps. The main gap is when I get a voicemail, I need to login to Twilio to get it and that's a time sink. I would like Twilio to email (or text, for all I care) those messages to me, transcribed or not. Problem is, I cannot modify the code provided by Zoho, so I need to have the function carry out in parallel. I'm not sure where to start. I can do code snippets easily enough, but I seems I need to replace the "Voice Configuration - Request URL", which kills the IVR.
Any help?
I'm setting up a chatbot for Whatsapp using Twilio. My question is how can I set a limit on number of messages I can send in a day? It's for my protection, so that if some bug would send over a million messages then Twilio would make me bankrupt.
Heyoooo. 👋 Twilio Developer Evangelist here.
To my knowledge, it's not possible to limit the sent messages on the Twilio side. To set a hard limit you'd have to count and keep track of the sent messages on your end.
There are a few things that you can do that may help already.
Disable auto-recharge
If you're worried about going bankrupt disable auto-recharge for your project. This way you can't just send millions of messages in case your application goes wild.
Set up usage warnings
Additionally, you can set up usage triggers that will send a webhook to a URL you define if your app hits a certain threshold value. This URL could act like kill-switch to really shut everything down after x sent messages.
FYI, Twilio protects you of loops already
To protect your project, messages cannot be sent more than 15 times in a 30 second window between your Twilio phone number and another number. Doing so may trigger a 14107 warning that your message rate has been exceeded.
In case something goes wild Twilio will stop you from sending messages.
I hope that helps. Let me know it goes. :)
I am working on automating the trade signals generated in metatrader 4. Idea is to encode the buy/sell signals into message and send to a python telegram receiver code which will decode the message and take appropriate action (like placing orders with broker using broker provided python APIs). any idea how this can be done?
I have so far tried below code, which receives message from my telegram account and replies same text back.
https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/echobot2.py
my requirement is instead of using telegram account on mobile, i need it in the metatrader
today with bit of struggle i figured out a way to achieve my requirement. not an efficient solution but its working. so i am explaining below,
MT4 EA code: once buy/sell signals generated, a message is sent to my first telegram bot (call it A_bot).
A_bot: forwards the received message to second bot(call it B_bot)
python server on vps: same token as that of B_bot is listening to incoming messages. in other words python version of B_bot is listening to incoming messages.
so when A_bot forwards the message recieved by MT4 EA to B_bot, copy of same message is received is received by python server. So in python server code now i am able to process the message and place order accordingly.
so the original problem is i can't do this with just A_bot. there is an extra step involved to forward message from one telegram bot to another to make it work. for this i am using android app Tforwarder.
I am building an app using Twilio to send out text messages and phone calls. It works great but I know there are limits to the amount of messages to send out per number in any given day. The app is going to be used to send out messages in the thousands at times, for instance to alert contacts about weather cancellations.
Since I am still developing, I do not want to send out real messages to thousands of real numbers a bunch of times while I test and configure my code.
Is there any phone apis, lists, etc. of dummy numbers that can be used as my example contacts that will at least return some form of TRUE that the number exists and received my call/message? Or return something else if I hit a use limit because of the number of messages I am sending.
I think I could get everything setup with a list of 1000 numbers since I can plan out every 250-500 calls, do this or that.
Twilio developer evangelist here.
There are no lists like that that I know of.
You do have a set of test credentials that you can use to send messages to a few "magic" numbers that will behave as if the message was successful (or failed for some reason). However there's only one success message here.
The thing about the limits of 200-250 messages per number per day is that they aren't hard limits. They are just around the level that carriers will start to consider blocking your messages. At that point you will likely still get a positive response from the Twilio API as a message is queued to be sent, but it may or may not fail at delivery time.
I recommend you look into Twilio's messaging services, they allow you to create a number pool that messages are sent from. If you are sending a number of the same messages at the same time, you can also check out Twilio Notify for sending notifications. I recently wrote up a blog post on how to set up a messaging service, number pool and Notify for bulk SMS.
Let me know if that helps at all.
Is there anyway to send the same text to multiple contacts not as a group text. I have been told that it would need a server to accomplish this. If that is the case I would like to be able to still send texts from my current number not a new number. I have checked out Twilio but have not gotten very far.
Twilio developer evangelist here.
You cannot send mass text messages using Twilio and your existing phone number.
One option you might have is, if you have a Mac you can control the SMS app programmatically to send lots of SMS messages. Here's a blog post with some example code to do that: https://www.twilio.com/blog/2017/06/drawing-pixel-art-text-messages-signal-video-wall.html
That might not be of much help, but while you can send lots of SMS messages with Twilio, you cannot do so using your existing number.
Yes you could send mass texts out to different numbers using twilio. No you could not use your current number.
You would have to purchase a new twilio number that has SMS messaging enabled.
Look at the Twilio documentation and their get started guide, figure out the language you want to create your server in and you will be sending texts in no time. https://www.twilio.com/docs/quickstart/node/programmable-sms You would run the webserver. Twilio does not offer a swift or ios based SMS solution.
https://www.twilio.com/docs/quickstart?filter-language=swift