htmltogoogledocs

An n8n node for uploading HTML content to Google Docs (HTML to Google Docs)

Package Information

Downloads: 33 weekly / 41 monthly
Latest Version: 1.0.1
Author: WalkingStatue

Documentation

Banner image

HTML to Google Docs Node for n8n

This is an n8n community node that allows you to upload HTML content directly to Google Docs. With this node, you can automate the creation of Google Docs documents from HTML content in your n8n workflows.

Features

  • Convert HTML content to Google Docs format
  • Create new Google Docs documents programmatically
  • Support for rich HTML formatting (headings, lists, links, etc.)
  • Authentication via Google OAuth2

Installation

Follow the installation guide in the n8n community nodes documentation.

Alternatively, you can install the node directly from npm:

npm install n8n-nodes-htmltogoogledocs

Operations

This node allows you to:

  • Upload HTML content to Google Docs
  • Create new Google Docs documents with HTML content

Credentials

To use this node, you need to authenticate with Google Drive using OAuth2.

Prerequisites

  1. You need a Google account
  2. Enable the Google Drive API in your Google Cloud Console
  3. Create OAuth2 credentials (Client ID and Client Secret)

Setup

  1. In n8n, go to Settings > Credentials
  2. Click on "Add Credential"
  3. Select "Google Drive OAuth2 API" (predefined credential)
  4. Click on "Connect my account" and follow the OAuth flow

Compatibility

This node is compatible with n8n version 0.1.0 and above.

Usage

  1. Add the HTML to Google Docs node to your workflow
  2. Configure the credentials by selecting your Google Drive OAuth2 account
  3. Enter the document name for your new Google Doc
  4. Provide the HTML content you want to upload
  5. Execute the workflow

The node will create a new Google Doc with your HTML content converted to Google Docs format.

Resources

License

MIT

Discussion