Questions tagged [slack-bolt]

35 questions
2
votes
1 answer

Unhandled HTTP request using @slack/bolt and ngrok

I created a Slack bot using @slack/bolt on Node.js. When I work in socket mode, everything works without problems. When I turn off socket mode and create a tunnel with ngrok, my actions stop running. Every time I click on the buttons in the views I…
Élodie Petit
  • 5,774
  • 6
  • 50
  • 88
2
votes
1 answer

Issue with running node.js app for Slack- invalid signingSecret

I am currently wirting backend for my slack app, that will open small 'Off The Record' chat modal in Slack DM conversation. This app can be opened by command /x, which refers to endpoint (command /x sends a POST request to URL where my app runs-…
hyperr
  • 23
  • 3
1
vote
0 answers

Prevent notification when bot posts username to Slack channel

Is it possible to have a Slack bot post a list of usernames on a (public) channel without triggering notifications to the mentioned users? In essence, we would like the usernames/handles to be links to the users' profiles but not bother them with…
basse
  • 1,088
  • 1
  • 19
  • 40
1
vote
1 answer

Slack bolt - TypeError: client.chat.sendTyping is not a function

I have a slack bolt app that is on socket mode and is listening to messages using app.message(/.*/, async ({ message, say, context, client, ack })=>{} I would like to add a 'typing...' notification on slack after a user types a message and before…
Aadesh
  • 403
  • 3
  • 13
1
vote
0 answers

Trigger a Slack Bot using an incoming webhook

I’m not entirely sure that I’m even thinking about this correctly, but here’s the goal and here’s what I’m thinking. I need to make a block kit formatted post in a Slack channel when an external monitoring system catches an error. My thought was…
monkeyduo
  • 23
  • 5
1
vote
1 answer

Slack Conversations API conversations.kick returning "channel_not_found" for a public channel

I am writing a Slack integration that can boot certain users out of public channels when certain conditions are met. I have added several OAuth scopes to the bot token, including the…
soapergem
  • 9,263
  • 18
  • 96
  • 152
1
vote
1 answer

Warning appears alongside Slack button after click

I'm using Slack and Slack Bolt to display buttons in a message, but those buttons are just used as links, redirecting to my web app. Whenever a user clicks a button, it works as intended but a warning icon appears alongside the button. This issue is…
FE-P
  • 69
  • 8
1
vote
0 answers

Python3 slack_bolt is there easy way to format attachment responses?

Currently my responses to a command given come back to Slack in a very hard format to read. I am hoping there is a way to format the out so it's easier on the eyes. Console APP 11:26 [{'imageCL': '1838900-unix64-clang-debug'}, {'imageCL':…
New2Python
  • 325
  • 1
  • 4
  • 17
1
vote
0 answers

Slack Bolt - Send response when button is clicked / app has not been configured

I'm very new to creating a slackbot and was hoping for some help from the community! I'm using Python to create a slackbot that schedules a message to a channel every week. The mentioned user in the channel then should be able to click either…
rhysn
  • 11
  • 2
0
votes
1 answer

slack is sending multiple request for same event. we have already put x-slack-retry-num check

we have 2 servers backend-api and slack-api. slack api is serving every requests from slack(ui) using backend-api for any read/write operation in db. for some events we are receiving multiple requests that is breaking our expected…
0
votes
0 answers

Slack MultiExternalSelectElement block suggestion handler taking 30 sec to respond (Slack SDK for Java)

I am using external multi select in a modal. Calling BlockSuggestionHandler when user enters some characters and calling external api in this handler with each user interaction. But the response from external api and conversion to List is taking…
0
votes
2 answers

Python Slack Bolt: Channel not found in DMs with scopes

I'm using a slash command in a DM and getting the following error message from Slack: {'ok': False, 'error': 'channel_not_found'} My bot currently has the following scopes and is using the say function to send messages to the specified DM…
0
votes
1 answer

Slack BoltJS on GCP Cloud Run doesn't trigger app.message

Summary I have a very simple BoltJS app deployed to a very simple GCP Cloud Run service, but I can't Slack to trigger the BoltJS app via sending a message to a Slack channel. Setup Below is my setup. Code Index.ts (bolt) import { App } from…
Michael Harris
  • 189
  • 1
  • 10
0
votes
0 answers

What is the Slack CLI and how is it used?

I'm going to develop a Slack app. I've followed an official Slack.com tutorial on Bolt to make a simple app and I kinda get what's going on there. I've followed another tutorial for the Slack CLI that also makes an app and I don't really get why it…
chrisv
  • 1
0
votes
0 answers

How to stop retry mechanism in slack bot chat_postmessage slackbolt

Developed a slack bot using Python to auto reply to the messages that are posted in slack channel. Bot is sometimes replying twice with same reply message. app.client.chat_postMessage(channel=message.get("channel"),…
1
2 3