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
1
vote
1 answer

Add slack fields to Prometheus alert manager slack notifications

The new version of Prometheus alert manager added support for fields section in slack attachments. I'm trying to setup a go template to loop generate fields for each alert label. After testing the config, I got syntax error "cannot read an implicit…
Whispererli
  • 131
  • 2
  • 13
1
vote
3 answers

How to set up a Slack channel to directly link to GitLab issues and merge requests?

Is there any way to set up a Slack channel such that typing e.g. #361 links to issue 361 of a predefined repo or more generally use GitLab's special references?
Tobias Kienzler
  • 25,759
  • 22
  • 127
  • 221
1
vote
1 answer

Slack notification in Laravel error too few arguments

I'm trying to implement slack notifications on my laravel project. Inside my controller I call: $user->notify(new WorkAdded()); Here the WorkAdded class public function __construct() { // } /** * Get the notification's delivery channels. * …
doy
  • 158
  • 9
1
vote
1 answer

Is it possible to install app to your other workspace that isn't appproval by Slack?

I start explore Slack Api documentation. I just want to create app that will be send notification to my differrent workspaces and channels. Is it possible to create custom app and distribute it between your own workspaces without approval by Slack…
Yarik Soltys
  • 315
  • 1
  • 2
  • 17
1
vote
1 answer

Slash command response send two different responses, one to the user and another to channel

I have created a slack slash command "/myMeetings", this is actually been configured with a requestURL - https://slack.mycompany.com/slack So now my use case is to send a response which is having two text messages, one of the type ephemeral and…
Pradheep
  • 139
  • 11
1
vote
1 answer

How do I obtain a user's native language through Slack?

Slack supports a limited amount of default workspace languages: https://get.slack.help/hc/en-us/articles/115004236403#/login To customize a Slack app, I am looking to obtain their native language, even if it is not supported by Slack. Slack API…
Jay Jung
  • 1,805
  • 3
  • 23
  • 46
1
vote
1 answer

Slack API file.upload to a user?

I'm trying to follow the tutorial found here https://api.slack.com/methods/files.upload . curl -F file=@example.txt -F "initial_comment=I play the drums." -F channels=C024BE91L -F thread_ts=1532293503.000001 -H "Authorization: Bearer…
Rking14
  • 325
  • 2
  • 5
  • 17
1
vote
1 answer

Python 3.6.4 can connect to Slack locally (via slackclient) but in Azure it cannot

Python 3.6.4 (32 bit x86) using slackclient locally connects to the RTM API and is able to listen in on slack channel changes. That same code running in Azure (64 bit AMD) does not work. I've made sure that the Azure python install is as close to…
ghbcode
  • 61
  • 1
  • 6
1
vote
2 answers

Can slack bots use slack-api as admin or or full privileges user, using slack as guest?

As a slack guest user I can not update the channels topic, what if I create a bot and use https://api.slack.com/methods/channels.setTopic ? will it be possible to update the topic or will it take my guest user for this and return error?
Frazko
  • 27
  • 6
1
vote
1 answer

Slack slash command can't hit my aws lambda endpoint

I set up a the most basic aws lambda slash command handler. When I use try to use the slash command within slack. Slack responds with a error Darn - that slash command didn't work (error message: '400_client_error'). Manage the command at [name of…
Joe.Zeppy
  • 338
  • 2
  • 11
1
vote
2 answers

SLACK: Is it possible to invite users to a workspace via api?

I have created a web app in python and when a user completes sign up on that application I would like to send them an invite to the slack workspace automatically. I have just started to look at slack API but I can't seem to find it. Is it not…
user7254823
1
vote
1 answer

Hubot multiple messages

I have the following script: module.exports = (robot) -> robot.respond /petsit/i, (res) -> user_name = res.envelope.user.name res.reply "Starting new petsitting under: @" + user_name + "\n" res.send "What is the dog's name? Reply…
Rking14
  • 325
  • 2
  • 5
  • 17
1
vote
1 answer

Slack API - chat.postMessage support for Localization in attachments

I am using chat.postMessage with attachments to send a direct message to a Slack User. In attachment I have a button and I wanted to change label (text) of this button based on the Slack user language preference. Is there any way to achieve this?
MaKeer
  • 61
  • 6
1
vote
1 answer

Slack Web API not updating user profile

I would like to use the Slack Web API to update information of a user in the org. I appear to be getting a successful(200s) responses from the API however the user's information is never actually updated. The API shows no signs in the response that…
Corey Smith
  • 71
  • 10
1
vote
1 answer

Slack message "link button" not showing when URL contains underscore

I searched high and low but couldn't find a solution for this... I'm designing a basic slack message with link buttons and found that the button will not show in the message when the host contains an 'underscore'... You can try below example here:…
mverkerk
  • 31
  • 1
  • 2