• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
New Topic
Discussions Enhancement Requests Application Enhancements
G

Gordon Hu

started a topic almost 2 years ago

Slack Workbot - Reply to the user in the same channel but visible to user

Currently when we use a slack command, the action is to reply to user as a Direct Message. There is a small problem with this because the user may not execute the command directly at the bot channel. The user may execute it somewhere else in a private or public channel. But the reply was from the workbot's Direct Message.


image



Slack Support suggests we use the following method:


It sounds like you want to send an ephemeral message. This can be done via the chat.postEphemeral method here: https://api.slack.com/methods/chat.postEphemeral.

When you get the payload from your slash command, pick out the user_id and channel_id and make a call to the chat.postEphemeral method to send this "Only visible to you" kind of message


If workato can make this a user-friendly UI instead of custom action, that would be super helpful :-) 

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2020   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato