Relative Content

Tag Archive for slack-api

Pull Data from Slack Lists Using Python API?

I have very limited programming skills, but I was hoping to use the new Slack Lists function to store communal data that would be pulled by an external Python script. Does anyone know if it’s possible to access and pull Lists via API yet?

Slack file download using url_private

I am experiencing difficulties downloading files from channels where the bot is not present. Specifically, I am utilizing url_private along with the required authentication token and files:read scope. Although I am able to retrieve file information successfully, I encounter an issue where the file does not download when using the fetch function in Node.js. Interestingly, when I paste the same URL directly into a browser, the file downloads without any problems.

Slack bot – events api, I wanted to get trigger_id so I can create modal

My requirement is to “display modal in slack app” and I need trigger_id for the same.
Basically I wanted to display modal, when quote or Purchse order is approved.
To display modal, I need trigger_id.
I will not be using “shortcuts feature” or “command” , so I wanted to use events subscription on the bot.
So I am looking for bot event, to which bot can subscribe and get trigger_id in request payload.

Any way to tag a user in a webhook message without knowing the user’s actual Slack ID?

I have a Python script that sends out Slack messages using the webhook. The messages includes a user’s SSO network login, and I’d like to tag the user in the message. However, since Slack allows a user to change their username, tagging a network ID won’t always work. Does Slack have any way of correlating a network login to a username so I can tag them properly?