Markdown to Google Docs Enhanced icon

Markdown to Google Docs Enhanced

Transform Markdown content into Google Docs API requests with Google Drive image support

Create Document

AI-generated

Summary

Creates a formatted Google Doc in Google Drive from Markdown input or copies a template document and injects replaced placeholders and converted Markdown.

Inputs

  • driveId (required) — The Google Drive location where the document will be created.
  • folderId (required) — The Google Drive folder ID, link, or path where the document will be stored.
  • documentTitle — Title of the newly created Google Doc. Defaults to 'Untitled Document'.
  • markdownInput — Markdown content to convert into Google Docs elements (headings, styled text, lists, tables, page breaks, and images).
  • additionalOptions — Optional settings including template configurations (template document selection, JSON placeholder replacements, main content tag) and automatic page break rules.

Output shape

a single record

Returns an object containing success status, documentId, documentUrl, title, driveId, folderId, folderName, and a confirmation message.

Examples

Example 1: Create a new Google Doc from Markdown content

Drive: My Drive, Folder: Root, Document Title: 'Quarterly Report', Markdown Input: '# Summary\n\nKey updates go here.'

Example 2: Generate a document from a Google Docs template with placeholders

Drive: My Drive, Folder: 'Invoices', Document Title: 'Invoice 1001', Additional Options > Template Settings: Template Document ID, Placeholder Data JSON '{"ClientName": "Acme Corp", "Date": "2026-03-30"}', Main Content Placeholder '{{MainContent}}'

Links

Discussion