Automatisierte Aktualisierung von WordPress-SEO-Titeln und -Beschreibungen mit Yoast SEO API

Anfänger

Dies ist ein Automatisierungsworkflow mit 4 Nodes. Hauptsächlich werden Set, HttpRequest, ManualTrigger und andere Nodes verwendet. Automatisierung der Aktualisierung von WordPress-SEO-Titeln und -Beschreibungen mit der Yoast SEO API

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich

Kategorie

-
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": "4a11afdb3c52fd098e3eae9fad4b39fdf1bbcde142f596adda46c795e366b326"
  },
  "nodes": [
    {
      "id": "1cb100ae-108b-43ab-8430-f3ecfc7de76a",
      "name": "Einstellungen",
      "type": "n8n-nodes-base.set",
      "position": [
        208,
        320
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "080b234c-a753-409d-9d2d-3322678a01f2",
              "name": "wordpress URL",
              "type": "string",
              "value": "https://example.com/"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "0f8b25b7-bc5e-4c17-b821-81536741a97c",
      "name": "Bei Klick auf 'Workflow testen'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -16,
        320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5401ea77-65f7-4448-ad15-8a8756bc1b39",
      "name": "HTTP-Anfrage - Update Yoast Meta",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        448,
        320
      ],
      "parameters": {
        "url": "={{ $json[\"wordpress URL\"] }}wp-json/yoast-api/v1/update-meta",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "post_id",
              "value": "519"
            },
            {
              "name": "yoast_title",
              "value": "Demo SEO Title"
            },
            {
              "name": "yoast_description",
              "value": "Demo SEO Description"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "PYhDHdmeNzKXtInb",
          "name": "Wordpress account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "e1d716b0-abc7-4436-a28e-3ea44e4e0acc",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 592,
        "height": 288,
        "content": "## Yoast SEO Update\n\nThis workflow updates the **SEO Title** and **Meta Description** of a post via a request to a custom API endpoint.\n\n**Prerequisites:**\n* The provided custom plugin must be installed and active on the WordPress site.\n\n**Configuration:**\n* The `post_id` of the post to be modified is set manually in the **HTTP Request - Update Yoast Meta** node.\n* The WordPress site URL is set in the **Settings** node."
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "1cb100ae-108b-43ab-8430-f3ecfc7de76a": {
      "main": [
        [
          {
            "node": "HTTP Request - Update Yoast Meta",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0f8b25b7-bc5e-4c17-b821-81536741a97c": {
      "main": [
        [
          {
            "node": "1cb100ae-108b-43ab-8430-f3ecfc7de76a",
            "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?

Anfänger

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
Anfänger
Anzahl der Nodes4
Kategorie-
Node-Typen4
Schwierigkeitsbeschreibung

Für n8n-Anfänger, einfache Workflows mit 1-5 Nodes

Autor
phil

phil

@phil

e-com AI automation: 90% time saved on repetitive tasks: product sheets, after-sales chatbots, etc. 🚀 save time, win customers

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34