Templates / Convert markdown content to Google Docs document with automatic formatting

Convert markdown content to Google Docs document with automatic formatting

Ready for 3.0

by Roman Rozenberger ✓ · 5,332 views · created 2025-06-23 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (8)

Google Drive

What it does

This workflow is perfect for technical writers, content creators, marketers, and developers who write in Markdown but need to collaborate or publish using Google Docs format. Ideal for teams that want to streamline their content creation and review process. What problem does this workflow solve? Manual conversion from Markdown to Google Docs is time-consuming and often loses formatting. This workflow eliminates the tedious copy-paste process, automatically preserves formatting, and creates organized, timestamped documents in your Google Drive. Perfect for content teams who write in Markdown but need Google Docs for collaboration and review. What this workflow does - Converts Markdown to HTML with proper formatting preservation (headers, lists, links, tables) - Creates timestamped Google Docs documents with automatic naming - Adds Drive location metadata for better organization and reference - Maintains document structure including emojis, tables, and text formatting - Automates file creation in specified Google Drive folders Setup - Google Drive OAuth2 credentials configured in n8n - Target Google Drive folder URL - Input your content title and Markdown text in the "Set Input Data" node How to customize this workflow to your needs - Modify HTML formatting options in the Markdown conversion node - Change file naming patterns to match your organization system - Adjust Drive folder structure and metadata inclusion - Update MIME type handling for different output requirements - Add additional processing steps like notifications or integrations Perfect for technical documentation workflows, content publishing pipelines, blog preparation, and automated report generation. Setup Instructions - Markdown to Google Docs Converter Prerequisites - n8n instance (local or cloud) - Google account with Google Drive access - Basic understanding of n8n workflow configuration Step 1: Import the Workflow 1. Open n8n and navigate to Workflows 2. Click "Add workflow" → "Import from JSON" 3. Upload the ExportMarkdownContentdoGoogleDocsDocument.json file 4. Save the workflow with a descriptive name Step 2: Configure Google Drive Credentials Create Google Drive OAuth2 Credentials 1. In n8n, go to Settings → Credentials 2. Click "Add credential" → "Google Drive OAuth2 API" 3. Follow the OAuth setup to authorize n8n access to Google Drive: - Visit Google Cloud Console - Create or select a project - Enable Google Drive API - Create OAuth2 credentials - Add authorized redirect URI for your n8n instance 4. Name the credential (e.g., "Google Drive - Markdown Converter") Configure Google Drive Nodes Update these nodes with your Google Drive credentials: - Create Empty File - Update Document with Correct HTML Formatting In each node: 1. Select your Google Drive credential from the dropdown 2. Test the connection to ensure it works properly Step 3: Prepare Your Google Drive Create Target Folder 1. Go to Google Drive (drive.google.com) 2. Create a new folder for your converted documents 3. Copy the folder URL (will look like: https://drive.google.com/drive/folders/FOLDERID) 4. Ensure the folder has proper permissions for your Google account Step 4: Configure Input Data Set Your Default Values 1. Open the "Set Input Data" node 2. Update the assignments with your preferences: Google Drive URL: - Replace the example URL with your target folder URL - Format: https://drive.google.com/drive/folders/YOURFOLDERID Content Title: - Set a default title or leave placeholder text - This will be used in the document filename Content in Markdown: - Add your Markdown content or keep example for testing - Supports standard Markdown syntax (headers, lists, links, tables) Step 5: Test the Workflow Initial Test Run 1. Ensure all credentials are configured 2. Click the "Test workflow" button on the Manual Trigger node 3. Monitor the execution - check for any errors in node outputs 4. Verify the result: - Check your Google Drive folder - Look for a new document with timestamp in the

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.