AutomationMart
Home/Browse/Generate AI-powered markdown posts from workflow JSON with Gemini & LlamaIndex
n8n

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

n8nn8n16 modulesv1.0
OpenAIWordPressGoogle DriveGitHubLinkedInGemini

This AI-powered workflow transforms n8n workflow JSON files into publication-ready, SEO-optimized markdown posts for the n8n community. Simply upload your workflow's JSON, and let Google Gemini 2.5 Pro, guided by a LlamaIndex-powered knowledge base of best practices, automatically generate compelling content. Why Use This Workflow? Time Savings: Reduces the time to create a detailed workflow post from over an hour of manual writing to under 2 minutes. Cost Reduction: Eliminates th

At a glance

Generate AI-powered markdown posts from workflow JSON with Gemini & LlamaIndex is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, WordPress, Google Drive, GitHub. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, WordPress, Google Drive, GitHub, LinkedIn, Gemini
Modules
16
Price
Free
Version
v1.0
Generate AI-powered markdown posts from workflow JSON with Gemini & LlamaIndex workflow diagram

About this workflow

This AI-powered workflow transforms n8n workflow JSON files into publication-ready, SEO-optimized markdown posts for the n8n community. Simply upload your workflow's JSON, and let Google Gemini 2.5 Pro, guided by a LlamaIndex-powered knowledge base of best practices, automatically generate compelling content. Why Use This Workflow? Time Savings: Reduces the time to create a detailed workflow post from over an hour of manual writing to under 2 minutes. Cost Reduction: Eliminates the need for separate AI content subscriptions or outsourcing content creation tasks. Error Prevention: Enforces content quality and structural consistency by using a knowledge base of n8n's official guidelines, minimizing formatting errors. Ideal For - n8n Workflow Creators: To quickly document and share their creations on the community platform without the tedious, time-consuming writing process. - Developer Advocates: To standardize and accelerate the production of technical tutorials and workflow showcases. - Content & Marketing Teams: To streamline the content pipeline for n8n-related blog posts, tutorials, and community engagement initiatives. 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 advanced 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. This knowledge base is created by parsing documents with LlamaIndex and refined with a Cohere Reranker for maximum accuracy. 5. Content Generation: The AI agent synthesizes the technical details from your JSON with the best practices from the knowledge base to write a complete, benefit-driven markdown post. 6. Output & Delivery: The final, polished markdown content is generated as the workflow's output, ready to be copied and pasted 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-2.5-pro). | | VectorStoreInMemory | Acts as the agent's knowledge base tool. | Configured to use embeddings from a Google Gemini model. | | HTTPRequest | Interacts with the LlamaIndex API to parse documents. | Set up with LlamaIndex API endpoint and authentication. | Customization Options Basic Adjustments: - Change AI Model: Replace the ChatGoogleGemini node with another LLM node (e.g., OpenAI, Anthropic) to use a different provider. - Adjust System Prompt: Modify the prompt in the "n8ncreator" node to tailor the output for different platforms (e.g., blog, internal wiki) or change the writing style. Advanced Enhancements: - Automated Publishing: Connect the output of the "n8ncreator" node to a Ghost, WordPress, or GitHub node to automatically publish the generated post. - Add Web Search: Equip the Langchain Agent with a web search tool to allow it to fetch live information about new n8n nodes or services. - Batch Processing: Replace the Form Trigger with a Read Binary Files node to process an entire folder of workflow JSON files in a single run. Performance & Optimization | Metric | Expected Performance | Optimization Tips | |--------|---------------------|-------------------| | Execution time | 1 minute per run | Largely dependent on the Gemini API response time. | | API calls | 1 LLM call per post | Knowledge base updates trigger LlamaIndex/Google calls separately. | | Error handling | Built-in retry logic for document parsing | Add an error workflow path after the "n8ncreator" node to handle AI generation failures. | Troubleshooting Common Issues: | Problem | Cause | Solution | |---------|-------|----------| | AI output is generic or incomplete | The input JSON file is invalid or lacks key information (e.g., no node names). | Ensure you are uploading a valid, exported n8n workflow JSON. Verify the workflow has been saved with descriptive node names. | | LlamaIndex parsing fails | The LlamaIndex API key is incorrect or the source document is inaccessible. | Double-check your LlamaIndex API credential. Ensure the Google Doc sharing settings allow access. | | Credential Error | API keys are missing or incorrect for Gemini, LlamaIndex, or Cohere. | Go to the specified nodes and verify that the correct credentials have been created and selected. | Created by: khaisa Studio Category: AI Tags: AI, Content Generation, Google Gemini, LlamaIndex, Automation Need custom workflows? Contact us Connect with the creator: Portfolio • Workflows • LinkedIn • Medium • Threads

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create Facebook ads copy with Notion and ChatGPT: Hero's Journey formula

