Templates / Generate AI-powered markdown posts from workflow JSON with Gemini & LlamaIndex

Generate AI-powered markdown posts from workflow JSON with Gemini & LlamaIndex

Ready for 3.0

by Khairul Muhtadin ✓ · 299 views · created 2025-10-17 · 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.

Nodes used (13)

Simple Vector StoreGoogle DriveReranker CohereEmbeddings Google GeminiGoogle Gemini Chat ModelAI AgentDefault Data Loader

What it does

Turn any n8n workflow JSON into a publication-ready, SEO-optimized markdown post for the n8n community. Upload your workflow file and let Google Gemini 2.5 Pro, guided by a LlamaIndex knowledge base of best practices, write the post for you. Last updated: September 2026. Why Use This Workflow? Time Savings: A detailed workflow post drops from over an hour of manual writing to under 2 minutes. Cost Reduction: No separate AI content subscriptions or outsourced writing needed. Error Prevention: A knowledge base of n8n's official guidelines keeps content quality and structure consistent, minimizing formatting errors. Ideal For - n8n Workflow Creators: Document and share creations on the community platform without the tedious writing. - Developer Advocates: Standardize and accelerate technical tutorials and workflow showcases. - Content & Marketing Teams: Streamline the pipeline for n8n-related blog posts, tutorials, and community content. How It Works 1. Trigger: The process starts when you upload an n8n workflow JSON file via a simple web form. 2. Data Extraction: The workflow automatically extracts the JSON content from the uploaded file. 3. Intelligence Layer: An AI agent powered by Google Gemini 2.5 Pro analyzes the structure, nodes, and metadata of your workflow. 4. Knowledge Retrieval: The agent consults a specialized in-memory knowledge base built from n8n's content guidelines. Documents are parsed with LlamaIndex and refined with a Cohere Reranker for maximum accuracy. 5. Content Generation: The AI agent combines the technical details from your JSON with knowledge base best practices to write a complete, benefit-driven markdown post. 6. Output & Delivery: The final polished markdown is generated as the workflow output, ready to copy-paste into the n8n community platform. Setup Guide Prerequisites | Requirement | Type | Purpose | |-------------|------|---------| | n8n instance | Essential | Workflow execution platform | | Google Gemini API Key | Essential | Powers the core AI content generation | | LlamaIndex Cloud API Key | Essential | Parses documents for the knowledge base | | Cohere API Key | Optional | Improves knowledge base search results | | Google Drive Account | Optional | For automatically updating the knowledge base from a Google Doc | Installation Steps 1. Import the JSON file to your n8n instance. 2. Configure credentials: - Google Gemini: In the "Gemini 2.5 Pro" node, create and add your Google Gemini API credential. - LlamaIndex: In the three HTTP Request nodes named "Parse Document...", "Monitor Document...", and "Retrieve Parsed...", create an HTTP Header Auth credential. The header name is Authorization and the value is Bearer YOURLLAMAINDEXAPIKEY. - Cohere: (Optional) In the "Reranker Cohere" node, create and add your Cohere API credential. - Google Drive: (Optional) If you plan to auto-update the knowledge base, configure Google Drive OAuth2 credentials for the "Knowledge Base Updated Trigger" and "Download Knowledge Document" nodes. 3. Update environment-specific values: - To use the knowledge base auto-update feature, go to the "Knowledge Base Updated Trigger" node and select the Google Drive file containing your content guidelines. 4. Customize settings: - The primary system prompt in the "n8ncreator" agent node can be modified to adjust the tone, style, or structure of the generated content. 5. Test execution: - Run the workflow manually and use the form to upload a sample n8n workflow JSON file to verify that all connections work correctly. Technical Details Core Nodes | Node | Purpose | Key Configuration | |------|---------|-------------------| | Form Trigger | Initiates the workflow via a file upload. | Set the "Input Json Workflow" field to required. | | Langchain Agent | Orchestrates the entire content creation process. | The system prompt contains all instructions for the AI. | | ChatGoogleGemini | Provides the core generative AI capabilities. | Select your Gemini model of choice (e.g., gemini

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.