This example explains how to add and remove members from your team, based on data from an external source.
For example, add new Miro user to a team when new mew user joins a specific slack channel, and remove a user from Miro team when a user leaves Slack channel.
Case 1: Invite new slack users to Miro team
Case 2: Remove from Miro team that left Slack channel
git clone https://github.com/miroapp/app-examples.git
cd app-examples/automate-user-management
npm install
npm run start
ngrok http 8000
-
This guide shows you how to create app.
-
Select scopes:
channels:read
,groups:read
,users:read
,users:read.email
-
Verify Request URL
-
Enable Events:
member_joined_channel
,member_left_channel
-
Install the application and replace the received Sack OAuth token in the
index.js
file