I am trying to use Microsoft Flow to post a daily message to a Microsoft Teams channel that will notify the users following that channel. When I create the Flow, the message that I write along with dynamic content does not get posted to the channel correctly.
I've since figured out how to have a dynamic date with the guide here:
https://flow.microsoft.com/en-us/blog/working-with-dates-and-times/
The resulting Flow still does not notify the channel when posted.
Here is the resulting post in the channel from before I figured out the date issue:
The message does not notify the channel.
I expect that the #channel mention would notify the channel. However, with Teams, when you type #channel, you need to pick the channel you want to mention. Is there a way to mention the channel in this way?
Related
I am looking to build a slack app which can auto-reply to a person whenever they mention me in a channel or DM me. However, i cannot find any method in the slack API for the same.
Is there any particular way i am missing or this cannot be done in Slack?
When you say 'mention me', if you mean the bot,
then you can subscribe to 'app_mention' event and take it from there.
https://api.slack.com/events/app_mention
If you mean - you as user and not the bot, then the bot needs to be part of the conversation to read the messages. This means that it will not work with the DMs.
For channels, you can invite the bot to the channel you want to monitor, and capture the 'message' event to parse the message and look for your id.
https://api.slack.com/events/message
I am struggling with a problem that I have to integrate sending message to Skype users in daily. I've tried using API (https://rasa.com/docs/rasa/pages/http-api#operation/executeConversationAction) to run action and trigger intent but it didn't work. I think the problem here is botframework is not supported output channel because it worked on Telegram.
This is the result when output channel is botframework but it doesn't appear when I set it by telegram
How can I do this task? Thanks.
I believe that the botframework channel is not supported because it doesn't implement a get_output_channel method, which is used for the intent injection.
However, I'm not sure why that is the case, as I'm not familiar with the channel. It would be dependent on the type of communication connection, i.e. if in botframework Rasa is able to send messages to the channel without having received one first. In the channel code, sending a message looks like a POST request, so I would assume that is the case.
I think you could open an enhancement request in the Rasa repo for this.
I'm trying to send files to a channel in Teams, but I've found examples of asking a bot for something (for example I write 1 and he send me an image), and the bot's able send images or files like attachments (I don't need adaptive cards or message cards if your idea is Incoming webhook).
I need to send with a schedule request attachment files to teams, is that possible? For example, if such is possible to send a set of image attachment every 1 hour.
Thanks
In case this is still not resolved.
Please take a look at Send and receive files through your bot doc to see how your bot can send/receive file attachments.
For bot to trigger message based on backend trigger, please take a look at Send
proactive messages.
Sample code for both of these scenarios can be found in Bot Framework sample code repo.
We need to automate few notifications from our web application. These get triggered at various phases, for eg. Step A, B or C would trigger emails to specific parties.
AS an improvisation to this, teams integration is being looked at where a specific channel is being created and with webhook, the messages can be posted.
I created a custom channel with an incoming webhook and I posted a JSON request (of type #messagecard) which was viewable in the channel. But the need is to really establish a conversation and not separate individual messages. By conversation, we mean a scenario or tree structure like below
OverAll status 1 (Parent message)
--> subsequent reply (child message)
---> subsequent reply (child message)
I did some R&D and found that the incoming webhook post request does not return any message id (thsi feature doesnt exist)
What I do not understand is how bots (Azure or Microsoft) can help here.
Please advise
Webhooks/connectors is perfectly fine for the single messages, are you're seeing, but I don't think it will give you the ability to create and then continue an existing "conversation" (i.e. a thread). You certainly could achieve something like this using a "bot"-based approach. In practice, it's kind of "bot+extra" because you need two things:
1) A bot registered into the channel. This will give you some key info you need to be able to send messages from outside Teams - something called a "proactive" message. Having the bot in the channel also means you have something with the authorization to send a message to the channel
2) Next you need to implement the Proactive message. Have a look at my answer here to see more: Programmatically sending a message to a bot in Microsoft Teams (the answer is in C# - not sure what language/platform you're using, but the same concepts apply in Node)
In addition to the pro-active message, once you send that first message, you need to store the message reference that comes back from "SendToConversationAsync". You then apply it to the subsequent messages, as I've described in the answer here: How to add a mention in Teams alongside an adaptive card using Bot Framework
Hope that helps
I am a bit confused on the definition of a "conversationId". Can anyone explain what a conversation is exactly? My use case needs a state for a group conversation, as long as the bot is the group, I want to maintain that state.
I also want to know how differentiate group conversation vs conversation with one user.
The Message Types documentation explains the messages for begin and end conversation for users and bots. This page also indicates that messages are channel specific, meaning that some channels will send a conversation message and others might not. So, once you choose your channels, you'll need to experiment or read the channel specific documentation to see if they send messages for start and end conversation. To prepare, the Bot Framework Emulator has a drop-down list with a Send button so you can test how your code handles these messages.