ISSUE-001: Define Notion data source property schema
Goal
Define the Notion data source property schema for AI-generated meeting and Telegram summaries.
This issue locks the write-back contract before implementing the webhook worker.
Scope
1. Summary data source
Required properties:
| Property |
Type |
Required |
Notes |
| Title |
title |
yes |
Meeting or digest title |
| Source Type |
select |
yes |
meeting_audio, telegram_digest |
| Period Start |
date |
yes |
Source period start |
| Period End |
date |
yes |
Source period end |
| Summary |
rich_text |
yes |
Human-readable summary |
| Topics |
multi_select |
no |
Main topics |
| Decisions |
rich_text |
no |
Short decision summary only |
| Risks |
rich_text |
no |
Risk summary |
| Participants |
multi_select |
no |
Human-reviewed names only |
| Review Required |
checkbox |
yes |
True if any uncertainty exists |
| Review Status |
status |
yes |
Needs Review, Reviewed, Published, Blocked |
| Raw Transcript URL |
url |
no |
Object storage link |
| Trace ID |
rich_text |
yes |
Idempotency / replay tracking |
| Model Name |
rich_text |
yes |
Model used for extraction |
| Created At |
created_time |
yes |
Notion managed |
| Last Edited At |
last_edited_time |
yes |
Notion managed |
2. Action Items data source
Required properties:
| Property |
Type |
Required |
Notes |
| Task |
title |
yes |
Action item text |
| Summary |
relation |
yes |
Relation to Summary data source |
| Owner |
people / rich_text |
no |
Use rich_text if Notion users are not guaranteed |
| Due Date |
date |
no |
Nullable |
| Status |
status |
yes |
Todo, Doing, Done, Blocked, Needs Review |
| Confidence |
number |
yes |
0.0-1.0 |
| Evidence |
rich_text |
yes |
Short source quote or paraphrase |
| Review Required |
checkbox |
yes |
True if low confidence or unclear owner/date |
| Source Type |
rollup |
yes |
From related Summary |
| Trace ID |
rollup or rich_text |
yes |
Prefer rollup from Summary |
| Created At |
created_time |
yes |
Notion managed |
| Last Edited At |
last_edited_time |
yes |
Notion managed |
Relation / Rollup Strategy
- Summary data source has many Action Items.
- Action Items must relate back to exactly one Summary.
- Action Items roll up:
- Source Type
- Period Start
- Period End
- Trace ID
Views
Summary data source views
-
Needs Review
- Filter:
Review Required = true OR Review Status = Needs Review
-
Published
- Filter:
Review Status = Published
-
By Source Type
-
Recent
Action Items data source views
-
Needs Review
- Filter:
Review Required = true OR Status = Needs Review
-
Open Tasks
-
By Owner
-
Due Soon
- Filter:
Due Date is within next 7 days
- Sort by
Due Date ASC
Config Contract
NOTION_SUMMARY_DATA_SOURCE_ID=
NOTION_ACTION_ITEMS_DATA_SOURCE_ID=
NOTION_INTEGRATION_SECRET_REF=
Acceptance Criteria
ISSUE-001: Define Notion data source property schema
Goal
Define the Notion data source property schema for AI-generated meeting and Telegram summaries.
This issue locks the write-back contract before implementing the webhook worker.
Scope
1. Summary data source
Required properties:
meeting_audio,telegram_digestNeeds Review,Reviewed,Published,Blocked2. Action Items data source
Required properties:
Todo,Doing,Done,Blocked,Needs ReviewRelation / Rollup Strategy
Views
Summary data source views
Needs Review
Review Required = trueORReview Status = Needs ReviewPublished
Review Status = PublishedBy Source Type
Source TypeRecent
Period End DESCAction Items data source views
Needs Review
Review Required = trueORStatus = Needs ReviewOpen Tasks
Status != DoneBy Owner
OwnerDue Soon
Due Date is within next 7 daysDue Date ASCConfig Contract
Acceptance Criteria
data_source_id.trace_id.peoplevsrich_text.