AutomationFlows β€Ί AI & RAG β€Ί AI Agent Creates Content to Be Picked by Chatgpt, Gemini, Google

AI Agent Creates Content to Be Picked by Chatgpt, Gemini, Google

ByKritika @kritika-dagur on n8n.io

🧠 Who is this for? Marketing teams, content creators, solopreneurs, and agencies who want to generate emotionally-resonant, SEO-optimized content tailored to audience psychology and buyer journey stages β€” and get picked up by AI discovery engines like ChatGPT, Gemini, and…

Event triggerβ˜…β˜…β˜…β˜…β˜† complexityAI-powered15 nodesGoogle Sheets TriggerChain LlmGoogle Gemini ChatGoogle SheetsText ClassifierGmailLinkedInWordPress
AI & RAG Trigger: Event Nodes: 15 Complexity: β˜…β˜…β˜…β˜…β˜† AI nodes: yes Added:

This workflow corresponds to n8n.io template #4652 β€” we link there as the canonical source.

This workflow follows the Chainllm β†’ Gmail recipe pattern β€” see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide β†’

Download .json
{
  "id": "ceWLt9HQyWq1CZ6U",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "GEO/SEO content engine",
  "tags": [],
  "nodes": [
    {
      "id": "bf91e77c-4450-4eee-b120-de4f3055df8b",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -600,
        -180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9c013ed4-97ea-4bb7-b2f0-1dd676cc993b",
      "name": "Remove Duplicates",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        -420,
        -180
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "bdc60c5c-2c60-458b-9bb8-5a1addc81bd0",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -200,
        -180
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "96159da2-2d46-43a2-912f-63f52f2c240d",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -180,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bebbcf6d-1916-44cc-b3fa-23148a0b80f3",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        160,
        -180
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "7744ea1a-79d3-4711-aed3-95793b8ce002",
      "name": "Text Classifier",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        380,
        -180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2bc3a564-b61c-4b1c-8321-85512dcb784d",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        380,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0d266843-271e-4d69-9c3d-c14336df2d8f",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        880,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "9c403484-1b26-44f8-9524-71b065e8289d",
      "name": "Gmail1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        780,
        -320
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "95c1232b-9566-4d57-bcd4-3138de198106",
      "name": "Gmail2",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        180
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "f1e7338f-d1e6-4a87-97a7-d631b924cd5d",
      "name": "Gmail3",
      "type": "n8n-nodes-base.gmail",
      "position": [
        840,
        0
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "050e931a-3961-4cd3-8b02-ee1b05b86524",
      "name": "LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1100,
        -180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "622dac71-47f0-44e5-857c-19532da3200e",
      "name": "Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1000,
        -320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7fbde12b-50cf-4138-bc7e-58e23a07259d",
      "name": "Wordpress1",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1060,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "471f91c5-eab5-4091-97c1-1367c1313f0a",
      "name": "Mailgun",
      "type": "n8n-nodes-base.mailgun",
      "position": [
        1020,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2d6d03dc-cf68-4d2d-bb1f-bb8ff9d98a0e",
  "connections": {
    "Gmail": {
      "main": [
        [
          {
            "node": "LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail1": {
      "main": [
        [
          {
            "node": "Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail2": {
      "main": [
        [
          {
            "node": "Mailgun",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail3": {
      "main": [
        [
          {
            "node": "Wordpress1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Text Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Classifier": {
      "main": [
        [
          {
            "node": "Gmail1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Gmail2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Gmail3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove Duplicates": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Remove Duplicates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Text Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

🧠 Who is this for? Marketing teams, content creators, solopreneurs, and agencies who want to generate emotionally-resonant, SEO-optimized content tailored to audience psychology and buyer journey stages β€” and get picked up by AI discovery engines like ChatGPT, Gemini, and…

Source: https://n8n.io/workflows/4652/ β€” original creator credit. Request a take-down β†’

More AI & RAG workflows β†’ Β· Browse all categories β†’

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow is designed for marketers, content creators, agencies, and solo founders who want to publish long‑form posts with visuals on autopilot using n8n and AI agents. ​

Tool Http Request, Agent, HTTP Request +27
AI & RAG

This workflow creates a sophisticated, self-improving customer support system that automatically handles incoming emails. It's designed to answer common questions using an AI-powered knowledge base an

Text Classifier, Chain Llm, Gmail Trigger +4
AI & RAG

Customer Review Pipeline. Uses googleSheetsTrigger, lmChatGoogleGemini, gmail, chainLlm. Event-driven trigger; 10 nodes.

Google Sheets Trigger, Google Gemini Chat, Gmail +2
AI & RAG

Subtitle: Feedback to Marketing Gold

Google Gemini Chat, Google Sheets Trigger, Chain Llm +2
AI & RAG

This workflow automatically extracts short emotional testimonials from Google Form responses. It listens for new feedback in Google Sheets, processes it with AI (Google Gemini), writes back a refined

Google Sheets Trigger, Chain Llm, Google Gemini Chat +2