Templates / Generate complete lead magnets with OpenAI, Claude, and Google Docs automation

Generate complete lead magnets with OpenAI, Claude, and Google Docs automation

Ready for 3.0

by Santhej Kallada ✓ · 528 views · created 2025-11-04 · Content Creation, Multimodal AI

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.

What this workflow does

This AI workflow has 12 nodes and runs when someone submits an n8n form (“Lead Magnet Generator”). Along the way it connects OpenAI, Google Docs and Gmail. It also calls googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Lead Magnet Generator”).

  1. Title And Outline Generator (OpenAI): uses OpenAI
  2. Split Out: splits a list into separate items
  3. Create Sections (OpenAI): uses OpenAI
  4. Aggregate: combines items into one
  5. Markdown Generator (OpenAI): uses OpenAI
  6. Markdown: converts between Markdown and HTML
  7. set_fields (Edit Fields (Set)): sets 3 fields: document_name, html_content, drive_folder_id
  8. Prepare_Request (Code): runs custom JavaScript code
  9. CreateGoogleDoc (HTTP Request): calls googleapis.com (POST)
  10. Send a message (Gmail): uses Gmail

…plus 1 more step. See the full node list below.

Services it uses

OpenAIGoogle DocsGmail

HTTP calls to: googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

In this tutorial, I’ll walk you through a step-by-step N8N workflow that combines the power of OpenAI and Claude AI to generate professional, ready-to-use lead magnet plans for any niche. This workflow helps marketers, agencies, and freelancers create…

Excerpt from Santhej Kallada's description on n8n.io.

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.