Automatically Clean Up Notion When Coda Documents Are Deleted
When you delete a Coda document, its Notion blocks should disappear too. Notis removes related blocks from your Notion pages automatically, keeping your workspace clean and preventing orphaned content.
Trigger
Coda Document Deleted Trigger
Triggers when a Coda document is deleted.
Action
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.
Why this helps
Deleting Coda documents leaves orphaned content blocks in Notion, cluttering your pages with references to nothing. Manual cleanup is tedious, so stale blocks accumulate.
- Automatic content cleanup
- No orphaned blocks
- Cleaner Notion pages
- Reduced workspace clutter
Setup
Build it in a few focused steps.
- 1Connect Coda and Notion to Notis
- 2Create an automation: 'When I delete a Coda document, remove any related content blocks from my Notion pages'
- 3Select 'Coda Document Deleted' as your trigger
- 4Test by deleting a Coda document and verifying related Notion blocks are removed
Questions about this workflow
How does Notis know which blocks to delete?
By matching block content to Coda document references. You can also specify in your prompt: 'Look for blocks containing [document name].'
Can I archive blocks instead of deleting them?
Yes. Say: 'Archive related blocks instead of permanently deleting them.'
What if I want to keep some blocks?
Adjust your prompt: 'Delete blocks containing deprecated content, but keep overview summaries.'
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 1,000+ 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.