Project description:
Currently we have our customers using various chat platforms such as whatsapp , and slack where our contact center is forced to use the same. However, we would like to give Twilio flex platform to our contact service team so that they can reply messages coming from whatsapp, slack.
Query regarding media messages:
I use Javascript Client SDK for front end and connect Twilio Flex as an agent. Chat is working fine. I can send / Receive messages. But, when I send media files through SDK, 'Media messages are not supported' is displaying in Twilio Flex. When I use get All Messages from API able to get that media file as message with type = media. Also media SID is created for the uploaded file. But not able to view the same file in twilio flex.
This is a very old OLD question, but there's a bit better answer now.
https://github.com/jprix/mms2FlexChat/tree/master/function
Twilio Flex Plugin SAMPLE that shows media use with Flex and WhatsApp. Caveat: even the sample is somewhat old at this point, but should at least be educational.
HTH
You are correct, Flex does not support media attachments. You could possibly work on some logic to pass in the media URL to the agent via chat, but I have not seen any code examples to share.
Related
In the docs, it is mentioned that only during session images we can send media images. But I know some companies out there are sending media messages if no session starts. How are they doing it? Is there any workaround to send media messages without an active session?
Are there solutions from Twilio?
We refer to this feature as Media message templates. They allow for a variety of different use cases that expand what is possible with text-only messages and require pre-approval by WhatsApp and behave similarly to standard templates.
This feature is currently in private beta. So you can wait until it'll be released (I can't give you an exact timeline here) or ask to be included by opening a ticket with our Ops team (messaging-channels-ops#twilio.com).
I'm trying to integrate incoming SMS messages to Flex, I have a trigger that uses Incoming Message transition to send the data to a Send To Flex Widget, I can see in the logs that its able to get the message, however when it tries to direct the message data to Flex, I see the following error in the logs.
Note that I'm using the Programmable Chat Channel in the Send To Flex Widget
LOG
Send interaction to Flex via TaskRouter
DETAIL
SendToFlexWidget is not supported for this channel/trigger combination
I'd appreciate any help, Thanks.
I had the exact same situation when I was first setting up a new Flex Project. Turns out I had not registered the phone number with the project. From the console Flex>Messaging
I wish to implement this feature that allows users to use a deep link into a Slack's channel on their phones or computers, and pre-fill some texts in the message box.
I have read through the documents and didn't find relevant solutions.
I was hoping to find a link that looks like:
https://slack.com/app_redirect?app=A1BES823B?text=prefilled_message
Deep Links in Slack do not support including a text message. You can only open a channel.
But you can use incoming webhooks to send messages to a channel on Slack.
Or if you want to provide that exact functionality you can always build your own app to do it.
[twilio] [twilio-whatsapp]
I have successfully integrated Whastsapp beta provided by twilio and sending and receiving text working perfectly. Moreover with the one trick I am also able to send images from twilio to whtasapp but reverse flow is not working.
When I send media from mobile whatsapp application to twilio then twilio only receive black body. No text body no Media.
Am I doing something wrong?
Twilio developer evangelist here.
The Twilio API for WhatsApp doesn't yet support media. But it is being worked on.
I would still expect the text to come through, so if that's not the case then I recommend you contact Twilio support and give them some message SIDs where this happened and they will alert the WhatsApp team.
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