Automating Notion with Python

Опубликовано: 21 Февраль 2026
на канале: Automata Learning Lab
1,969
37

#automation #python #notion #productivity #datascience
In this video, we’ll go through how to automate Notion with Python. We'll learn how you can update a Notion database directly from Python code using the Notion API.

Chapters
00:00 - Introduction
00:30 - Steps
01:06 - Set up a new integration in Notion and generate an API key
01:26 - Create a database for the todo list and get its corresponding id
02:13 - Initialize the variables holding the API keys and relevant database URLs
04:11 - Write a function to read the database
05:22 - Write a function to list all the tasks present in that database
06:52 - Write a function to check and uncheck tasks in the todo list
08:32 - Write a function to add tasks to that database
10:08 - Wrap everything into a cli tool
13:01 - Testing the automation

Ok, now let's get started!

Let’s go! B).

Subscribe!:    / @automatalearninglab  
Join Medium:   / membership  
Tiktok: https://www.tiktok.com/@enkrateialucc...
Twitter:   / lucasenkrateia  
LinkedIn:   / lucas-soares-969044167  

Some affiliate links (if you use them you support the channel! :))

Kindle Oasis: https://amzn.to/3IUtaOh
Seagate Portable 2TB External Hard Drive HDD: https://amzn.to/3QSZ8wd
Sony WH-1000XM5 Wireless with Noise Cancelling: https://amzn.to/3HfJvM8

Music ”Before Chill” by Yomoti from www.epidemicsound.com