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
0 answers

Slack Slash command with arguments for jenkins job

How to use the text parameter, there is no clear documentation. My Curl request will be - curl -X POST http://jenkins.in/buildByToken/buildWithParameters/build?job=slack&token=1234567qwerty&Variable=hello How to pass arguments to jenkins job using…
1
vote
1 answer

Slack workspace bot to bot communication

i am trying to send messages through Amazon alexa via a bot-user to an already created chat bot that is within the workspace already. after using webhooks i realised the chatbot does not recognize the messages i am posting through my bot-user. my…
Jack
  • 35
  • 5
1
vote
2 answers

Laravel slack log but with additional fields and configuration

In Laravel 5.6 I'm trying to make proper slack logs and I did: 'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['single', 'slack'], ], 'slack' => [ 'driver' => 'slack', 'url' =>…
Davidos
  • 419
  • 5
  • 17
1
vote
1 answer

How do I pass the username/icon of a slackbot I created, within the code payload?

I'm pretty new to Python, but I've created a slackbot from a tutorial in Python as a small project, here is the code: https://github.com/sophiefitzpatrick/gallagherbot/blob/master/index.py At the moment the bot works within my own Slack workspace,…
Sophie
  • 11
  • 4
1
vote
1 answer

Prometheus Slack alert with FAQ url

I have a Prometheus alert like this: - alert: NginxCrashLoop annotations: description: Nginx at {{ $labels.pod }} is in Crash Loop identifier: '{{ $labels.node }}' runbook_url: https://sites.google.com/a/domain.com/bi/faq/nginx expr:…
d.ansimov
  • 2,131
  • 2
  • 31
  • 54
1
vote
1 answer

How to authenticate with Slack API from server

I'm building a Slack slash command that looks like the following /shoutout [@recipient with message] This will trigger a POST to my server with both the sender and recipient's user IDs. However, I need their full names. I'd like to send requests to…
Ben Inada
  • 421
  • 1
  • 6
  • 15
1
vote
0 answers

Lex bot not responding to messages sent through Slack's chat.postMessage API

I am building a lex bot that responds to messages on slack channel. The bot is responding perfectly to messages typed by user in that channel but if the message is send using the chat.postMessage API, then the lex bot is not giving any response. I…
1
vote
3 answers

How to differentiate between string and other args

I am trying to parse arguments in python code sent from slack... what does this mean is when someone types a command in slack I want to differentiate based on string and other args. for eg in slack if I use !command inc-number some string and then…
Muks
  • 63
  • 2
  • 9
1
vote
3 answers

How to share SQL query results in Slack

I have a similar question to this one (for Pandas), in that I'd like to have the results of an SQL query appear nicely in a Slack message, as a table. If for example I output the query results as Markdown and then paste this in Jira, a table appears…
Ricky McMaster
  • 4,289
  • 2
  • 24
  • 23
1
vote
1 answer

AJAX call to Slack URL not working on Safari browser

[I am behind a corporate proxy] I have following AJAX post request which submits the text on Slack Channel. When I do it from Chrome it works just fine. But when I do it on Safari for iOS emulator the code doesn't work. $.ajax({ data:…
Mayur
  • 124
  • 12
1
vote
2 answers

Bash to slack error log report

I currently have a script that is tailing our error log and sending logs to our slack channel. How can I get it to send an entire error and not line by line. This is what I have currently and one error gets sent as hundreds of single line posts. …
Jed
  • 929
  • 2
  • 19
  • 32
1
vote
1 answer

Is there a way to link User Messages with the Custom Bot Responses in slack without threading the messages?

I am trying to implement the edit message functionality in slack using the Custom Bot App. If the user edits the message, the custom bot also edits its response. I am able to detect the message change event for user along with the ts of user's…
Ishan
  • 81
  • 1
  • 1
  • 5
1
vote
1 answer

What's the best way to ask a user for an API Key when setting up a Slack App?

Just looking for some general advice here. I want to build a Slack app and publish it publicly to the Slack App Directory, for anyone to use. The basics of the app are: When you paste a link to a specific domain in a Slack message, a bot will…
1
vote
1 answer

WebClient files.upload fails with cannot read property 'name' of undefined

When trying to upload a file using the files.upload API on my server I encounter the following error when the file I'm uploading is being converted to multi-part form-data: TypeError: Cannot read property 'name' of undefined at…
Tom
  • 2,734
  • 2
  • 22
  • 39
1
vote
1 answer

Handle Slack button action POST request data in python

I'm trying to make confirmation slack button while running slash command. e.g. I run slash-command (/test) it sends the POST request to my python app which sends back 2 buttons (Confirm, Cancel). User presses one of the buttons slack triggers an…
Ahnenerbe
  • 303
  • 1
  • 3
  • 16
1 2 3
99
100