Create fillable document templates from PDF or DOCX with GPT-4o and Google Drive
UnknownWhat this workflow does
This AI workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Google Drive and Word2text (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Switch: routes items into 2 branches
- Extract — Word to Text (Word2text): uses Word2text
- Extract — PDF to Text (Extract from File): extracts data from a file (pdf)
- AI — Identify Document Type (AI Agent): runs an AI agent, with model: LLM — GPT-4o (Identify)
- Code: runs custom JavaScript code
- AI — Generate Template (AI Agent): runs an AI agent, with model: LLM — GPT-4o (Generate)
- Code: runs custom JavaScript code
- Gotenberg — HTML to PDF (HTTP Request): calls an HTTP API (POST)
- GDrive — Upload PDF (Google Drive): uses Google Drive
- GDrive — Set Public Link (Google Drive): share
…plus 1 more step. See the full node list below.
Services it uses
Other OpenAI + Google Drive templates (628)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-word2text is verified or supports 3.0 (used in Extract — Word to Text).
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - Word2text
n8n-nodes-word2text.word2text - Extract from File
n8n-nodes-base.extractFromFile - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
📄Template Creator Who is this for This template is built for legal professionals, operations teams, and agencies that work with recurring document types — contracts, NDAs, invoices, lease agreements, proposals — and want to stop rebuilding templates from…