Add Content to Document
add_content_to_docAdd markdown content to an existing monday.com document. Identify the document by doc_id or object_id, and optionally insert after a specific block.
Instructions
Add markdown content to an existing monday.com document.
IDENTIFICATION: Provide either doc_id or object_id to identify the document:
doc_id: The document ID (the id field returned by read_docs). Takes priority if both provided.
object_id: The document object ID (the object_id field from read_docs, also visible in the document URL). Will be resolved to a doc_id.
USAGE EXAMPLES:
By doc_id: { doc_id: "123", markdown: "# New Section\nContent here" }
By object_id: { object_id: "456", markdown: "# New Section\nContent here" }
Insert after block: { doc_id: "123", markdown: "Inserted content", after_block_id: "block_789" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | The document ID (the id field returned by read_docs). Provide this OR object_id. Takes priority if both are provided. | |
| object_id | No | The document object ID (the object_id field from read_docs, also visible in the document URL). Will be resolved to a doc_id. Provide this OR doc_id. | |
| markdown | Yes | Markdown content to add to the document. | |
| after_block_id | No | Block ID after which to insert the new content. If omitted, content is appended at the end. To insert at the beginning, pass the first block ID from read_docs. Block IDs can be obtained from read_docs or from a previous add_content_to_doc response. |