{"id":13600549,"url":"https://github.com/flows-network/slack-calculator","last_synced_at":"2025-04-11T00:31:26.554Z","repository":{"id":65305803,"uuid":"589426525","full_name":"flows-network/slack-calculator","owner":"flows-network","description":"Slack Calculator bot","archived":false,"fork":false,"pushed_at":"2023-03-24T05:00:57.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-07T03:41:46.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flows-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-16T04:36:15.000Z","updated_at":"2023-07-25T15:06:27.000Z","dependencies_parsed_at":"2024-01-19T09:26:53.190Z","dependency_job_id":"0c2a4243-90f0-4f1f-82e9-96320b7a550e","html_url":"https://github.com/flows-network/slack-calculator","commit_stats":null,"previous_names":["flows-network/slack-calculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fslack-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fslack-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fslack-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fslack-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flows-network","download_url":"https://codeload.github.com/flows-network/slack-calculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322273,"owners_count":21084334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T18:00:41.816Z","updated_at":"2025-04-11T00:31:26.242Z","avatar_url":"https://github.com/flows-network.png","language":"Rust","funding_links":[],"categories":["Slack"],"sub_categories":[],"readme":"# Slack calculator Bot\n\n[Deploy this function on flows.network](#deploy-slack-calculator-app-on-your-channel), and you will get a Slack bot that calculating the result of a mathematical formula.\n\n\u003cimg width=\"856\" alt=\"image\" src=\"https://user-images.githubusercontent.com/45785633/226882668-faaf3550-ff68-4a3d-9509-d1482d22b803.png\"\u003e\n\nThis is a simple example to show how flows.network works when the trigger and action both happens in Slack.\n\n## Deploy Slack calculator App on your channel\n\nTo install this Slack calulator App, we will use [flows.network](https://flows.network/), a serverless platform enables you to deploy your own app quick and easy in three simple steps.\n\n### Fork this repo and write your own code\n\nFork [this repo](https://github.com/flows-network/slack-calculator) and replace parameters in the red boxes in the image below with your own Slack workspace and channel.\n\n![image](https://user-images.githubusercontent.com/45785633/226887619-e6bc05ce-d16b-48bb-9902-6c8f2ee68ec3.png)\n\n\n### Deploy the code on flows.network\n\n1. Sign up for an account for deploying flows on [flows.network](https://flows.network/). It's free.\n2. Click on the \"Create a Flow\" button to start deploying the ChatGPT GitHub APP\n3. Authenticate the [flows.network](https://flows.network/) to access the `slack-calculator` repo you just forked. \n\n![image](https://user-images.githubusercontent.com/45785633/226546523-93071359-b957-4653-a429-ab983ee9a078.png)\n\n4. Click the Deploy button to deploy your function.\n\n### Configure SaaS integrations\n\nNext, the flows.network will direct you to configure the SaaS integration required by your flow.\n\n![image](https://user-images.githubusercontent.com/45785633/226888313-6e734828-f948-4e62-83fe-c26005aef445.png)\n\nHere we can see, we need to configue one SaaS integration.\n\nClick 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](https://flows.network/) permission to install the `flows-network-integration` bot on your Slack workspace. The workspace is the one you changed in the code.\n\n\n\nNow, 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!\n\n![image](https://user-images.githubusercontent.com/45785633/226889061-a2443258-d8bf-4376-922a-dd85bd894d73.png)\n\n\u003e [flows.network](https://flows.network/) is still in its early stages. We would love to hear your feedback!\n\n\n## Others\n\n\nTo build locally\n\n```\ncargo build target wasm32-wasi --release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fslack-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflows-network%2Fslack-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fslack-calculator/lists"}