This is Notion Database crawler. if found new page, notify slack channel !
- create new app from manifest file;
- paste this
manifest.yml
and install workspace - add slack app your channel
- go to Developers・Beta: Getting start
- create integration
- invite integration to a database page you wanna watch
- click Heroku deploy button at tha top
- enter required config values
- go to api.slack.com FYI: https://api.slack.com/apps
- You can choose multiple Slack channels to notify a new post. if you wanna, set
SLACK_CHANNEL_NAMES
like[general, notifications]
- If you wanna display some Notion page properties, you can set
NOTION_VISIBLE_PROPS
like[title,description,created_time,updated_time]
$ docker compose up -d
$ docker compose down -v
$ docker compose ps
$ heroku pg:backups:capture --remote heroku-prd
$ curl -o latest.dump (shell heroku pg:backups public-url --remote heroku-prd)
$ docker exec -i postgres-notion-database-crawler pg_restore --verbose --clean -U notion --no-acl --no-owner -d notion < latest.dump
Notion API is still [beta] Currently using v0.4.9