AutomationFlowsAI & RAG › Repurpose Blog Articles Into Social Media Posts with Google Gemini AI

Repurpose Blog Articles Into Social Media Posts with Google Gemini AI

ByOka Hironobu @okp29 on n8n.io

Content creators, marketers, and solopreneurs who want to maximize reach from every blog post without spending hours manually adapting content for each social platform.

Webhook trigger★★★★☆ complexityAI-powered11 nodesHTTP RequestChain LlmGoogle Gemini Chat
AI & RAG Trigger: Webhook Nodes: 11 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #13334 — we link there as the canonical source.

This workflow follows the Chainllm → HTTP Request 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
{
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "name": "Repurpose blog articles into social media posts with Google Gemini",
  "tags": [],
  "nodes": [
    {
      "id": "sticky-overview",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-section1",
      "name": "Step 1 - Trigger & Config",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-section2",
      "name": "Step 2 - Fetch & Generate",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-section3",
      "name": "Step 3 - Format & Respond",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "webhook-trigger",
      "name": "Receive Blog URL",
      "type": "n8n-nodes-base.webhook",
      "position": [
        180,
        160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "config-node",
      "name": "Config",
      "type": "n8n-nodes-base.set",
      "position": [
        400,
        160
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "fetch-article",
      "name": "Fetch Blog Article",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        700,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "generate-posts",
      "name": "Generate Social Posts",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        920,
        160
      ],
      "parameters": {},
      "typeVersion": 1.5
    },
    {
      "id": "gemini-model",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        920,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "format-output",
      "name": "Format Social Media Output",
      "type": "n8n-nodes-base.code",
      "position": [
        1220,
        160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "respond-webhook",
      "name": "Return Generated Content",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1440,
        160
      ],
      "parameters": {},
      "typeVersion": 1.1
    }
  ],
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "connections": {
    "Config": {
      "main": [
        [
          {
            "node": "Fetch Blog Article",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Blog URL": {
      "main": [
        [
          {
            "node": "Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Blog Article": {
      "main": [
        [
          {
            "node": "Generate Social Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Social Posts": {
      "main": [
        [
          {
            "node": "Format Social Media Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Social Posts",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Format Social Media Output": {
      "main": [
        [
          {
            "node": "Return Generated Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 1
}
Pro

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

About this workflow

Content creators, marketers, and solopreneurs who want to maximize reach from every blog post without spending hours manually adapting content for each social platform.

Source: https://n8n.io/workflows/13334/ — 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

ANIS_HUB 1. Uses gmail, googleDrive, googleSheets, httpRequest. Webhook trigger; 89 nodes.

Gmail, Google Drive, Google Sheets +3
AI & RAG

CLINICAINTEGRAL_secretary. Uses postgres, mcpClientTool, googleDriveTool, toolWorkflow. Webhook trigger; 89 nodes.

Postgres, Mcp Client Tool, Google Drive Tool +14
AI & RAG

secretaria. Uses postgres, n8n-nodes-evolution-api, openAi, httpRequest. Webhook trigger; 71 nodes.

Postgres, N8N Nodes Evolution Api, OpenAI +12
AI & RAG

Resume Screening & Behavioral Interviews with Gemini, Elevenlabs, & Notion ATS copy. Uses outputParserStructured, chainLlm, googleDrive, stickyNote. Webhook trigger; 67 nodes.

Output Parser Structured, Chain Llm, Google Drive +9
AI & RAG

Candidate Engagement | Resume Screening | AI Voice Interviews | Applicant Insights

Output Parser Structured, Chain Llm, Google Drive +9