๐ŸŽฌ Automated blog generation with Gemini AI, GitHub & Jekyll publishing

โšก 922 views ยท ๐ŸŽฌ Content Creation & Video

๐Ÿ’ก Pro Tip โ€” If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.

View All Scrapers

Description

๐Ÿ“ Use Case

This n8n workflow automates the creation and publication of technical blog posts based on a list of topics stored in Google Sheets. It fetches context using Tavily and Wikipedia, generates Markdown-formatted content with Gemini AI, commits it to a GitHub repository, and updates a Jekyll-powered blog โ€” all without manual intervention.

Ideal for developers, bloggers, or content teams who want to streamline technical content creation and publishing.


โš™๏ธ Setup Instructions

๐Ÿ”‘ Prerequisites

๐Ÿงฉ Setup Steps

  1. Import the workflow JSON into your n8n instance.
  2. Set up the following credentials in n8n:
    • Tavily API
    • Google Sheets OAuth2
    • Google Palm/Gemini AI
    • GitHub OAuth2
  3. Prepare your Google Sheet:
    • Columns: Title, status, row_number
    • Set status to blank for topics to be picked up.
  4. Configure:
    • GitHub repo and _posts/ path
    • Jekyll setup (front matter, _config.yml, GitHub Pages)
  5. Adjust prompt/custom parameters if needed.
  6. Enable and deploy the workflow. Schedule it daily or trigger manually.

๐Ÿ”„ Workflow Details

NodeFunction
Schedule TriggerTriggers the flow at a set interval
Google Sheets (Get Topic)Fetches the next incomplete blog topic
Extract TopicParses topic text from the sheet
Tavily SearchGathers up-to-date content related to the topic
Wikipedia ToolOptionally adds more context or images
Summarize ResultsFormats the context for the AI
Gemini AI Agent (LangChain)Generates a Markdown blog post with YAML front matter
Set File ParametersPrepares the filename, content, and commit message
GitHub CommitUploads the .md file to the _posts/ directory
Update Google SheetMarks topic as done after successful commit

๐Ÿ› ๏ธ Customization Options


โš ๏ธ Community Nodes Used

This workflow uses the following community nodes:

> โš ๏ธ Ensure these are installed and enabled in your n8n instance.


๐Ÿ’ก Pro Tips


โœ… Example Output

---
title: "How LLMs Are Changing Web Development"
date: "2025-07-25"
categories: [webdev, AI]
tags: [LLM, Gemini, n8n, automation]
excerpt: "Learn how LLMs like Gemini are transforming how we generate and deploy developer content."
author: "Saswat Saubhagya"
---

## Table of Contents
- [Introduction](#introduction)
- [Understanding LLMs](#understanding-llms)
- [Use Cases in Web Development](#use-cases-in-web-development)
- [Challenges](#challenges)
- [Conclusion](#conclusion)

...

## ๐Ÿ”— Nodes Used

GitHub, Google Sheets, Schedule Trigger, AI Agent, Wikipedia, Google Gemini Chat Model

## ๐Ÿ“ฅ Import

Download [`workflow.json`](workflow.json) and import into n8n:
**Workflow menu โ†’ Import from File**

[๐Ÿ“– Importing guide](../../../docs/importing-templates.md) ยท [๐Ÿ”‘ Credential setup](../../../docs/credential-setup.md)