Questions tagged [slack]

Slack is a proprietary cloud-based team collaboration tool.

Slack is a messaging program designed specifically for the workplace. Developed by American software company Slack Technologies and now owned by Salesforce, Slack offers many IRC-style features, including persistent chat rooms (channels) organized by topic, private groups, and direct messaging.

Links:

  1. Official site
  2. Wiki
3220 questions
55
votes
10 answers

Slack webhook html table

I have a HTML table that I am trying to post to Slack via webhook. Is there a way to post the HTML table to Slack? Here is the HTML code: HTML Tables
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315
53
votes
2 answers

How do I make a slack bot leave a channel?

Bots cannot use the regular channels.leave API call, so how do I make a bot leave a channel, short of kicking it? I need it to leave a channel where I do not have rights to kick users.
talloaktrees
  • 3,508
  • 6
  • 28
  • 43
52
votes
12 answers

Slack: change browser to open links from desktop app

I use two browsers on my laptop - Brave for my personal stuff (Facebook, personal email, interesting things I want to read) and Firefox for my work browsing (work email, internal webpages, work communication). Normally I like having my default…
thestarsatnight
  • 707
  • 1
  • 6
  • 17
45
votes
2 answers

How do you tag people with a slack bot?

I built a bot for slack. It reads the message when a new user joins and I intend for it to post a message welcoming them: "Welcome @user! What are you building!?" When it posts @user it doesn't seem as though the actual "tag" is working. Do I need…
Dave Fontenot
  • 621
  • 2
  • 7
  • 10
44
votes
1 answer

Schedule a repeating Slack phone call

I would like to schedule a call in Slack to automatically call a set group of people every day at a specified time. My use case is that I want all members of my team to automatically be called by Slack at 10:45am, for example, every week day for…
Devin
  • 1,011
  • 2
  • 14
  • 30
44
votes
3 answers

How to send Slack notification after a Jenkins pipeline build failed?

I have a pipeline groovy script in Jenkins v2.19. Also I have a "Slack Notification Plugin" v2.0.1 and "Groovy Postbuild Plugin" installed. I can successfully send "build started" and "build finished" messages. When a build fails, how can I send the…
kivagant
  • 1,849
  • 2
  • 24
  • 33
43
votes
3 answers

How do I send "@here" with the Slack API?

I know I can tag a user with <@U423DFDE|username> but I can't figure out how to tag @here
benwiz
  • 2,167
  • 3
  • 22
  • 33
40
votes
4 answers

Slack: is there a way to disable all @channel notifications

The Slack chat tool by default sends email notifications saying "You were mentioned ..." when in fact it was @channel and not you. The only way I can find to turn these off is to go into each channel setting.
Dave Crooke
  • 670
  • 1
  • 6
  • 12
39
votes
3 answers

How to avoid slack command timeout error?

I am working with slack command (python code is running behind this), it works fine, but this gives error This slash command experienced a problem: 'Timeout was reached' (error detail provided only to team owning command). How to avoid this ?
Vikas Saini
  • 1,124
  • 3
  • 11
  • 24
37
votes
8 answers

Slack bot cannot post message to private channel

I follow Slack bot post message documents it works perfectly when post to public channel, but get error [error] => channel_not_found when post to private channel, I even change channel_name to channel ID (ex: G1HCG4BQ9) I already authorized with…
ytdm
  • 1,069
  • 1
  • 12
  • 15
36
votes
5 answers

How to send direct messages to a user as app in app channel

How is it possible to send message in slack directly to the user, by user.id as application. this application has scope: bot,channels:write,emoji:read,users:read,users:read.email I find how to send message only as DM or by webhooks, but there is no…
Koloritnij
  • 1,167
  • 1
  • 8
  • 15
33
votes
1 answer

Slack - change week start day for message reminder

I'm using Slack reminders extensively. When reading a message I want to handle next week, I just use "Next Week" message reminder. However, my work week starts on Sunday, where this message would pop up on Monday as the default week start day. Is…
BobTheBuilder
  • 18,858
  • 6
  • 40
  • 61
33
votes
3 answers

How to edit the link in a slack notification from Grafana

We are using Grafana 4 and have implemented alert notifications to a slack channel through an Incoming Webhook. The notifications are sent as and wen expected, except that the link in the notification points to the wrong place. For instance, if you…
quiram
  • 746
  • 1
  • 7
  • 18
32
votes
2 answers

Groovy: Method definition not expected here

I'm sure this is a simple fix but I'm new to programming in general and Groovy in particular. I am trying to follow this guide to enable slack notifications in a Jenkins 2 pipeline job but pasting and customizing the final code block is giving me…
Alex
  • 2,555
  • 6
  • 30
  • 48
30
votes
6 answers

slash command "dispatch_failed"

I have went through creating the custom slash command configuration via slack and installed it on workspace. However when I run it I get this /testing failed with the error "dispatch_failed" I tried multiple workspaces but same issue. Anyone…
Asim Zaidi
  • 27,016
  • 49
  • 132
  • 221