| name | notion-linker |
| description | Automatically link published content (Substack articles, LinkedIn posts) back to project rows in a Notion database. Use after publishing content to record the live URL on its Notion project. |
| version | 1.0.0 |
| author | Bubble Invest |
| license | MIT |
| allowed-tools | ["Bash"] |
Notion Linker
Automated tool to update Notion project pages when new content is created.
Usage
Link Substack Article
python3 skills/notion-linker/notion_linker.py \
--type substack \
--title "Article Title" \
--url "https://substack.com/..." \
--status Published
Link LinkedIn Post
python3 skills/notion-linker/notion_linker.py \
--type linkedin \
--title "FR/EN - Post Title" \
--status Scheduled
Status Options
Draft — Content being written
Scheduled — Approved, waiting for publication
Published — Live on platform
Projects Linked
| Content Type | Notion Project | Project ID |
|---|
| Substack articles | Substack - Newsletter | <YOUR_NOTION_DB_ID> |
| LinkedIn posts | LinkedIn Sage Agent | <YOUR_NOTION_DB_ID> |
Integration with Agents
For Substack Agent
After publishing an article, run:
import sys
sys.path.insert(0, "skills/notion-linker")
from notion_linker import link_substack_article
link_substack_article(
title="Article Title",
url="https://substack.com/...",
status="Published"
)
For Content (LinkedIn) Agent
After scheduling a post, run:
import sys
sys.path.insert(0, "skills/notion-linker")
from notion_linker import link_linkedin_post
link_linkedin_post(
title="FR/EN - Post Title",
status="Scheduled"
)