{"id":13671763,"url":"https://github.com/flows-network/flow-functions","last_synced_at":"2025-04-27T18:31:42.378Z","repository":{"id":50465472,"uuid":"498219855","full_name":"flows-network/flow-functions","owner":"flows-network","description":"Flow function examples for flows.network","archived":true,"fork":false,"pushed_at":"2023-05-08T07:03:34.000Z","size":1082,"stargazers_count":25,"open_issues_count":0,"forks_count":26,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-11T09:44:07.121Z","etag":null,"topics":["automate-the-boring-stuff","automation","github","javascript","rust","slack","workflow-automation"],"latest_commit_sha":null,"homepage":"https://docs.flows.network/docs/category/getting-started","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-31T06:50:54.000Z","updated_at":"2024-09-23T04:49:08.000Z","dependencies_parsed_at":"2024-11-11T09:32:12.527Z","dependency_job_id":"fb7e1802-77cf-4d91-ad42-fcaab31ab9f7","html_url":"https://github.com/flows-network/flow-functions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fflow-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fflow-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fflow-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fflow-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flows-network","download_url":"https://codeload.github.com/flows-network/flow-functions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251187279,"owners_count":21549613,"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":["automate-the-boring-stuff","automation","github","javascript","rust","slack","workflow-automation"],"created_at":"2024-08-02T09:01:18.064Z","updated_at":"2025-04-27T18:31:39.789Z","avatar_url":"https://github.com/flows-network.png","language":"Rust","readme":"# The function examples here are outdated and do not apply to flows.netwrok. Please check out https://github.com/flows-network/awesome-flow-functions\n\n\n# Functions in Rust and JavaScript for flows.network\n\n![badge](https://github.com/second-state/flow-functions/workflows/build/badge.svg?style=flat-square)\n\n## Introduction\n\nThis repo consists of many functions to automate your workflows across multiple SaaS with the [flows.network](https://flows.network/) platform.\n\nSince flows.network is programmable, you could write code to transform data between two SaaS based on your business needs as a developer.\n\nThe flow functions could be written in Rust and JavaScript.\n\n## Usage\n\nPlease refer to our [Get Started](https://docs.flows.network/docs/category/getting-started) guide to automating workflows with the functions.\n\nThe following table shows the usage of each package. Remember to select the corresponding inbound and outbound connectors on the [flows.network](https://flows.network/) platform.\n\n| Package Name                                                             | Inbound    | Outbound   | Description                                                                                                                                                                                                                                                                                                                        |\n| ------------------------------------------------------------------------ | ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [image-rotator](cloudinary/slack/image-rotator/)                         | Cloudinary | Slack      | Returns the URL of the image rotated by 90 degrees when a file is uploaded to the Cloudinary                                                                                                                                                                                                                                       |\n| [discord-welcome](discord/discord/welcome/)                              | Discord    | Discord    | Send a welcome message when new member joined                                                                                                                                                                                                                                                                                      |\n| [discord-ping](discord/discord/ping/)                                    | Discord    | Discord    | Reply PONG to `/ping` message                                                                                                                                                                                                                                                                                                      |\n| [anti-invite-link](discord/discord/anti-invite-link/)                    | Discord    | Discord    | Ban a user when their messages contains invite link                                                                                                                                                                                                                                                                                |\n| [getting-started](getting-started/)                                      | GitHub     | Slack      | Send a message to Slack when new comments are added to GitHub issues                                                                                                                                                                                                                                                               |\n| [branch-tag-created](github/slack/branch-tag-created/)                   | GitHub     | Slack      | Send a message to Slack when a Git branch or tag is created                                                                                                                                                                                                                                                                        |\n| [branch-tag-deleted](github/slack/branch-tag-deleted/)                   | GitHub     | Slack      | Send a message to Slack when a Git branch or tag is deleted                                                                                                                                                                                                                                                                        |\n| [commit-syncer](github/slack/commit-syncer/)                             | GitHub     | Slack      | Send a message to Slack when a GitHub commit is pushed                                                                                                                                                                                                                                                                             |\n| [commit-comment-notifier](github/slack/commit-comment-notifier/)         | GitHub     | Slack      | Send a message to Slack when a commit comment is created                                                                                                                                                                                                                                                                           |\n| [discussion-notifier](github/slack/discussion-notifier/)                 | GitHub     | Slack      | Send a message to Slack when a discussion is created, edited, deleted, pinned, unpinned, locked, unlocked, transferred, category_changed, answered, unanswered, labeled, or unlabeled                                                                                                                                              |\n| [discussion-comment-notifier](github/slack/discussion-comment-notifier/) | GitHub     | Slack      | Send a message to Slack when a comment in a dicussion is created, edited, or deleted                                                                                                                                                                                                                                               |\n| [fork-notifier](github/slack/fork-notifier/)                             | GitHub     | Slack      | Send a message to Slack when a user forks a repository                                                                                                                                                                                                                                                                             |\n| [issue-notifier](github/slack/issue-notifier/)                           | GitHub     | Slack      | Send a message to Slack when a GitHub issue is opened, edited, or assigned                                                                                                                                                                                                                                                         |\n| [issue-review-notifier](github/github/issue-review-notifier/)            | GitHub     | GitHub     | Assign an issue to a specified team member when an issue is created or comment on the issue to remind the creator in case of non-compliance with issue titling convention                                                                                                                                                          |\n| [issue-pr-naive-bot](github/github/issue-pr-naive-bot/)                  | GitHub     | GitHub     | A multi-purpose script that performs different tasks when deployed on certain inbound/outbound pairs. i.e. it assigns labels, assignees, makes comment when a GitHub issue is created, or a pull request is created                                                                                                                |\n| [full-pr-review-bot](github/github/full-pr-review-bot/)                  | GitHub     | GitHub     | Request a specific pull request reviewer when the title meets requirements, otherwise send a comment prompt\n| [pr-reviewer](github/github/pr-reviewer/)                                | GitHub     | GitHub     | Automatically merge pull requests when 3 approval are reached\n| [dco-checker](github/github/dco-checker/)                                | GitHub     | GitHub     | Check that every commit in a pull request is dco signed, and leave a comment to remind\n| [label-notifier](github/slack/label-notifier/)                           | GitHub     | Slack      | Send a message to Slack when a label is created, edited, or deleted                                                                                                                                                                                                                                                                |\n| [pr-messenger](github/slack/pr-messenger/)                               | GitHub     | Slack      | Send a message to Slack when an activity related to a pull request was performed. Can be one of: assigned, auto_merge_disabled, auto_merge_enabled, closed, converted_to_draft, edited, labeled, locked, opened, ready_for_review, reopened, review_request_removed, review_requested, synchronize,unassigned, unlabeled, unlocked |\n| [pr-review-notifier](github/slack/pr-review-notifier/)                   | GitHub     | Slack      | Send a message to Slack when a pull request review is submitted, edited, or dismissed                                                                                                                                                                                                                                              |\n| [pr-review-comment-notifier](github/slack/pr-review-comment-notifier/)   | GitHub     | Slack      | Send a message to Slack when a  pull request review comment is created, edited, or deleted                                                                                                                                                                                                                                         |\n| [release-notifier](github/slack/release-notifier/)                       | GitHub     | Slack      | Send a message to Slack when a release is published, unpublished, created, edited, deleted, prereleased, or released                                                                                                                                                                                                               |\n| [repository-notifier](github/slack/repository-notifier/)                 | GitHub     | Slack      | Send a message to Slack when a repository is created, deleted, archived, unarchived, edited, renamed, transferred, publicized, or privatized                                                                                                                                                                                       |\n| [slack-star-messenger](github/slack/star-messenger/)                     | GitHub     | Slack      | Send a message to Slack when the GitHub repo gets every 10 stars                                                                                                                                                                                                                                                                   |\n| [workflow-job-notifier](github/slack/workflow-job-notifier/)             | GitHub     | Slack      | Send a message to Slack when a GitHub Actions workflow job has been queued, is in progress, or has been completed                                                                                                                                                                                                                  |\n| [star-thanks-by-gmail](github/gmail/star-thanks-by-gmail/)               | GitHub     | Gmail      | Send thank you message via Gmail when GitHub repo gets star                                                                                                                                                                                                                                                                        |\n| [star-thanks-by-sendgrid](github/sendgrid/star-thanks-by-sendgrid/)      | GitHub     | Sendgrid   | Send thank you message via Sendgrid when GitHub repo gets star                                                                                                                                                                                                                                                                     |\n| [star-send-question](github/github/sendgrid/star-send-question/)         | GitHub     | Sendgrid   | Send question message via Sendgrid when GitHub repo gets star                                                                                                                                                                                                                                                                      |\n| [pr-thanks-by-sendgrid](github/sendgrid/pr-thanks-by-sendgrid/)          | GitHub     | Sendgrid   | Send thank you message via Sendgrid when GitHub repo gets pull request                                                                                                                                                                                                                                                             |\n| [label-issue-discord](github/discord/issue-to-discord/)                  | GitHub     | Discord    | Send a message to Discord when  with a label                                                                                                                                                                                                                                                                                       |\n| [twilio-star-messenger](github/twilio/star-messenger/)                   | GitHub     | Twilio     | Send thank you message via Twilio(or Slack) when GitHub repo gets star                                                                                                                                                                                                                                                             |\n| [calculator](slack/slack/calculator/)                                    | Slack      | Slcak      | Compute the expressions on the Slack                                                                                                                                                                                                                                                                                               |\n| [lucky-draw](slack/slack/lucky-draw/)                                    | Slack      | Slcak      | Simply type \"lucky draw\" in a Slack channel to do the trick                                                                                                                                                                                                                                                                        |\n| [upload](slack/cloudinary/upload/)                                       | Slack      | Cloudinary | Upload a file from Slack to Cloudinary                                                                                                                                                                                                                                                                                             |\n| [assign-notifier](github/notion/assign-notifier/)                        | GitHub     | Notion     | Create a task on Notion when the GitHub issue is assigned                                                                                                                                                                                                                                                                          |\n| [jira-pr-status-updator](github/jira/pr-status-updater/)                 | GitHub     | Jira       | Synchronize the PR state of GitHub to Jira (or Monday)                                                                                                                                                                                                                                                                             |\n| [sync-pr-to-jira](github/jira/sync-pr-to-jira/)                          | GitHub     | Jira       | Create an issue on Jira when the PR is created on GitHub                                                                                                                                                                                                                                                                           |\n| [monday-pr-status-updator](github/monday/pr-status-updater/)             | GitHub     | Monday     | Synchronize the PR state of GitHub to Jira (or Monday)                                                                                                                                                                                                                                                                             |\n| [comment-notifier](jira/slack/comment-notifier/)                         | Jira       | Slack      | Send message to Slack when a comment is changed on GitHub                                                                                                                                                                                                                                                                          |\n| [group-bad-message](telegram/telegram/group-bad-message/)                | Telegram   | Telegram   | Ban a user when their messages contains `shit`                                                                                                                                                                                                                                                                                     |\n| [group-link-limit](telegram/telegram/group-link-limit/)                  | Telegram   | Telegram   | Warning a user when their messages contains link `secondstate.io`                                                                                                                                                                                                                                                                  |\n| [group-member-change](telegram/telegram/group-members-change/)           | Telegram   | Telegram   | Send a message when group member changed                                                                                                                                                                                                                                                                                           |\n| [telegram-ping](telegram/telegram/ping/)                                 | Telegram   | Telegram   | Reply PONG to `/ping` message                                                                                                                                                                                                                                                                                                      |\n\n## Build for Rust functions\n\n* Install WASM target if you not\n\n  ```shell\n  rustup target add wasm32-wasi\n  ```\n\n* Build package\n\n  ```shell\n  cargo build -p \u003cpackage-name\u003e --target wasm32-wasi --release # Build specified package\n  cargo build --workspace --target wasm32-wasi --release       # Build all packages\n  ```\n\n## Contributions\n\nflows.network is driven by the community. You are welcome to contribute and share your functions with the community. So don't hesitate to create a PR when you have some ideas to share.\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fflow-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflows-network%2Fflow-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fflow-functions/lists"}