/monday_slack_unfurl

Slack App for monday.com links unfurling using AWS Lambda & JavaScript

Primary LanguageJavaScriptMIT LicenseMIT

Slack App for monday.com links unfurling using AWS Lambda & JavaScript

Slack app which creates previews of pulse & board names like this:

image

Setup

  • Read Slack instructions about app creation and setup.
  • Create your Slack app.
  • Get your monday.com API token
  • Clone repo and create .env file:
STAGE=
SLACK_VERIFICATION_TOKEN=
SLACK_CLIENT_TOKEN=
MONDAY_TOKEN=

where

  • STAGE ('dev', 'prod' etc) used to mark a deployment type
  • MONDAY_TOKEN - is your token for Monday API
  • SLACK_VERIFICATION_TOKEN - the verification token from your Slack app settings
  • SLACK_CLIENT_TOKEN - the token you will get after Slack app installation (leave it empty since you will obtain it later)
  • Set and deploy lambda
* npm install -g serverless # setup serverless
* sls config credentials --provider aws --key xxx --secret xxx # auth to you AWS account
* npm install # setup your node project

Deploy using:
* sls deploy
Debug locally using:
* sls offline start

Useful manuals and examples: