Capture attachment on WhatsApp channel before they arriving to dynamics 365 omnichannel - twilio

So we have the following challenges we integrated between dynamics 365 Omnichannel and WhatsApp using the twilio connector however we need to capture files that has been sent in WhatsApp before they arrive they appear on agent interface in order to scan the files.
If the scanning of the files were successful we would like that the file will appear in agent interface otherwise it will be deleted and/or not arrived to do dynamics 365 Omnichannel.
I am assuming this is heavily difficult mission and maybe not even possible however I'm turning to you to see if you have any ideas.

Related

How to send a message from a Microsoft Teams bot using Microsoft Graph?

I a building a bot that should engage a 1 on 1 conversation with every user in a company using teams.
I would like to use the post chat message method:
https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http
However, it is written that it is "Not supported" for Applications.
I am missing something?
PS: I am trying to use Teams as directly as possible without middle stuff like Bot Service.
You'll definitely need a bot for this, and to use something called "Proactive Messaging". Please see some similar questions from earlier just this week that will give you some good reading and background, especially:
Proactive Messaging in MS Teams
Sending proactive messages from an outside process to organizational users via Teams chat bot
In the 2nd question especially I give links to further reading, samples, and a video with some more background.

Cannot receive media attachment file in Twilio Flex

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.

Is it possible to integrate Google Assistant with my custom app?

I would like to integrate Google assistant inside my app. The idea is that I have a app which provides various press services, like giving latest news and such. I would like to integrate Google assistant for handling some particular requests. For example the user may ask, "what did the Lakers yesterday?" If i search this on Google or ask to the assistant, i will get a card with the score of yesterday's game. I would like, from inside my app, to replicate this interaction, that is sending the request to Google assistant and showing the answer that Google return to the user (or at least opening Google assistant with the answer)
Is such a thing possible?
I was looking at Google Assistant service sdk (https://developers.google.com/assistant/sdk/guides/service/python/) and it says:
The Google Assistant Service gives you full control over the integration with the Assistant by providing a streaming endpoint. Stream a user audio query to this endpoint to receive a Google Assistant audio response.
Is this possible only with audio interaction? I'm not quite certain this is the solution I should look into
The Google Assistant SDK Service allows you to send both audio or text to the Assistant and you'll get back responses including audio, display text, and rich HTML visual content.
For mobile apps, there's less support compared to Python, but it's still doable. For example, there's a version of the SDK for Android Things, which means for IoT devices like a Raspberry Pi. You can go through this project and remove all the IoT references, but it's something you'd need to do yourself.

Alexa sending SMS text Messages

I am looking for any sort of iPhone function for sending messages that can be accessed by an Alexa skill that is able to send SMS text messages, as well as read SMS text messages of a user. I know that these skills are already present, however, I am looking to do this in combination with numerous other features which I have already finished.
Any help would be much appreciated. Thanks!
Alex Skills normally run as Amazon Lambda functions. Lambda functions can call other AWS services (from the cloud, not from the phone).
Amazon SNS can send an SMS message. Here is an example using the AWS Command-Line Interface (CLI):
aws sns publish --phone-number +XXXX --message "Hello!"
However, if you are looking to send messages from the phone itself, or read messages that are already on the phone, then you will need to write an iPhone app than can use the iOS APIs to send/receive messages. This would not, however, be an 'Alex Skill' since it is running on the phone.

How to send sms messages to be detected in iOS application

I want to be able to open my application or receive a notification when the app receives a text from a specific number.
For example, I want my application to check for this number: 301-212-1312
and every time a text from this number comes to my phone, i want the app to create a notification or open. And upon opening, it parses the information in the text and searches for a html or web link. That link is then displayed in a label to the user in the application.
Sample Text from 301-212-1312:
Hey can you help me with my code, I even tried searching for solutions on www.stackoverflow.com
Sample Application action:
Application opens, parses text from number and displays only the web link
Click here to go to page: www.stackoverflow.com
You won't be able to do this the way you want to. Apps in iOS are sandboxed, so they live in their own bubble and don't have access to other system events such as receiving a text from a certain number. Instead, what you would have to do is create a specific link that your app can open, and have that link deep link to your app (which is new as of iOS 9) be sent in your message. Think getting a message from someone that sent you from Floorboard, where you click on the link and it takes you to that story in the app, rather than their website.
Take a look to XMPP protocol, you can find some implementation from github
A definition from wikipedia
Extensible Messaging and Presence Protocol (XMPP) is a communications
protocol for message-oriented middleware based on XML (Extensible
Markup Language).1 It enables the near-real-time exchange of
structured yet extensible data between any two or more network
entities.2 Originally named Jabber,[3] the protocol was developed by
the Jabber open-source community in 1999 for near real-time instant
messaging (IM), presence information, and contact list maintenance.
Designed to be extensible, the protocol has also been used for
publish-subscribe systems, signalling for VoIP, video, file transfer,
gaming, Internet of Things (IoT) applications such as the smart grid,
and social networking services.

Resources