Use this advanced n8n workflow to automatically analyze new blog posts from GitHub using GPT-4, assign SEO categories/tags, and track results in Google Sheets.
Download this n8n workflow template and start using it instantly.
This expert n8n workflow is designed for content creators, developers, and digital marketers managing static site generators (like Astro or Next.js) where content files live in a GitHub repository. The primary challenge is efficiently assigning relevant tags and categories to new posts without manual review. This specific n8n workflow solves this by using a LangChain AI Agent powered by GPT-4. It intelligently scans your Google Sheet for files already processed, identifies new files in GitHub, retrieves their content, gets structured recommendations from the AI, and logs the results back into Google Sheets. This highly efficient n8n node configuration saves significant editorial time and ensures consistent metadata application across your repository. This is an essential n8n template for modern content operations.
This automation is initiated by an n8n trigger, specifically an 'On form submission' n8n node, allowing for manual start.
gpt-4.1-mini, but you can change the model as needed. On form submission (n8n trigger): The starting point of this n8n workflow. It uses a custom form to manually initiate the content categorization process.
List posts/articles/pages (GitHub n8n node): Retrieves a list of all files located in the specified blog content directory (src/content/blog/pl/) on GitHub.
Get row(s) in sheet (Google Sheets n8n node): Reads existing data from the tracking sheet, specifically file names that have already been processed, crucial for optimization.
List FileName only / Remove duplicates (Code n8n node): Filters the Google Sheets data to extract unique file paths and removes any redundant entries.
Check new repo files for AI processing (Code n8n node): This core custom logic n8n node compares the array of paths from GitHub with the array of processed paths from Google Sheets, returning only the list of files that require AI analysis.
Get post/article file (GitHub n8n node): Retrieves the full text content of a single, identified new file, which serves as the input for the AI Agent.
AI Agent (LangChain n8n node): The primary processing unit. It accepts the file content and, guided by a system prompt, analyzes the text to determine highly relevant categories and tags.
OpenAI Chat Model (LangChain n8n node): The language model component, utilizing GPT-4 to perform the categorization task efficiently within the n8n workflow.
Structured Output Parser (LangChain n8n node): Ensures the AI Agent's output is strictly formatted as a JSON object, guaranteeing reliable data mapping downstream.
Append rows with posts / article analysis (Google Sheets n8n node): The final action, which writes the original and proposed category and tag metadata back into the Google Sheet for permanent tracking.
Use this powerful n8n workflow to automate the video captioning pipeline. Trigger actions by uploading files to Google Drive, send them to Submagic, and retrieve the captioned videos automatically.

Automate short-form video content using this advanced n8n workflow. Triggers on Google Drive, adds Submagic captions, generates AI text via OpenAI, and posts using Postiz to Instagram and TikTok.

Use this powerful n8n workflow template to trigger Vapi outbound AI voice calls immediately upon new submissions via Typeform. Perfect for rapid lead qualification.

Use this powerful n8n workflow to automatically categorize incoming Gmail emails using GPT-4o-mini, assign priority, and route urgent alerts to dedicated Slack channels. Enhance efficiency with these n8n templates.

Use this powerful n8n workflow to automatically fetch Outlook emails, categorize their intent (Red, Yellow, Green) using GPT-4o intelligence, and update the color categories instantly. Integrate AI easily with this n8n templates.








