Master the art of crafting compelling Facebook ad copy using Notion, ChatGPT, and the Hero's Journey framework. Engage your audience and drive conversions by telling a relatable and inspiring story that resonates with your target market.

Free

BrowserAct Video Idea & Script Engine

This template turns your Telegram bot into an automated YouTube content generator. When a user requests a video script, the workflow identifies the intent, generates a relevant search keyword, and sends it to BrowserAct to collect real YouTube data such as titles, descriptions, comments, and transcripts. The collected data is passed to Google Gemini, which analyzes audience interest and content patterns to create an original video idea and a complete, timestamped script. The final script is sav

Free

Startup Founder Discovery and AI-Powered Outreach with CrunchBase and Gmail

Automated Founder Discovery: CrunchBase to Gmail Outreach Workflow! Workflow Overview This cutting-edge n8n automation is a sophisticated founder intelligence and outreach tool designed to transform startup research into actionable networking opportunities. By intelligently connecting CrunchBase, OpenAI, and Gmail, this workflow: 1. Discovers Startup Founders: - Automatically retrieves founder profiles - Tracks latest company updates - Eliminates manual research efforts 2. Intelligent Profil

Free

🎯 Precision prospecting: Automate LinkedIn lead gen with Bright Data

Precision Prospecting: Automate LinkedIn Lead Gen with n8n & Bright Data 📝 Overview This workflow turns n8n into an AI-powered prospector, automatically searching Google for LinkedIn profiles, scraping profile data via Bright Data, and summarizing key details. Ideal for sales and recruitment teams seeking targeted lead lists without manual research. 🎥 Workflow in Action Want to see this workflow in action? You have a chat window output below: 🔑 Key Features AI Chat Trigger: Start prospecting vi

Free

Generate Discord messages using ChatGPT completions

Generate engaging Discord messages using ChatGPT completions. Enhance your server's interaction by crafting AI-driven content directly in Discord.

Free

Build your own Google Drive MCP server

This n8n demonstrates how to build a simple Google Drive MCP server to search and get contents of files from Google Drive. This MCP example is based off an official MCP reference implementation which can be found here - How it works A MCP server trigger is used and connected to 1x Google Drive tool and 1x Custom Workflow tool. The Google Drive tool is set to perform a search on files within our Google Drive folder. The Custom Workflow tool downloads target files found in our drive and convert

Free

Track daily SEO rankings with DataForSEO and Google Sheets

Automated Daily SERP Rank Tracker for SEO Specialists (Google Sheets + DataForSEO) --- Overview 🌐 ----------------- This workflow automates your daily keyword rank tracking 🔍 using DataForSEO ⚙️ and Google Sheets 📊. It pulls live Google Search results for each keyword in your list, extracts key details (query, rank, domain, date), and appends them to your Google Sheet automatically. 📆 You’ll have a complete daily snapshot of your keyword positions — no manu

Free

Automate Marker.io issues to Intercom conversations with full technical context

Automatically create Intercom conversations with full technical context when your team receive new Marker.io issues 🎯 What this template does This workflow creates a seamless bridge between Marker.io and Intercom, your customer support platform. Every issue submitted through Marker.io's widget automatically becomes a trackable conversation in Intercom, complete with technical details and visual context. Centralizing customers issues in Intercom helps your support agents continue the conversation

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free