Skip to content

mobsenpai/notion-randomizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notion randomizer

Vision: I've always struggled to make a notion database pick a random page everyday. It has many applications like quotes, flashcards. But for me it was vocabulary, which is very important and thus as the saying goes "Necessity is the mother of invention" , I also made this workflow.

Notion locally

  • fill the .env file

  • database id will be in the link which you see in the url

  • for randomizer key, make an integration and paste the secret key there

npm init
npm install @notionhq/client --save
npm install dotenv --save-dev

npm run notion.js

Notion with pipedream (recommended)

  • click here to use this workflow

  • just connect notion account to pipedream give access to required pages

  • choose the database to work upon

  • set the time

  • Deploy the workflow, and Done!

Notes

  • make a 'Show' checkbox property in the database which will be checked