Questions tagged [slack-api]

Slack serves as a comprehensive platform for instant messaging, storing information, and conducting searches within today's collaborative workspaces. This tag is specifically designated for inquiries about programming concerning the Slack API, which encompasses the Web API, RTM API, and Events API.

Utilizing Slack API to upload a local XLSX file using NodeJS

Currently, I am working on a Slack bot that is supposed to send out an XLSX file containing specific data. However, for some reason, the bot is not sending anything. Can someone please help me figure out what I am doing wrong? import fs from "fs&qu ...

Tips on sending a successful HTTP 200 response for a Slack API event request in Python using the request module

I am trying to handle an event request by sending back an HTTP 2xx response using the Request method in Python. Can someone please provide guidance on how I can achieve this smoothly? The current issue I am facing is that I have tunnelling software runnin ...

Issue with sending ephemeral message in Slack when replying to response_url not functioning as expected

I am currently developing an interactive Slack app using Node.js and Express. I have encountered a problem where, despite setting the response type to ephemeral, the replies from the interactive messages always appear publicly in the channel. Additionally, ...

The postMessage function in my Javascript SlackBot seems to be flooding the channel with messages

I am currently setting up a Slack bot using JavaScript combined with several useful libraries. The main function of this bot is to execute a postMessageToChannel method whenever a user in the channel mentions the specific keyword "help." However, I am fa ...

Iterating through the startPrivateConversation method in Botkit for a multitude of users

In order to send an update to all my users, I created a new bot controller in a separate js file. To achieve this successfully, I needed to implement a notification function inside the controller's rtm_open function. The goal was to iterate through th ...

Ways to retrieve information from a JSON response in a Slack channel and transfer it to another channel

Currently facing a challenge in extracting the response obtained from a slack channel. The script below is used to retrieve the result from the specified slack channel. payload = {'token': 'XXXXXX', 'channel': 'C0L8MGLMN ...