Llama is a Slack bot that:
- takes any links to https://notion.so and posts an alternative deep-link into the desktop or mobile notion app.
- takes any links to https://console.cloud.google.com and posts an alternative account-switcher link
Super Simple!
We built this bot on glitch.com using Slack's Bolt framework for Node.JS and have since deployed it to a Google Cloud Function.
- Just hit the button above - and follow the Slack installation steps below - adding the
SLACK_BOT_TOKEN
andSLACK_SIGNING_SECRET
.env variables
- Install dependencies with
yarn
- Add the
SLACK_BOT_TOKEN
andSLACK_SIGNING_SECRET
env variables to a.env
file in the root - Run the app using
yarn start
This repository includes a Github Actions script to deploy the service to a serverless cloud function in GCP
- Setup a new Slack App at https://app.slack.com/apps-manage
- Create a 'Bot User' for this new Slack App
- Subscribe to Events API for your app - for the
link_shared
event - registerwww.notion.so
as your app unfurl domain - Add your request URL for the bot to the Slack Events page, it should look like
https://<your-hostname-here>/events
- Enable the following 'Bot token Scopes' in the OAuth and Permissions tab
- Click to "install app" to your workspace and note the
Bot user OAuth access token
+Signing Secret
- add those to your running application via the instructions above.