Templates / Generate SEO-friendly robots.txt with OpenAI and Google Drive

Generate SEO-friendly robots.txt with OpenAI and Google Drive

Ready for 3.0

by Davide Boizza ✓ · 69 views · created 2026-07-01 · Market Research, AI Summarization

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.

What this workflow does

This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Website Url (Edit Fields (Set)): sets 2 fields: website_url, sitemap
  2. robots.txt (HTTP Request): calls an HTTP API
  3. If: checks a condition and branches into true / false
  4. Get HTML (HTTP Request): calls an HTTP API
  5. Discover CMS (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  6. Parser (Code): runs custom JavaScript code
  7. Robots.txt Generator (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  8. Convert to File: converts data to a file (to text)
  9. Upload file (Google Drive): uses Google Drive

Services it uses

OpenAI Chat ModelGoogle Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick overview This workflow runs manually to check a website’s existing robots.txt, detect the site’s CMS from the homepage HTML using OpenAI, and generate an optimized robots.txt (including the provided sitemap URL) that is saved as a file and uploaded to…

Excerpt from Davide Boizza's description on n8n.io.

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.