How can I receive inbound text trough Twilio on monday? - text

I'm trying to use Twilio for Automated messages through Monday. unfortunately, I cannot figure out how to receive the inbound responses from customers, Can someone guide me if you've figured this out.

You can forward SMS messages from a Twilio number to your personal mobile number:
Forwarding SMS messages to another phone number
A more full featured blog to be able to send/receive is found here.
SMS Forwarding and Responding Using Twilio and JavaScript
You can also use Twilio Studio to drag/drop widgets on the Studio Canvas to easily do this.
All Studio Tutorials
-> https://www.twilio.com/docs/studio/tutorials/how-to-set-up-auto-responder

Related

can messages templates for WhatsApp include quick reply buttons in Twilio

Using Twilio and Regarding the WhatsApp template messages sent form the system or even the normal messages sent by the chat bot, can it include quick reply buttons like Yes/No buttons or customized options like options (1, 2, 3)
Is it doable? any available samples?
Edit
The Twilio API for WhatsApp now supports interactive message templates. Check out the documentation for using buttons in WhatsApp templates here.
Twilio developer evangelist here.
Currently you cannot send interactive messages with quick reply buttons using the Twilio API for WhatsApp. That may change in the future though. If you have set up your WhatsApp number and you were in touch with an account executive, I recommend speaking with them.

Receive whatsapp voice message in Twilio

I want to receive voice messages from whatsapp with Twilio. The native voice message you can record with the mic next to the text input.
When I send that message, I get the message in the webhook but it is empty and with no media.
I took a look at Twilio log of that message and it says that:
Twilio is unable to process the Content-Type of the provided URL. Please see the Twilio Markup XML Documentation for more information on valid Content-Types.
So it seems that Twilio for WhatsApp does not support Whatsapp native audio encoding.
Can anyone help me with this?
Thank you!
I received this answer from Twilio
Hi Gustavoā€¨ ,
Thanks for reaching out. Audio files are currently supported through WhatsApp, but
we discovered an issue with the way WhatsApp is passing the audio file
to us that is preventing these voice recordings from coming through.
WhatsApp has let us know this is something they will be addressing so
look for that to be addressed in the coming months.
Thanks,
Hope this helps everybody
It seems that native WhatsApp audio now works on Twilio. The parameter 'MediaUrl0' has the link to the audio, it is working for me

How to use Dialogflow Phone gateway and handling it in backend platform like nodejs

I'm trying to understand phone gateway implementation in dialogflow but dont see much of documentation for how to handle in backend code using nodejs or any third party apps like twilio,viber etc.
My doubt is whether is it available for now or not and is their any documents regarding phone gateway which can be done through google mini device for voice calling?
Please correct me if I'm wrong about what I understand.
Dialogflow phone gateway is a great feature provided by Dialogflow. It is simple to activate. Just follow the instructions in the Integrations tab.
All your intents and webhook will just work fine as they do in the bot. But the response type is little different from other platforms. So check that once before building responses.
It only supports speech response that is returned to the user in the phone call.
as per Google documentation, it uses the V2Beta1 version of the API. It means you have all the normal fields of the V2 API inside the body and parameters of the webhook call (+1 "MlEnabled" field, but not important for the telefony gateway). See more here https://dialogflow.com/docs/reference/v2-beta-v2-migration-guide-api . I have also been searching for extra fields like the phone number who is calling (to use it in backend tasks like CRM lookup), but this is not there yet (I analysed the JSON response, there is nothing so far).
Some tip to integrate with Twilio (my use case too) : you can perfectly route the twilio call to a simple Twilio callflow (like checking for opening hours) then to the incoming DialogFlow number (as you would do with the black number of an IVR provider) and transfer the Dialogflow call to another incoming phone numbers (controlled by Twilio) where you do the rest of the callflow (typically the skill based routing).
Example : after the call, Twilio checks for opening hours > OK > forward to Dialogflow phone nbr for intent recognition > identify intent nbr1 > route to phone nbr1 of Twilio which is connected to a routing/queue to agent group nbr1 (idem for intents nbr2, 3, 4 ...).
In this example, some useful fields are missing in the JSON like the phone nbr of the caller(CLI), the phone number dialed, eventually some UUI ISDN field, ... that you would like to use for a CRM lookup and CTI popup. Let's keep an eye on it and maybe Google will add it in V2beta2 ...?

Twilio SMS reply in node.js

I'm writing a mobile notification system using twilio in node.js and I am currently able to send SMS messages to users. But I would like users to reply back with a response. I would need to gather the phone number the user sent the text from as well as the contents of the message (to query my mongoosedb)
I couldn't find much info on this so any help is appreciated.
Twilio evangelist here.
Check out this blog post which introduces you to our Node helper. If you scroll down to the section titled "Generating TwiML to handle inbound calls and SMS", it will walk you through receiving an SMS message from Twilio.
The basic idea is that when your user replies to your message, Twilio is going to tell you that by making an HTTP request to some URL that you have configured for your Twilio phone number. That URL is some endpoint that you have created in your Node app.
As part of that request, Twilio is going to pass some form parameters to you. In your going to use the request object that is passed into the POST function to get the parameters that Twilio passes you:
console.log(request.body.from);
console.log(request.body.to);
Heave over to this page on our website to see all of the parameters Twilio will send you when we
Hope that helps.

Send SMS from an app with no UI

Does anyone know how to send an SMS from the xcode application without using the UI?
I mean I want the SMS to be sent internally from the application. I have seen an app that has this feature.
I have alarm system, the alarm only receive SMS nothing else, I need the user to see the alarm name that is easy, but I want the user to choose the alarm name and control it (close, open) and I need to send command by SMS that the issue, the user should not see the alarm number neither the content which is the command text if you can help me that I will pay anyone that can help me with this.
I'm developing on iOS version 4.2.
no there is no way to do it in background , you have to call the GUI unless you create your api that ask for no & send sms from server.

Resources