Latenode

Automate conversion of Markdown to formatted Google Docs documents

This template watches a Google Drive folder for new markdown files, downloads each file, and turns the markdown into HTML in JavaScript.

Google Docs then uploads that HTML as a formatted document. Connect Google Drive and Google Docs, then point the trigger at the folder you drop markdown into.

Updated Sep 16, 2026Est. run: 10sEst. cost: $0.0006
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Turns new Drive markdown into formatted Google Docs
  • Downloads each file from Google Drive
  • Converts markdown to HTML in JavaScript
  • Creates the Doc from that HTML

How it works

1
Trigger

Watch the Drive folder

The scenario starts when a new markdown file appears in the Google Drive folder you choose.

2
Logic

Convert markdown to HTML

Latenode downloads the file. JavaScript turns the markdown into HTML and picks a document title from the filename.

3
Action

Create the Google Doc

Google Docs uploads the HTML and converts it into a formatted document.

Setup guide

1

Connect Google Drive

Add a Google Drive connection with access to the folder that holds your markdown files.

2

Connect Google Docs

Add a Google Docs connection for the Google account that should own the new documents.

3

Point the trigger at the folder

Add a Google Drive trigger for new or changed files and select that folder. Filter by markdown if you keep other files there too.

4

Convert and upload

Download the file, convert markdown to HTML in JavaScript, then upload the HTML with Google Docs. Drop a sample .md file and open the new Doc.

Requirements

A Google Drive folder Latenode can read
A Google Docs connection that can create documents
Markdown files Latenode can download from that folder

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.