Keep Notion Clean by Archiving Pages from Deleted Coda Documents
When you delete a Coda document, its Notion counterpart should disappear too. Notis archives matching Notion pages automatically, keeping your workspace tidy and preventing confusing dead links.
Trigger
Coda Document Deleted Trigger
Triggers when a Coda document is deleted.
Action
Archive Notion Page
Archives (moves to trash) or unarchives (restores from trash) a specified notion page.
Why this helps
Deleting a Coda document leaves orphaned pages in Notion, cluttering your workspace and creating confusion about what's actually active. Manual cleanup is tedious, so most people skip it.
- Automatic workspace cleanup
- No orphaned pages
- Clearer active vs. archived work
- Reduced workspace clutter
Setup
Build it in a few focused steps.
- 1Connect Coda and Notion integrations to Notis
- 2Create an automation: 'Archive the matching Notion page whenever I delete a Coda document'
- 3Select 'Coda Document Deleted' as your trigger
- 4Test by deleting a test Coda document and verifying the Notion page is archived (moved to trash)
Questions about this workflow
Can I permanently delete instead of archive?
Archiving is safer (you can restore later). If you want permanent deletion, say so in your prompt, but archiving is the default.
What if the Notion page doesn't exist?
Notis handles this gracefully—if there's no matching Notion page, nothing happens. It's safe.
How does Notis find the matching Notion page?
By title match or a reference field. Specify in your prompt if you use a different matching method.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Coda to Notion. A trigger fires from one place; an action lands in another.
Coda triggers
Notion actions
Coda Document Deleted Trigger
Triggers when a Coda document is deleted.
Add multiple content blocks (bulk, user-friendly)
Efficiently adds multiple standard content blocks to a notion page in a single api call with automatic markdown parsing. the 'content' field in notionrichtext blocks now automatically detects and parses markdown formatting including headers (# ## ###), bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), links ([text](url)), and more. ideal for bulk content creation, ai agents, and replacing multiple individual add page content calls. supports automatic text formatting, content splitting, and up to 100 blocks per request.
New Coda Document Trigger
Triggers when a new Coda document is created.
Add content to Notion page
Deprecated: appends a single content block to a notion page or a parent block (must be page, toggle, to-do, bulleted/numbered list, callout, or quote); invoke repeatedly to add multiple blocks.
New Coda Page Trigger
Triggers when a new page is added to a Coda document.
Append complex blocks (advanced, full control)
Appends complex blocks with full notion block structure to a parent block or page. use for advanced scenarios requiring precise control: code blocks, tables, embeds, nested children within blocks, or when working with pre-built notion block objects. requires full notion api block schema - use add multiple page content for simpler content creation.
Specific Coda Page Updated Trigger
Triggers when a specific page within a Coda document is updated.
Archive Notion Page
Archives (moves to trash) or unarchives (restores from trash) a specified notion page.
Create comment
Adds a comment to a notion page (via `parent page id`) or to an existing discussion thread (via `discussion id`); cannot create new discussion threads on specific blocks (inline comments).
Create Notion Database
Creates a new notion database as a subpage under a specified parent page with a defined properties schema; use this action exclusively for creating new databases.
Create Notion page
Creates a new empty page in a notion workspace.
Delete a block
Archives a notion block, page, or database using its id, which sets its 'archived' property to true (like moving to "trash" in the ui) and allows it to be restored later.
Connect any two apps with Notis in the middle.
Not just Coda and Notion. Any combination from 985+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Notion.
