Skip to main content
MindStudio
Pricing
Blog About
My Workspace
Productivity Apps

[Coda] Create/Update page

The Coda Create/Update Page block lets you programmatically create a new page or modify an existing page within a Coda document.

Create or update pages in a Coda document

The Coda Create/Update Page block lets you programmatically create a new page or modify an existing page within a Coda document. You specify a document ID and, optionally, a page ID — if a page ID is provided, the block updates that page; if omitted, it creates a new one. You can set the page title, subtitle, icon, cover image URL, and parent page ID for nesting, and supply the page content as markdown.

When updating an existing page, the insertionMode parameter controls how the new content is applied — either appending to what's already there or replacing it entirely. The block outputs a single value: the pageId of the page that was created or updated, which can be stored in a variable for use later in the workflow.

This block fits into workflows that generate or maintain structured documentation, such as automatically writing meeting notes into a Coda doc, publishing AI-generated reports as pages, or syncing content from other systems into a Coda workspace. It requires a Coda OAuth connection to authenticate with the Coda API.

What you can build

Real-world workflows powered by the [Coda] Create/Update page block.

Auto-Generate Meeting Notes

After an AI block summarizes a meeting transcript, use this block to create a new Coda page containing the formatted notes and action items.

Publish AI-Written Reports

Automatically create a new Coda page for each AI-generated report, setting the title, subtitle, and markdown content in a single workflow step.

Append Daily Log Entries

Update an existing Coda page each day by appending new log entries using insertionMode set to 'append', keeping a running record without overwriting previous content.

Sync External Content to Coda

Pull content from another system and write it into a Coda document page, replacing the existing content on each sync using insertionMode set to 'replace'.

Build Nested Documentation

Create sub-pages under a parent page by supplying a parentPageId, allowing workflows to generate structured, hierarchical documentation automatically.

Populate Project Wiki Pages

When a new project is created in another tool, trigger a workflow that creates a corresponding Coda page with a cover image, icon, and templated content.

Ready to add [Coda] Create/Update page to your workflow?

Get Started Free

Common questions about [Coda] Create/Update page

What parameters are required to use this block?

The block requires a Coda OAuth connection (connectionId) and a pageData object that includes at minimum a docId (the Coda document ID) and a name (page title). Fields like subtitle, iconName, imageUrl, and pageContent are also part of the pageData structure. To update an existing page, you must also supply a pageId.

How does the block decide whether to create or update a page?

If a pageId is included in the pageData, the block updates that existing page. If pageId is omitted, the block creates a new page in the specified document.

What does the block return?

The block outputs a pageId string, which is the Coda page ID of the page that was created or updated. This value can be stored in a workflow variable using the destinationVar field for use in subsequent steps.

How is page content supplied, and what happens to it?

Page content is provided as a markdown string in the pageContent field. When updating a page, the insertionMode parameter determines whether the content is appended to the existing page content or replaces it entirely.

What kinds of workflows commonly use this block?

This block is commonly used in workflows that generate documentation, publish AI-written summaries or reports, maintain running logs, or sync content from external sources into a Coda workspace. It is typically paired with AI text generation blocks or data-fetching blocks that supply the content to be written.

Add [Coda] Create/Update page to your workflow

Build powerful AI workflows with drag-and-drop blocks. No coding required.