https://github.com/linyows/notion-agent
:guardsman: Detects publicly accessible pages in a workspace for Notion.
https://github.com/linyows/notion-agent
Last synced: 28 days ago
JSON representation
:guardsman: Detects publicly accessible pages in a workspace for Notion.
- Host: GitHub
- URL: https://github.com/linyows/notion-agent
- Owner: linyows
- Created: 2020-05-28T04:51:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T05:22:39.000Z (about 4 years ago)
- Last Synced: 2025-04-03T13:00:34.187Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 2.94 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
Notion Agent notifies public pages to Slack channel from GAS.Usage
-----1. Deploy this
```sh
$ npm i
$ npx clasp login
$ npx clasp create 'Notion Agent' --rootDir ./src
$ npx clasp push
```
1. Set script properties as ENV(File > Project properties > Script properties)
- NOTION_ACCESS_TOKEN
- NOTION_WORKSPACE
- SLACK_ACCESS_TOKEN
- SLACK_CHANNEL
1. Add project trigger(Edit > Current project's triggers > Add trigger)
- Choose which function to run: `main`
- Which run at deployment: `head`
- Select event source: `Time-driven`
- Select type of time based trigger: `Minute timer`
- Select hour interval: `Every 10 minutes`Contribution
------------1. Fork (https://github.com/linyows/notion-agent/fork)
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the `npm ci` command and confirm that it passes
1. Create a new Pull RequestAuthor
------[linyows](https://github.com/linyows)