Category "slack"

Slack notification from lambda not breaking message in newline

I am using below code to send message to slack from aws lambda, need to have newline between first and second variable. Both of them are of string type. Message

client is null on app.action in Slack both using Bolt for Javascript

I'm developing a Slack bot using Glitch and Bolt for Javascript. I'm opening a Model with two button (Approve and Reject), everything works up to where the user

how to share my slack App to Other Workspaces with Public Distribution way

I created a slack app with socket mode and I have one question about distributing my app: If I want to publicly distribute my app, I know that " Apps using Sock

Slack API - chat_deleteScheduledMessage not working

I have been trying to make a chatbot that schedules a message and then deletes the message before it would sent to the channel. Although, the scheduled message

Respond to user interaction - How to update message?

I have created a message froma slash-command Map<String, Object> data = new HashMap<>(); data.put("channel", command.getChannelId()); data.put("blo

Slack Bolt Verification with Oauth

I've been trying to work through this for a couple of days now. I have a slack app working in development using Slack/Bolt and the built in Express Server. In d

Where do I get `thread_ts` to start a Slack thread with an incoming webhook?

On Slack's incoming webhook documentation, they mention including the thread_ts in the request body to start a thread. { "text": "Hello, world.", "thre

Slack app giving error when adding a incoming webbook

I am running into an issue a slack app I am working with. I created a slack app, had it approved from the slack admin and then tried to create an incoming webbo

Challenge value not responding when connecting to request URL using python

I am trying to connect to my request URL in slack but it does not respond with the challenge value like it is supposed to. This has never been an issue before a

Sanitize GitHub context in GitHub actions

I'm trying to write a slack notification bot to trigger off of GitHub pull requests, but I'm running into a sanitization issue I have an action defined as follo

Sanitize GitHub context in GitHub actions

I'm trying to write a slack notification bot to trigger off of GitHub pull requests, but I'm running into a sanitization issue I have an action defined as follo

Slack incoming webhook: Request header field Content-type is not allowed by Access-Control-Allow-Headers in preflight response

I try to post a slack message via the fetch API in a browser: fetch('https://hooks.slack.com/services/xxx/xxx/xx', { method: 'post', headers: { 'Accept

Open URL in browser from Message Button using Slack API

I am sending the users a slack message with a button through a Slack App. On every click of the button, I generate a new URL. At the moment, I am able to retu

Is there a way to send a POST request to slack without using Webhook?

I have tried to send POST requests to my slack channel using webhooks to no avail. It always returns a bad request no matter what I do. Is there a way to send

How to get a link preview in Nodejs?

I have made an app in slack where I want to fetch details of a document from an API and then display the preview of the same file in slack. I'm using Nodejs for

How to get a link preview in Nodejs?

I have made an app in slack where I want to fetch details of a document from an API and then display the preview of the same file in slack. I'm using Nodejs for

Slack API: Can't send attachments

I'm trying to send an attachment using Slack's Python Client but whenever I do I fail. I tried sending it with the Tester too but it still didn't work. Either I

How to access Slackbot custom responses via slack API?

Slack provides wonderful slackbot custom responses. Is there any way to access these "when people say" and "slack bot response" data via slack API? Also is it p

API to get guests expiration date in Slack

Slack displays the expiration date for guests in the profile view (if set). But which API is used for that? I only found an API to change the value https://api.

Does slack have a method for triggering a command?

I built a slackbot for my startup. I would like to trigger things like /poll. Using client.chat_postMessage posts rather as plain text without triggering the co