AutomationMart
Home/Browse/Automate blog updates via Discord with GitHub and Gemini AI
n8n

Automate blog updates via Discord with GitHub and Gemini AI

n8nn8n10 modulesv1.0
agentdateTimeTooldiscorddiscordTriggergithubToollmChatGoogleGeminimemoryBufferWindow

Automate blog updates via Discord with GitHub and customizable AI chatbot > ⚠️ Disclaimer: This template uses the n8n-nodes-discord-trigger community node, which means it works only in self-hosted n8n instances.(works for both cloud and localhost) Who’s it for This workflow is designed for developers, bloggers, and technical writers who want a hands-free way to draft and publish blog posts directly from Discord. Instead of juggling multiple tools, you just send a message to your Discord b

At a glance

Automate blog updates via Discord with GitHub and Gemini AI is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects agent, dateTimeTool, discord, discordTrigger. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
agent, dateTimeTool, discord, discordTrigger, githubTool, lmChatGoogleGemini
Modules
10
Price
Free
Version
v1.0
Automate blog updates via Discord with GitHub and Gemini AI workflow diagram

About this workflow

Automate blog updates via Discord with GitHub and customizable AI chatbot > ⚠️ Disclaimer: This template uses the n8n-nodes-discord-trigger community node, which means it works only in self-hosted n8n instances.(works for both cloud and localhost) Who’s it for This workflow is designed for developers, bloggers, and technical writers who want a hands-free way to draft and publish blog posts directly from Discord. Instead of juggling multiple tools, you just send a message to your Discord bot, and the workflow creates a properly formatted Markdown file in your GitHub repo. How it works - Listens for new messages in a Discord channel or DM using the Discord Trigger (community node). - Passes your message to an AI chatbot model (Google Gemini, OpenAI GPT, or any other connector you prefer) to draft or format the content. - Uses GitHub nodes to check existing files, read repo contents, and create new .md posts in the specified directory. - Adds the correct timestamp with the Date & Time node. - Sends a confirmation reply back to Discord(Regular Message Node). - Guardrails ensure it only creates new Markdown files in the correct folder, without overwriting or editing existing content. How to set up 1. Import the workflow (or download the file here BlogAutomationclean.json) into your self-hosted n8n. 2. Install the n8n-nodes-discord-trigger community node inside n8n workflow dashboard(click the link for the steps of setup). 3. Create credentials for: - Discord bot trigger from the community node - Discord bot send Message from the Regular Discord Message Node - GitHub (personal access token with repo permissions) - Your AI provider (Gemini, OpenAI, etc.) 4. Update the GitHub nodes with: - Owner → your GitHub username - Repo → your blog repo name - Path → target directory for new Markdown posts 5. Customize the AI agent’s system prompt to match your tone and workflow. (Default prompt included below.) 6. Test it in a private Discord channel before going live. Requirements - Self-hosted n8n instance(works both on cloud and localhost) - GitHub repository with write access - Discord bot credentials(BOTH ARE REQUIRED: COMMUNITY NODE FOR TRIGGER AND REGULAR NODE read below for reasoning) - AI model credentials (Gemini, OpenAI, or other supported provider) How to customize the workflow - Swap the AI model node for any provider you like: Gemini, OpenAI, or even a local LLM. - Adjust the prompt to enforce your blog style guide. - Add additional steps like auto-publishing, Slack notifications, or Notion syncs. - Modify the directory path or file naming rules to fit your project. Reason for Using The Community Discord Trigger Node and Regular Discord Message Node From Testing, the Community Discord node cannot send big messages(Has a Certain limit), while the Original/Regular Discord Message Node can send far beyond that amount which helps for viewing Files. Feel Free to use both trigger and Send Message from the community node if facing issues, it will still work flawless other than message limit Default Prompt markdown --- title: "The Title Provided by the User" date: "YYYY-MM-DD" --- [Well-structured blog content goes here. Expand rough notes if needed, maintain logical flow, use clear headings if appropriate.] Thanks for Reading! --- - Writing rules: Tone: Neutral, informative, lightly conversational — not too cheerful. Flow: Use line breaks for readability. Expansion: If notes are provided, polish and structure them. Modification: If asked, revise while preserving original meaning. File Naming: Generate a short kebab-case filename from the title (e.g., "Making My Own Java CLI-Based RPG!" → java-cli-rpg.md). File Creation vs Editing: If creating → Use the GitHub Create tool. If file already exists → Ask the user if they want to edit it. Store their response in Data Storage. If confirmation = yes → proceed with GitHub Edit tool. If no → cancel operation. Final Action: Confirm success to the user after creation or editing. Advanced Error Handling: "Resource Not Found" If the creategithubfile tool fails with "Resource not found": First Failure: Notify the user that the attempt failed. State the exact path used. Retry automatically once. Second Failure: If it fails again, explain that standard creation isn’t working. Suggest it may be a permissions issue. Await user instructions before proceeding further. ` Contact and Changes Feel Free To Contribute to it I do not own anything made here, everything was made by their respective owners Shout-out to katerlol for making the discord Node Trigger Contact me Here if you need any help!

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

Generate Daily E-Commerce Order Reports with Supabase, GPT-4.1 and Gmail

This n8n workflow automates the generation and delivery of a daily order summary via email. It leverages an AI Agent to fetch and summarize e-commerce order data from the last 24 hours stored in Supabase, providing a concise overview of the daily business operations. How it works - Scheduled Trigger: The workflow is triggered every day at 8 AM. - Sender Email Configuration: A manual step allows you to set the sender's email address. - AI Agent: An AI Agent node acts as the central intelligence,

Free

Course recommendation system for surveys with data tables and GPT-4.1-Mini

Use the n8n Data Tables feature to store, retrieve, and analyze survey results — then let OpenAI automatically recommend the most relevant course for each respondent. --- 🧠 What this workflow does This workflow demonstrates how to use n8n’s built-in Data Tables to create an internal recommendation system powered by AI. It: - Collects survey responses through a Form Trigger - Saves responses to a Data Table called Survey Responses - Fetches a list of available courses

Free

Lead qualification and scoring with Jotform, Gemini AI, and Slack

Automate your lead qualification process by connecting Jotform to Gemini AI. This workflow instantly analyzes new form submissions, assigns a priority score, filters out spam, and routes legitimate leads for immediate action. Stop manually sorting through submissions and let your sales team focus on what matters: closing deals with hot leads. This template captures a lead from a "Talk to an Expert" form, uses AI to determine its quality, sends a real-time notification to your sales team on Slack

Free

Automatically reply to customer emails with Airtable, Gmail, and GPT-4.1 Mini

Automatically Reply to Customer Emails with Airtable, Gmail, and OpenAI Introduction This guide walks you step by step through setting up an automated agent that: - Receives emails sent by your customers. - Analyzes the content of the email. - Generates an appropriate response using an AI model (OpenAI GPT). - Stores all information (received email, AI response, date, customer email) in Airtable. - Automatically replies to the customer in the same Gmail thread. --- Prerequisites Before you

Free

Send sales forecast charts and answer Q&A on WhatsApp with OpenAI

How It Works Top Branch Workflow 1. The Data Scientist: - Ingest: Pulls historical sales data from Google Sheets. - Math Engine: Runs 7 statistical algorithms (e.g., Seasonal Naive, Linear Trend, Regression). It backtests them against your history and scientifically selects the winner with the lowest error rate. 2. The Data Analyst: - Interpret: The AI Agent takes the mathematical output and translates it into business insights, assigning confidence sc

Free

Microsoft Outlook AI email assistant with contact support from Monday and Airtable

Microsoft Outlook AI Email Assistant Prerequisites 1. Microsoft 365 Login Credentials - Provide your Office 365 credentials to connect Outlook. 2. Monday.com - Generate an API token and have a board with your contact details. 3. Airtable - Obtain an API key (or personal access token) and set up a base to store: - Contacts (populated by the Monday.com sync). - Rules & Categories (used by the AI Email Assistant). - Use this Airtable base as the template: Airtable AI Email Assistant Template. Def

Free

Community insights using Qdrant, Python and Information Extractor

This n8n template is one of a 3-part series exploring use-cases for clustering vector embeddings: Survey Insights Customer Insights Community Insights This template demonstrates the Community Insights scenario where HN commments can be quickly grouped by similarity and an AI agent can generate insights on those groupings. With this workflow, Researchers or HN users can quickly breakdown community consensus on a particular topic and identify frequently mentioned positives and negatives. Sample

Free

Generate personalized startup ideas with Claude analysis and Gmail reports

Get Started with n8n now! Who's it for This workflow is designed for developers, entrepreneurs, and startup enthusiasts who want personalized, AI-driven startup idea generation and analysis. Perfect for solo developers seeking side project inspiration, startup accelerators evaluating concepts, or anyone looking to validate business ideas with professional-grade analysis. How it works The workflow uses a three-stage Claude AI agent pipeline to create comprehensive startup analyses. The first agen

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