n8n Workflow: AI Write Word Docs from Google Sheets (Groq + Pandoc)
n8n Workflow: AI Write Word Docs from Google Sheets (Groq + Pandoc)
Regular price
£5.99
Regular price
£5.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: AI Write Word Docs from Google Sheets (Groq + Pandoc)
Regular price
£5.99
Regular price
£5.99
Sale price
Unit price
/
per
Turn Google Sheets topics into Word documents automatically (Groq + Pandoc)
This n8n workflow reads article topics and reference links from your Google Sheets, uses a Groq-powered LangChain agent to write a 1500+ word Markdown article, converts it to a .docx with Pandoc on your machine, and uploads the finished Word files to Google Drive.
What this workflow does
- Manual trigger: You start the workflow when you’re ready to generate documents.
- Reads your Google Sheets rows: It pulls the topic, reference URLs (e.g., AHREFLINKS), and an article identifier (e.g., an ART-001 value used for filenames).
- Generates long-form content: For each row, it sends the topic and links to a LangChain agent backed by the Groq Chat Model to produce a 1500+ word Markdown article.
- Saves locally as Markdown: The workflow writes the generated .md file to your configured local folder using the article ID as the filename.
- Converts Markdown to Word: It runs a Pandoc command on the same machine to convert the local .md into .docx.
- Uploads to Google Drive: Finally, it loads the converted Word document from local storage and uploads it to the selected Google Drive folder.
Use cases
- Content teams: bulk-generate article drafts from a Google Sheet and deliver them as Word documents for editing.
- SaaS operators: create repeatable doc workflows for internal knowledge bases using topics + references stored in Sheets.
- Automation engineers: a practical n8n example combining LLM writing (Groq via LangChain) with local file conversion (Pandoc) and Drive publishing.
Technical details
- Integrations/credentials: Google Sheets, Google Drive, and the Groq API for the LangChain agent.
- Core n8n nodes: Manual trigger, Set, Sticky Note, Google Sheets, Convert to File, Google Drive.
- Local requirements: n8n must run on a machine that can write to a local directory (e.g., D:\n8n-files\), with Pandoc installed and available on the system PATH.
