Skip to content

flows-network/slack-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slack calculator Bot

Deploy this function on flows.network, and you will get a Slack bot that calculating the result of a mathematical formula.

image

This is a simple example to show how flows.network works when the trigger and action both happens in Slack.

Deploy Slack calculator App on your channel

To install this Slack calulator App, we will use flows.network, a serverless platform enables you to deploy your own app quick and easy in three simple steps.

Fork this repo and write your own code

Fork this repo and replace parameters in the red boxes in the image below with your own Slack workspace and channel.

image

Deploy the code on flows.network

  1. # for an account for deploying flows on flows.network. It's free.
  2. Click on the "Create a Flow" button to start deploying the ChatGPT GitHub APP
  3. Authenticate the flows.network to access the slack-calculator repo you just forked.

image

  1. Click the Deploy button to deploy your function.

Configure SaaS integrations

Next, the flows.network will direct you to configure the SaaS integration required by your flow.

image

Here we can see, we need to configue one SaaS integration.

Click on 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-integration bot on your Slack workspace. The workspace is the one you changed in the code.

Now, 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 Slack calculator App goes live. Go ahead and calulate away in Slack!

image

flows.network is still in its early stages. We would love to hear your feedback!

Others

To build locally

cargo build target wasm32-wasi --release

About

Slack Calculator bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages