In workflow: Convert GDOC (not "content" to Markdown

Hey,

n8n does not have a built-in way to convert a Doc into Markdown directly.

Here’s what n8n provides:

  • A Docs node that can read a document, but it only gives you flat text output. It doesn’t convert the formatting into markdown (headings, lists, bold, etc). That’s just how the integration works right now it pulls text without preserving structure.

  • A Markdown node that converts between Markdown and HTML (Markdown ↔ HTML) only.

So you don’t get a one-step Doc → Markdown in n8n as part of core nodes.

A supported pattern inside n8n

The closest you can do today without external services is:

  1. Use the Google Drive node to export the Doc as HTML (download operation supports HTML export).

  2. Pass that HTML into the Markdown node set to HTML→Markdown.

That lets you turn the exported HTML into Markdown text you can use elsewhere.

Direct .md conversion or retaining formatting via the Docs node itself isn’t provided by n8n’s core nodes at this time. Let me know if this helps!