Comments (6)
Hi!
MIGRATING GUIDE
Moving from v2 to v3
-
The new version of the step is not using the webhook option anymore.
-
You have to create a bot with an API token at https://my.slack.com/apps/manage/custom-integrations
If you have no bot option you need to enable it it first by:
https://my.slack.com/apps/A0F7YS25R-bots
-
Invite the new bot to the channel where you want to send the message.
-
Set the
channel
input in the step
from steps-slack-message.
Thanks all for the help.
I was not aware that bots were actually represented as apps in slack, never created one till now :) Thanks for the clarification @bitce
Huge thanks for the guide @BirmacherAkos - i've managed to set it up and running and can confirm that it works.
from steps-slack-message.
Just to clarify, you are looking at the general legacy tokens, which you are right about, but slack also offers more type of tokens, which this isn't true for - although I will say that the documentation they have available has been confusing around this matter.
A correction to my previous steps: The bots will only appear through this method if you already have one set up. You should be able to search for the functionality ("Bots" in the Search App Directory search bar) or alternatively reach it through the link: https://my.slack.com/apps/A0F7YS25R-bots (Thanks Viktor 🙌)
from steps-slack-message.
Hi @KoCMoHaBTa we're sorry for the inconvenience, we are currently working on helping this change for users with documentation. Until then:
You have to:
- Enter your Slack Workspace in your browser
- Select "Apps" in the bottom left
- Select "Manage apps" in the top left
- Select "Custom Integrations" on the left under Manage
- Select "Bots"
That's basically it, you have to also provide a name to the bot as well, but the API token will become available after that.
from steps-slack-message.
Hi @bitce
Thanks for the directions, but I can't see Bots
under Custom Integrations
According to a slack guide - bots, alongside with web hooks, have been deprecated and now they recommend using apps for that.
I've created a new app, but i'm still struggling with finding the correct token.
I've tried with OAuth token, Verification Token, Client Secret and Signing Secret - none of these was able to send the messages.
Any idea what i'm doing wrong?
from steps-slack-message.
Note: you can use my.slack.com
as a placeholder for any team workspace url, and slack will auto-redirect it "to the right place" (the default workspace). E.g. https://yourworkspacename.slack.com/apps/A0F7YS25R-bots -> https://my.slack.com/apps/A0F7YS25R-bots
from steps-slack-message.
Related Issues (20)
- WebhookURL: required variable is not present if building a pull request HOT 3
- Messages are not being sent HOT 17
- Allow multiple recipients HOT 1
- Incorrectly reports API Token and Webhook URL are empty HOT 4
- Notification delivered twice HOT 1
- Messages are not being sent HOT 2
- Message not sent to multiple users HOT 3
- Add option to post to message threads HOT 2
- Names not being linked? HOT 2
- Bug when registering only the error channel HOT 13
- Cannot send message from one of the workflows. HOT 1
- how to include the link of first failed test in "- fields" HOT 2
- Error: Both API Token and WebhookURL are empty HOT 4
- Question: Formatted Text HOT 4
- Feature Request: Option to skip aborted builds HOT 4
- Action buttons behave differently on build success or failure HOT 2
- Message still sending even though no channel name supplied HOT 11
- Whitespace not trimmed on all inputs HOT 2
- Thread timestamp output variable fails to export HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steps-slack-message.