Giter VIP home page Giter VIP logo

slack-channel-inviter's Introduction

Slack Channel Inviter

This workflow will add the calling user to a predefined set of channels.

Installation

This app uses the new Slack platform, meaning everything is hosted within Slack - so no cloud resources or other hosting is required.

To deploy the workflow, follow these steps:

  1. Install and configure the Slack CLI
  2. Replace the placeholder channel IDs in channels.ts with the IDs of the channels you want the workflow to invite users to
    • If you don't already have the Slack Developer Tools app installed, it's an easy way of gathering channel IDs. They can also be found in a channels' details view.
  3. Deploy the app to the Slack Platform with slack deploy, creating the trigger when prompted
  4. Take the trigger URL outputted by the Slack CLI, and send that in the relevant place for your users
    • That could be just sending it in channel, adding it as a channel bookmark, or placing it in a Canvas
  5. Invite the app to the source channel of the workflow invocations with /invite @Channel Inviter

Usage

Once installed, users can execute the workflow with the link provided as above, and will then be added to the specified channels.

Workflow preview

Limitations

  • The app must be added to the channel that users trigger the workflow from, otherwise executions will fail
  • The user installing the app via slack deploy must be present in the target channel(s), and have invite permissions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.