I'm using the "incoming webhooks" feature of Slack to post notifications to a channel. I'm also using the "icon_emoji" feature to decorate the messages and to highlight the different types of messages. However I find that the image doesn't show up consistently:
Ie. only when it says BOT does the image also show up.
Any ideas what the issue is? Ideally I would like for the image to show up each message so that they can be scanned easily (some messages are more informative and others need to be acted upon in a timely manner).
Slack is automatically consolidating consecutive messages that are sent within a certain time frame. So the bot icon will show for the first message only and consecutive messages will display beneath the first without the bot icon.
This is standard behavior of Slack and works the same for user messages. Don't believe there is any way to turn that off.
Related
We are having some trouble with receiving scheduled surveys via text using Twilio and are unsure whether it is an issue with the logic we are using to send out the texts or an issue receiving the texts. Below, I attached a screenshot of the survey invitation log. The current settings that we are using for the automated survey invitations appear to be working here, as we can see the scheduled invitations in the survey invitation log. However, we are not receiving these scheduled texts. Because they are not actually being sent out, they are not showing up when I click “view past invitations” and no error messages are showing up for those that were sent. I also attached a screenshot of the automated survey invitation settings we were hoping to use. We will be sending out this survey every day for 49 days, changing the datediff function to the respective number of days. Does anyone have advice on where we may be going wrong (e.g., if logic won’t work in step 3 or if this is a Twilio issue)?
I need to implement a notification like the one provided by the office.js method Office.context.mailbox.item.notificationMessages using MS-Graph (or other backend outlook API).
Does MS-Graph provide this type of notification or any other notification for emails that show on the outlook client when the user opens an email?
Thanks!
No, it doesn't. You need to develop an Outlook add-in for displaying notification messages.
Also you may consider using MailTips. MailTips are informative messages displayed to users while they're composing a message. While a new message is open and being composed, Exchange analyzes the message (including recipients). If a potential problem is detected, the user is notified with a MailTip prior to sending the message. Using the information in the MailTip, the user can adjust the message to avoid undesirable situations or non-delivery reports (also known as NDRs or bounce messages). Read more about that in the MailTips and Configure custom MailTips for recipients articles in MSDN.
See mailTips resource type for more information.
I am trying to create a teams app that will detect the message that user has typed in before the message is sent on clicking the send button or on the send button click event or before the recipient receives the message. The idea is to read the message and using AI grammatically correct the text or detect if any inappropriate message is being sent that violets office rules, kind of like Grammarly. My question is it possible to detect this text through any possible means like graph api. i am open to any suggestion, not just teams app it can be some kind of windows application that can interact with teams app . Will be taking care of AI part myself.
This isn't supported, there is no No event when user is typing message. You can get an event when user sends the message. For more info here
When a slack user send my bot a message, my bot will reply with buttons. the button will utilize slack interactive message.
When user click on one of that buttons, the bot will replace the message with several texts and attachments.
my problem is that interactive message trigger scroll down to the end. how can I keep slack app not scrolling down when bot replying a message?
You can't.
You have very little control of how the Slack UI is rendering your message. And Slack will always render a new message at the bottom of a channel, which is why your updated message "scrolls down".
In general this is a feature, since Slack is made to be 100% platform agnostic and your apps will work just as well on e.g. browser, windows client or iPhone app.
I'm looking to have a user type something like
/makemeeting today # 4:00pm
this fires a outgoing webhook, which stores the info, then it fires a incoming webhook which would display a message in a channel saying meeting scheduled, and have two links
yes | no
Here's where I'm stuck. I can do everything up till this point. I'd love for any user to be able to click on one of those links and have it perform another outgoing webhook with the proper response.
I know I can just make those links point to a website, but I'd love to keep it all within slack without having to open a browser.
Is this possible? I swear I've seen yes|no, true|false replies before in other commands and bots, but I might be imagining that.
Any help would be appreciated...
thanks
This isn't supported yet but is on Slack's roadmap for the "near term".
https://trello.com/c/DVrJLbxX/12-interactive-messages
A work around is to add reactions to your message. When the user clicks the reaction (to bump up its count), an RTM event will be dispatched for you to handle: https://api.slack.com/events/reaction_added
An live example can be seen with the Meekan calendar app: https://meekan.com/slack/
So you could have two reactions: thumbs up and a thumbs down. And handle which reaction the user clicked.