Deploy this bot on your GitHub repo via flows.network, and you will get a Slack bot that send a message every time your GitHub repo adds 10 stars.
This is a simple example on how flows.network works: When there is a trigger event happens on GitHub, an action gets set off (message sent) in Slack.
- Load the GitHub Star Slack Messenger
- Configure and authorize your Slack access
- Configure the bot to follow the star growth of a specified GitHub repo
You will need to #to flows.network from your GitHub account. It is free.
Click on the Create and Build button.
Next, you will tell the bot which Slack channel you want your alert messages to be sent to.
-
slack_channel
Slack organization of the Slack channel where you want to deploy the bot. Case sensitive. -
slack_workspace
The Slack channel where you want to deploy the bot. Case sensitive.
Enter your Slack workspace and channel respectively in the red boxes below.
Next, let's grant flows.network to access the Slack channel you just entered. The Slack channel must be public.
Click the "Connect/+ Add new authentication" button to authenticate your Slack account. You'll be redirected to a new page where you must grant flows.network permission to install the flows-network
bot on your workspace. This workspace is the one you entered into the slack_workspace
above.
Next, you will tell the bot which GitHub repo's star growth it needs to monitor.
github_owner
: GitHub org for the repo you want to deploy the 🤖 on.github_repo
: GitHub repo you want to deploy the 🤖 on.
Click on the Connect or + Add new authentication button to give the function access to the GitHub repo to deploy the 🤖. You'll be redirected to a new page where you must grant flows.network permission to the repo.
If you have authenticated the GitHub access before,you can see the purple Connect button turns gray Connected button. Just ignore this step and click Check button.
After that, click the Check button to see your flow details. As soon as the flow function's status becomes ready
and the flow's status became running
, the GitHub Star Slack Messenger goes live. You will get a slack message every time this repo gain 10 stars!