AI-Gastartikel-Generator mit OpenAI und Google Sheets Automatisierung

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 7 Nodes. Hauptsächlich werden If, Set, OpenAi, GoogleSheets, ManualTrigger und andere Nodes verwendet. AI-Gastartikel-Generator mit OpenAI und Google Sheets Automatisierung

Voraussetzungen
  • OpenAI API Key
  • Google Sheets API-Anmeldedaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "a93c2d1221e546a84f92e07ce458d71f828e250bc33a25fc5481e8d9db0e3c2f"
  },
  "tags": [],
  "nodes": [
    {
      "id": "ff9ed5e3-49e0-41ed-a10b-10ac380c0b47",
      "name": "Start-Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        200,
        300
      ],
      "typeVersion": 1
    },
    {
      "id": "0058cd43-e14f-4a4c-b15e-c04f569c8c70",
      "name": "Planungstabelle auslesen",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        400,
        300
      ],
      "parameters": {
        "range": "Planning!A1:E1000",
        "sheetId": "1PiygWwVov4WzA8qvUOaZ9N1G9JgtgmpYy0w8ty3CHd0",
        "operation": "lookup",
        "returnAllMatches": true
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "1",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "b3082328-2ab1-4857-b3fa-7db55f89160d",
      "name": "Status filtern = Start",
      "type": "n8n-nodes-base.if",
      "position": [
        600,
        300
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{$json[\"Status\"]}}",
              "value2": "Start",
              "operation": "equals"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f8b0b56b-e580-4b67-9871-4a9c3bb92446",
      "name": "Prompt formatieren",
      "type": "n8n-nodes-base.set",
      "position": [
        800,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "prompt",
              "value": "Write a guest post in German about the topic '{{ $json.Topic }}'. Include this note: '{{ $json.Note }}'"
            }
          ]
        },
        "keepOnlySet": true
      },
      "typeVersion": 2
    },
    {
      "id": "a95b45a5-b84e-43a0-ae53-2c2854e317d4",
      "name": "OpenAI - Artikel erstellen",
      "type": "n8n-nodes-base.openAi",
      "position": [
        1000,
        300
      ],
      "parameters": {
        "model": "text-davinci-003",
        "prompt": "={{$json[\"prompt\"]}}",
        "resource": "completion",
        "maxTokens": 1000,
        "temperature": 0.7
      },
      "credentials": {
        "openAiApi": {
          "id": "2",
          "name": "OpenAI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "96de9e63-5680-4db5-9936-65e33ff73c95",
      "name": "Artikel in Tabelle speichern",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1200,
        300
      ],
      "parameters": {
        "range": "Generated!A1:C1",
        "sheetId": "1PiygWwVov4WzA8qvUOaZ9N1G9JgtgmpYy0w8ty3CHd0",
        "operation": "append",
        "dataToSend": "autoMapInputData"
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "1",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4
    },
    {
      "id": "d5bc4074-7ab1-4a0e-85cb-5c61792b53a9",
      "name": "Als fertig markieren",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1400,
        300
      ],
      "parameters": {
        "key": "={{$json.rowIndex}}",
        "range": "Planning!E:E",
        "options": {
          "valueInputOption": "RAW"
        },
        "sheetId": "1PiygWwVov4WzA8qvUOaZ9N1G9JgtgmpYy0w8ty3CHd0",
        "operation": "update",
        "dataToSend": {
          "values": [
            {
              "value": "Finished",
              "column": "Status"
            }
          ]
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "1",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4
    }
  ],
  "settings": {},
  "connections": {
    "f8b0b56b-e580-4b67-9871-4a9c3bb92446": {
      "main": [
        [
          {
            "node": "a95b45a5-b84e-43a0-ae53-2c2854e317d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff9ed5e3-49e0-41ed-a10b-10ac380c0b47": {
      "main": [
        [
          {
            "node": "0058cd43-e14f-4a4c-b15e-c04f569c8c70",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "96de9e63-5680-4db5-9936-65e33ff73c95": {
      "main": [
        [
          {
            "node": "d5bc4074-7ab1-4a0e-85cb-5c61792b53a9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0058cd43-e14f-4a4c-b15e-c04f569c8c70": {
      "main": [
        [
          {
            "node": "b3082328-2ab1-4857-b3fa-7db55f89160d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b3082328-2ab1-4857-b3fa-7db55f89160d": {
      "main": [
        [
          {
            "node": "f8b0b56b-e580-4b67-9871-4a9c3bb92446",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a95b45a5-b84e-43a0-ae53-2c2854e317d4": {
      "main": [
        [
          {
            "node": "96de9e63-5680-4db5-9936-65e33ff73c95",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes7
Kategorie2
Node-Typen5
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
Juan de Dios Estrella Sáez

Juan de Dios Estrella Sáez

@juanestrella

Hi 👋 I’m Juan de Dios. I turn manual work into automated systems using n8n & Make, so you can focus on what really matters. I share my workflows, tips, and templates so you can start automating too. Got a question? I’m just a comment away

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34