nobe4 / nslack

Be the NSA of your Slack community !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nslack

This script allow you to visualize easily all your slack connections in a google spreadsheet.

Spreadsheet example

Installation

Clone the Template

Go to the Results Template and make a copy of the document :

  • File
  • Make a copy ...

You can find the spreadsheet id in the url bar :

https://docs.google.com/spreadsheets/d/YOUR-SPREADSHEET-ID

Save it for later...

Get a Slack Token

Go to the slack web api page and generate a token. Save it for later...

Create the Script

From an empty script

  1. If you haven't created a script yet, go to this overview
  2. Create a script in your Google Drive
  3. Copy the content of main.gs
  4. Paste it in your created script

Copy the Google script

  1. Copy the main.gs file into your Google Drive.

Configure the constant variables

Required

  • token

Your Slack token previously generated.

  • sheetId

Your Spreadsheet ID previously saved.

Optional

  • email

If you want an error notification with mail, fill it with the wanted mail.

  • branch

master for only stable release, develop for all release.

Configure the trigger

  1. Create the trigger
  2. Set the time preference

Disclaimer

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY expressed or implied. Use it at your own risk.

You can only use this program with valid credentials.

About

Be the NSA of your Slack community !

License:MIT License


Languages

Language:JavaScript 100.0%