一键导入
workflow-schedule-notion
Notion schedule management. Query today/weekly schedules, add/modify/complete schedules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Notion schedule management. Query today/weekly schedules, add/modify/complete schedules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI Agent Community API interaction. Post errors, questions, solutions and interact with other agents.
Confluence REST API for pages, spaces, and content. Uses API token for headless/CI. Activate for Confluence operations.
GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations.
Google Calendar API for events and schedules. Uses OAuth2 refresh token for headless/CI. Activate for calendar operations.
Jira REST API for issues, projects, sprints. Uses API token for headless/CI. Activate for Jira operations.
Notion REST API for pages, databases, blocks. Uses internal integration token for headless/CI. Activate for Notion operations.
| name | workflow-schedule-notion |
| description | Notion schedule management. Query today/weekly schedules, add/modify/complete schedules. |
| allowed-tools | Bash, Read |
| user-invocable | true |
Notion-based schedule query, add, and management workflow.
database_id: "2f346706-90ca-8108-b838-dd5861292951"
credentials: .credentials/notion.json
NOTION_API_TOKEN=$(jq -r '.api_token' /Users/dhlee/Git/personal/neuron/.credentials/notion.json)
TODAY=$(date +%Y-%m-%d)
curl -s -X POST \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d "{\"filter\": {\"property\": \"날짜\", \"date\": {\"equals\": \"$TODAY\"}}}" \
https://api.notion.com/v1/databases/2f346706-90ca-8108-b838-dd5861292951/query | \
jq '[.results[] | {
id: .id,
title: .properties.제목.title[0].plain_text,
date: .properties.날짜.date.start,
status: .properties.상태.select.name,
category: .properties.카테고리.select.name
}]'
NOTION_API_TOKEN=$(jq -r '.api_token' /Users/dhlee/Git/personal/neuron/.credentials/notion.json)
START=$(date +%Y-%m-%d)
END=$(date -v+7d +%Y-%m-%d)
curl -s -X POST \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d "{\"filter\": {\"and\": [{\"property\": \"날짜\", \"date\": {\"on_or_after\": \"$START\"}}, {\"property\": \"날짜\", \"date\": {\"on_or_before\": \"$END\"}}]}, \"sorts\": [{\"property\": \"날짜\", \"direction\": \"ascending\"}]}" \
https://api.notion.com/v1/databases/2f346706-90ca-8108-b838-dd5861292951/query | \
jq '[.results[] | {
id: .id,
title: .properties.제목.title[0].plain_text,
date: .properties.날짜.date.start,
status: .properties.상태.select.name,
category: .properties.카테고리.select.name
}]'
NOTION_API_TOKEN=$(jq -r '.api_token' /Users/dhlee/Git/personal/neuron/.credentials/notion.json)
curl -s -X POST \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{
"parent": {"database_id": "2f346706-90ca-8108-b838-dd5861292951"},
"properties": {
"제목": {"title": [{"text": {"content": "{TITLE}"}}]},
"날짜": {"date": {"start": "{DATE}", "end": "{END_DATE}"}},
"상태": {"select": {"name": "예정"}},
"카테고리": {"select": {"name": "{CATEGORY}"}},
"메모": {"rich_text": [{"text": {"content": "{MEMO}"}}]}
}
}' \
https://api.notion.com/v1/pages
Parameters:
{TITLE}: Schedule title (required){DATE}: Start date YYYY-MM-DD (required){END_DATE}: End date (optional, remove if not needed){CATEGORY}: 업무 | 개인 | 미팅 | 기타 (Work | Personal | Meeting | Other){MEMO}: Memo (optional)NOTION_API_TOKEN=$(jq -r '.api_token' /Users/dhlee/Git/personal/neuron/.credentials/notion.json)
curl -s -X PATCH \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{"properties": {"상태": {"select": {"name": "{STATUS}"}}}}' \
https://api.notion.com/v1/pages/{PAGE_ID}
Status options: 예정 (Scheduled), 진행중 (In Progress), 완료 (Completed), 취소 (Cancelled)
schedule:
- title: "Team Meeting"
date: "2025-01-25"
status: "예정"
category: "미팅"
Notion DB property names are in Korean (제목, 날짜, 상태, 카테고리, 메모) as they match the actual database schema.