Questions tagged [slack-bot]

21 questions
2
votes
0 answers

Slack Bolt Java SDK - multiple app.message events with different regex stomp on each other

I have a Slack Bolt Java SDK bot (based on Spring Boot) and am using the app.message() function. It is documented in the events API here - https://slack.dev/java-slack-sdk/guides/events-api. The function seems to take in a regex and a handler, so…
John Humphreys
  • 37,047
  • 37
  • 155
  • 255
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
1 answer

unable to host slack bot on vercel

I've created a slack bot that I want to deploy with vercel and I keep getting the error: Error: Command "npm run build" exited with 1 when running vercel deploy. In my package.json file I have: "build": "next build" which is obviously incorrect as…
Chaffe
  • 23
  • 3
1
vote
1 answer

How to post an activity as a reply in Bot Framework Slack channel?

How would one go about posting an activity as a reply in Slack instead of a new message in the channel? I have tried setting the replyToId field and construct it like shown below, but the resulting message was still not posted as a reply. // Create…
Learner
  • 11
  • 2
1
vote
1 answer

Slack bot - registering to a message-event not getting triggered

We created a Slack app using Bolt and Javascript. We wanted to listen to messages coming from the Slack app. We went to the api.slack.com and added message.app_home event According to the documentation we should add an event to the Bot for message…
NDM
  • 944
  • 9
  • 30
0
votes
0 answers

How to authenticate slack app OAuth flow with external app?

I am building external application that needs to integrate with slack application. Currently I've built the application and it uses jwt token to authenticate it's users. Now the issue that I have is related to slack integration. I've built slack…
0
votes
1 answer

Getting Slack Workflow Builder to render Variable text as markdown in message

I have created a Slack bot written in Python using slack_sdk and slack_bolt. This bot is used to help report breakages in our CICD. It will post it in a CI status channel as well as directly DM the person that broke the build. I've done this with a…
Mobile Ben
  • 7,121
  • 1
  • 27
  • 43
0
votes
1 answer

What is the right way to send Messages to a channel or user via a slackbot?

I am working on a solution that automates a certain process using a slackbot. The actual process is automated using a pipeline. If a user types the command, the slackbot starts pipeline for the user over an api request. The slackbot should then…
Lumberjack
  • 419
  • 6
  • 12
0
votes
0 answers

Testing slack bot with admin scopes in free plan

I have created a Slack bot with create and delete user features and want to test it but I'm not able to do it in a free account. So I want to know if can I test it in a standard plan or if only I need an enterprise grid account. Thank you in…
0
votes
1 answer

How can I do when the slackbot invited to channel that works properly

By using Oauth2 token I want to send some data from Google Sheets by using Slackbot. I've done everything, tokens connections etc. however I still have to add channel id to my script manually. So I want to build something when the bot invited to…
0
votes
0 answers

Appscript Slackbot Integration without using incoming webhook

Using token to connect Gsheet and Slackbot Hi! I try to add slackbot to my current channel. The purpose of bot is getting data from Google Sheets than post message to certain channels. However with using webhooks, it seems it isnt possible because I…
Tarık
  • 1
  • 1
0
votes
0 answers

Trying to set the profile status of users in my slack workspace using the slack python SDK (users_profile_set), however I am getting "invalid_user"

I am trying to create an App for my workspace which would set the user's presence at appropriate moments. I wrote the following test function: from slack_sdk import WebClient client = WebClient(token=SLACK_USER_TOKEN) email =…
0
votes
0 answers

How is Geekbot app in slack is able to post as me although I did not allowed my access to it?

I am creating a slack bot app like geekbot. In the geekbot it is able to broadcast standup messages on behalf of the user. But as a regular user, I did not allow any access to the bot. I understand that the admin can allow the "post as me" scope. In…
0
votes
1 answer

Difference between Slack Bot User OAuth Token and Bot access token?

I created a slack bot app. Now I am trying to figure out the difference between Bot User OAuth Token and Bot access token.
0
votes
1 answer

Is the slack bot access token will be same for all distributed workspace when app will be published in app directory?

I am working on a slack bot project. I have some questions about slack App Credentials, bot tokens, and app-level tokens. Are the slack app credentials like App id, Client id, Client Secret, and Signing Secret varies when I try to install my slack…
1
2