Publication automatique depuis un flux RSS pour WordPress

Avancé

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 53 nœuds.Utilise principalement des nœuds comme If, Set, Code, Merge, Filter. Génération automatique d'articles de blog WordPress à partir de flux RSS Reddit avec Groq AI et images Pexels

Prérequis
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "k31vUpT7zr7jkuju",
  "meta": {
    "instanceId": "2eeb2b8f25db5870b79355d99a6203f1dab3ab62d7ed96cb4b3cd87e0f6077be",
    "templateCredsSetupCompleted": true
  },
  "name": "WordpressAutoPostFromRSS",
  "tags": [],
  "nodes": [
    {
      "id": "e8f44abf-e994-4f10-b9e9-599ba325e062",
      "name": "Créer des données d'article depuis l'IA",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "2b77ce9f-13e2-4b7d-a163-497d85ea8208",
              "name": "title",
              "type": "string",
              "value": "={{ $json.output.title }}"
            },
            {
              "id": "4ff99c65-b7b0-4d8f-9680-1fff9236dcdd",
              "name": "content",
              "type": "string",
              "value": "={{ $json.output.content }}"
            },
            {
              "id": "9be5a4a8-28f8-4356-9480-e45d27c9524a",
              "name": "category",
              "type": "string",
              "value": "={{ $json.output.category }}"
            },
            {
              "id": "b399f9e4-a19a-4acf-a3e3-4f2eb7f19020",
              "name": "tags",
              "type": "array",
              "value": "={{ $json.output.tag }}"
            },
            {
              "id": "cc7de1f2-fd0f-4929-866f-f6638be3aacb",
              "name": "image_search_keyword",
              "type": "string",
              "value": "={{ $json.output.image_search_keyword }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f15a5c8d-98be-48c7-a3f8-969b688bed01",
      "name": "Pexels HTTP Demander une image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        480,
        0
      ],
      "parameters": {
        "url": "https://api.pexels.com/v1/search",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "query",
              "value": "={{ $json.image_search_keyword }}"
            },
            {
              "name": "per_page",
              "value": "1"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "OyhMmrnyuBPBOO4M",
          "name": "Pexel Header Auth For Images"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c6abc1f9-3def-4ac2-be82-0bcd97176c33",
      "name": "Erreur Pexel Si",
      "type": "n8n-nodes-base.if",
      "position": [
        780,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "3fbf57aa-2821-4343-95a2-ce05e9b6f4a3",
              "operator": {
                "type": "array",
                "operation": "empty",
                "singleValue": true
              },
              "leftValue": "={{ $json.photos }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "622675eb-d62c-4e13-b783-bc81c7a48f14",
      "name": "Pexels HTTP Demander si vide",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1160,
        -200
      ],
      "parameters": {
        "url": "https://api.pexels.com/v1/search",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "query",
              "value": "=ai"
            },
            {
              "name": "per_page",
              "value": "1"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "OyhMmrnyuBPBOO4M",
          "name": "Pexel Header Auth For Images"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "0b1edd07-c833-4e44-bd1f-0ca44e737433",
      "name": "Fusion Pexel",
      "type": "n8n-nodes-base.merge",
      "position": [
        1500,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "22518c66-f65b-4d0e-8c45-f4b0e484f7fa",
      "name": "URL d'image Pexel",
      "type": "n8n-nodes-base.set",
      "position": [
        1720,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "08edec66-9d1d-4e08-b402-34c11ab3042f",
              "name": "Photo Landscape",
              "type": "string",
              "value": "={{ $json.photos[0].src.landscape }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d085a786-c349-4ca2-bec3-04ce6aba2d81",
      "name": "WP Make Catégorie",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        1940,
        0
      ],
      "parameters": {
        "url": "https://yt.iranjankumar.com/wp-json/wp/v2/categories",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "={{ $('Create Post Data From AI').item.json.category }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "834787e7-63b2-479b-935d-a4221644e19f",
      "name": "ID Catégorie",
      "type": "n8n-nodes-base.set",
      "position": [
        3200,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "45b8961f-b94d-4be2-8ecb-6f1cf0cc524a",
              "name": "category id",
              "type": "number",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f49ed328-0f40-489c-9d15-06df478f75cb",
      "name": "Recherche Catégorie",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        2480,
        200
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/categories?search={{ $('Create Post Data From AI').item.json.category }}",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "5b3603d9-d06d-4a96-b604-39fb930cfe86",
      "name": "Fusion Catégorie",
      "type": "n8n-nodes-base.merge",
      "position": [
        3000,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "d214a4ec-ca83-4868-8807-ded677547940",
      "name": "WP Make Tag 1",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        3480,
        0
      ],
      "parameters": {
        "url": "https://yt.iranjankumar.com/wp-json/wp/v2/tags",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "={{ $('Create Post Data From AI').item.json.tags[0] }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "95d42aeb-7be3-437a-ae6a-1a4d79783a63",
      "name": "Commutateur Catégorie",
      "type": "n8n-nodes-base.switch",
      "position": [
        2160,
        0
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "bbc751f4-668f-42ce-8648-ad32f7a7eb4a",
                    "operator": {
                      "type": "number",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "4364e900-1980-4afc-b673-aa3f655c1d85",
                    "operator": {
                      "type": "number",
                      "operation": "notExists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "92a8985c-f4db-4982-8b93-32a3bc294f04",
      "name": "Recherche Tag 1",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        4120,
        340
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/tags?search={{ $('Create Post Data From AI').item.json.tags[0] }}",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "bb6217b5-e0a5-4629-b57f-607a413d921e",
      "name": "Filtre Catégorie",
      "type": "n8n-nodes-base.filter",
      "position": [
        2740,
        200
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "096b866a-e670-4232-914e-cb712ea7a218",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.name }}",
              "rightValue": "={{ $('Create Post Data From AI').item.json.category }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "8e8e670e-1fb7-4525-bd03-221a40ce57e6",
      "name": "Commutateur Tag 1",
      "type": "n8n-nodes-base.switch",
      "position": [
        3820,
        0
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "bbc751f4-668f-42ce-8648-ad32f7a7eb4a",
                    "operator": {
                      "type": "number",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "4364e900-1980-4afc-b673-aa3f655c1d85",
                    "operator": {
                      "type": "number",
                      "operation": "notExists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "1331d0b8-fd6d-4ff3-9631-d20fb8d880d8",
      "name": "Filtre Tag 1",
      "type": "n8n-nodes-base.filter",
      "position": [
        4500,
        340
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "096b866a-e670-4232-914e-cb712ea7a218",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.name }}",
              "rightValue": "={{ $('Create Post Data From AI').item.json.tags[0] }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "69ae89e6-820d-45a6-a4ec-35f1d1f0a95e",
      "name": "Fusion Tag 1",
      "type": "n8n-nodes-base.merge",
      "position": [
        4820,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "8b94efd9-88a1-40d9-a243-d798b5db6342",
      "name": "ID Tag 1",
      "type": "n8n-nodes-base.set",
      "position": [
        5140,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "45b8961f-b94d-4be2-8ecb-6f1cf0cc524a",
              "name": "Tag 1 id",
              "type": "number",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "3ae6eb7a-a820-4425-9524-0b7f09504f5c",
      "name": "WP Make Tag 2",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        5480,
        0
      ],
      "parameters": {
        "url": "https://yt.iranjankumar.com/wp-json/wp/v2/tags",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "={{ $('Create Post Data From AI').item.json.tags[1] }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b9708c57-fcb4-4a76-be06-0fb30963d470",
      "name": "Commutateur Tag 2",
      "type": "n8n-nodes-base.switch",
      "position": [
        5820,
        0
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "bbc751f4-668f-42ce-8648-ad32f7a7eb4a",
                    "operator": {
                      "type": "number",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "4364e900-1980-4afc-b673-aa3f655c1d85",
                    "operator": {
                      "type": "number",
                      "operation": "notExists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "ff944c40-c61f-4de4-9ef8-8bb434f0d206",
      "name": "Recherche Tag 2",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        6120,
        340
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/tags?search={{ $('Create Post Data From AI').item.json.tags[1] }}",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "bcbd49e3-6eac-4a31-b829-96e2015975c1",
      "name": "Filtre Tag 2",
      "type": "n8n-nodes-base.filter",
      "position": [
        6500,
        340
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "096b866a-e670-4232-914e-cb712ea7a218",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.name }}",
              "rightValue": "={{ $('Create Post Data From AI').item.json.tags[1] }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "2700fa7d-26ff-4ae4-9bbf-f517710f4ac3",
      "name": "Fusion Tag 2",
      "type": "n8n-nodes-base.merge",
      "position": [
        6820,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "b8e3083c-0d75-4076-9c79-d912e2bd6162",
      "name": "ID Tag 2",
      "type": "n8n-nodes-base.set",
      "position": [
        7140,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "45b8961f-b94d-4be2-8ecb-6f1cf0cc524a",
              "name": "Tag 2 id",
              "type": "number",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "e62fc5e5-674f-4334-af6e-1a6a6675ee75",
      "name": "WP Make Tag 3",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        7380,
        0
      ],
      "parameters": {
        "url": "https://yt.iranjankumar.com/wp-json/wp/v2/tags",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "={{ $('Create Post Data From AI').item.json.tags[2] }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b187def9-c62a-41c0-8540-2aa6fbf7f3a9",
      "name": "Commutateur Tag 3",
      "type": "n8n-nodes-base.switch",
      "position": [
        7720,
        0
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "bbc751f4-668f-42ce-8648-ad32f7a7eb4a",
                    "operator": {
                      "type": "number",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "4364e900-1980-4afc-b673-aa3f655c1d85",
                    "operator": {
                      "type": "number",
                      "operation": "notExists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "eac29116-6a3c-42c6-a8a9-f1d468e291a3",
      "name": "Recherche Tag 3",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        8020,
        340
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/tags?search={{ $('Create Post Data From AI').item.json.tags[2] }}",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c693bbc1-227a-4633-8b59-ec9bc7a08476",
      "name": "Filtre Tag 3",
      "type": "n8n-nodes-base.filter",
      "position": [
        8400,
        340
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "096b866a-e670-4232-914e-cb712ea7a218",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.name }}",
              "rightValue": "={{ $('Create Post Data From AI').item.json.tags[2] }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "1293482a-c27d-41ef-99e4-8fdb95b1975c",
      "name": "Fusion Tag 3",
      "type": "n8n-nodes-base.merge",
      "position": [
        8720,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "dd6da282-b47d-4908-a4ae-d0197717e0eb",
      "name": "ID Tag 3",
      "type": "n8n-nodes-base.set",
      "position": [
        9040,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "45b8961f-b94d-4be2-8ecb-6f1cf0cc524a",
              "name": "Tag 3 id",
              "type": "number",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "645f67f2-a328-4dda-85bf-069f525ccc8b",
      "name": "WP Make Tag 4",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        9280,
        0
      ],
      "parameters": {
        "url": "https://yt.iranjankumar.com/wp-json/wp/v2/tags",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "={{ $('Create Post Data From AI').item.json.tags[3] }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "3b77ddc0-899a-41ed-991f-58132ffd11d2",
      "name": "Commutateur Tag 4",
      "type": "n8n-nodes-base.switch",
      "position": [
        9620,
        0
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "bbc751f4-668f-42ce-8648-ad32f7a7eb4a",
                    "operator": {
                      "type": "number",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "4364e900-1980-4afc-b673-aa3f655c1d85",
                    "operator": {
                      "type": "number",
                      "operation": "notExists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.id }}",
                    "rightValue": ""
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "95916b29-65d3-4b8d-8940-7bcb0c7d9c7c",
      "name": "Recherche Tag 4",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        9920,
        340
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/tags?search={{ $('Create Post Data From AI').item.json.tags[3] }}",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b802a647-2e8e-4363-8d80-66194e0cde4c",
      "name": "Filtre Tag 4",
      "type": "n8n-nodes-base.filter",
      "position": [
        10300,
        340
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "096b866a-e670-4232-914e-cb712ea7a218",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.name }}",
              "rightValue": "={{ $('Create Post Data From AI').item.json.tags[3] }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "1603b577-1ba7-48c0-96fb-69d44f79c4c6",
      "name": "Fusion Tag 4",
      "type": "n8n-nodes-base.merge",
      "position": [
        10620,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "9ae2d32f-2988-4335-94fa-bbb4316c8750",
      "name": "ID Tag 4",
      "type": "n8n-nodes-base.set",
      "position": [
        10940,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "45b8961f-b94d-4be2-8ecb-6f1cf0cc524a",
              "name": "Tag 4 id",
              "type": "number",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "4ca513c9-62ae-443b-9478-70ada46f91e5",
      "name": "Créer des données d'article",
      "type": "n8n-nodes-base.set",
      "position": [
        11160,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "aa611f11-bfa7-47af-bcce-24366905f78e",
              "name": "title",
              "type": "string",
              "value": "={{ $('Create Post Data From AI').item.json.title }}"
            },
            {
              "id": "a8160930-2acb-4af4-a158-f7757a34c0f5",
              "name": "content",
              "type": "string",
              "value": "={{ $('Create Post Data From AI').item.json.content }}"
            },
            {
              "id": "d5c6a651-71ec-4201-be55-999ba7de6790",
              "name": "category id",
              "type": "number",
              "value": "={{ $('Category ID').item.json['category id'] }}"
            },
            {
              "id": "94c55328-dab7-4782-989e-56e7a86eabb7",
              "name": "Tag 1 id",
              "type": "number",
              "value": "={{ $('Tag 1 ID').item.json['Tag 1 id'] }}"
            },
            {
              "id": "69623581-0279-45ab-8bb3-a5ca5ab9007a",
              "name": "Tag 2 id",
              "type": "number",
              "value": "={{ $('Tag 2 ID').item.json['Tag 2 id'] }}"
            },
            {
              "id": "d0672775-4605-4c73-b9e3-ad6ea3540c9d",
              "name": "Tag 3 id",
              "type": "number",
              "value": "={{ $('Tag 3 ID').item.json['Tag 3 id'] }}"
            },
            {
              "id": "77c66569-d663-4a2c-8863-d85afd8313ea",
              "name": "Tag 4 id",
              "type": "number",
              "value": "={{ $json['Tag 4 id'] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "8d74981a-9aef-41fd-b5c9-28eadbb1605d",
      "name": "Créer un article",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        11420,
        0
      ],
      "parameters": {
        "title": "={{ $json.title }}",
        "additionalFields": {
          "tags": "={{ [$json['Tag 1 id'], $json['Tag 2 id'], $json['Tag 3 id'], $json['Tag 4 id']] }}",
          "status": "draft",
          "content": "={{ $json.content }}",
          "authorId": 1,
          "categories": "={{ [$json['category id']] }}"
        }
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cc895447-33a0-42dd-bab0-c331de847218",
      "name": "ID Article",
      "type": "n8n-nodes-base.set",
      "position": [
        11640,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "4a7905b0-4861-4432-a75e-e49d64377ad7",
              "name": "Post id",
              "type": "number",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "9809f25a-b1ef-45c0-b0f8-ce655d25fe1f",
      "name": "Téléchargement d'image Pexel",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        12080,
        0
      ],
      "parameters": {
        "url": "={{ $('Pexel Image Url').item.json['Photo Landscape'] }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "2a5f5652-e56a-45bf-a82d-5587418662c7",
      "name": "Téléverser l'image vers Wordpress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        12300,
        0
      ],
      "parameters": {
        "url": "https://yt.iranjankumar.com/wp-json/wp/v2/media",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "binaryData",
        "sendHeaders": true,
        "authentication": "predefinedCredentialType",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Disposition",
              "value": "=attachment; filename=\"{{ $('Slug Generator').item.json.slug }}.jpg\""
            }
          ]
        },
        "inputDataFieldName": "data",
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "576776cb-9fbd-4a74-b639-29a3aaafcff7",
      "name": "Générateur de slug",
      "type": "n8n-nodes-base.code",
      "position": [
        11860,
        0
      ],
      "parameters": {
        "jsCode": "// Get the JSON data from the first incoming item\nconst item = $('Create Post Data').first().json.title;\n\n// Get the title from the item, or use an empty string if it doesn't exist\nconst title = item  || 'iranjankumar ai';\n\n// Generate the slug\nconst slug = title\n  .toLowerCase() // Convert to lowercase\n  .trim() // Remove whitespace from both ends\n  .replace(/[^\\w\\s-]/g, '') // Remove all non-word chars except spaces and hyphens\n  .replace(/[\\s_-]+/g, '-') // Replace spaces and underscores with a single hyphen\n  .replace(/^-+|-+$/g, ''); // Remove leading/trailing hyphens\n\n// Return the new slug in the correct n8n format\nreturn [{\n  json: {\n    slug: slug\n  }\n}];"
      },
      "typeVersion": 2
    },
    {
      "id": "bbbf91ab-b58b-459d-82d2-674b6b20cb24",
      "name": "Définir le texte alternatif et la description de l'image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        12520,
        0
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/media/{{ $json.id }}",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "alt_text",
              "value": "={{ $('Create Post Data').item.json.title }}"
            },
            {
              "name": "description",
              "value": "={{ $('Create Post Data').item.json.title }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "31dfb3ae-096f-4063-9317-d24aaf28d631",
      "name": "HTTP Demande",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        12740,
        0
      ],
      "parameters": {
        "url": "=https://yt.iranjankumar.com/wp-json/wp/v2/posts/{{ $('Post ID').item.json['Post id'] }}",
        "method": "POST",
        "options": {},
        "sendQuery": true,
        "authentication": "predefinedCredentialType",
        "queryParameters": {
          "parameters": [
            {
              "name": "featured_media",
              "value": "={{ $json.id }}"
            }
          ]
        },
        "nodeCredentialType": "wordpressApi"
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "9fe16076-c302-4a33-9cae-4b63eb9e4f54",
      "name": "Mettre à jour un article",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        12960,
        0
      ],
      "parameters": {
        "postId": "={{ $('Post ID').item.json['Post id'] }}",
        "operation": "update",
        "updateFields": {
          "status": "publish"
        }
      },
      "credentials": {
        "wordpressApi": {
          "id": "6OdQVVINLTgY3SCq",
          "name": "yt wp"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "35eae1eb-1670-49f5-a89d-40862ba8efc0",
      "name": "Déclencheur Flux RSS",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1400,
        -320
      ],
      "parameters": {
        "feedUrl": "https://www.reddit.com/r/artificial/.rss",
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7afef122-7428-4833-8684-49fb554afaec",
      "name": "Modèle de chat Groq",
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "position": [
        -540,
        320
      ],
      "parameters": {
        "model": "llama3-70b-8192",
        "options": {}
      },
      "credentials": {
        "groqApi": {
          "id": "3rbhHVwS7rnO7gte",
          "name": "Groq account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8cddee8e-1452-4294-a29d-0fdaa890c2dc",
      "name": "Analyseur de sortie structurée",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -160,
        280
      ],
      "parameters": {
        "schemaType": "manual",
        "inputSchema": "{\n  \"type\": \"object\",\n  \"properties\": {\n    \"title\": {\n      \"type\": \"string\"\n    },\n    \"content\": {\n      \"type\": \"string\"\n    },\n    \"category\": {\n      \"type\": \"string\"\n    },\n    \"tag\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"image_search_keyword\": {\n      \"type\": \"string\"\n    }\n  },\n  \"required\": [\"title\", \"content\", \"category\", \"tag\", \"image_search_keyword\"]\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "d3946552-45e5-4841-827a-df942d165094",
      "name": "Déclencheur Flux RSS1",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1420,
        -80
      ],
      "parameters": {
        "feedUrl": "https://www.reddit.com/r/MachineLearning/.rss",
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3f96b386-c3ab-4b57-85e2-32e7e6344ef8",
      "name": "Déclencheur Flux RSS2",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1360,
        200
      ],
      "parameters": {
        "feedUrl": "https://www.reddit.com/r/ArtificialInteligence/.rss",
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "10c19fb9-00ce-4e4d-939c-24ac23dd11f6",
      "name": "Fusion des déclencheurs",
      "type": "n8n-nodes-base.merge",
      "position": [
        -900,
        0
      ],
      "parameters": {
        "numberInputs": 3
      },
      "typeVersion": 3.2
    },
    {
      "id": "7cb3c8d4-e761-4622-8c0a-95d293e6c55c",
      "name": "IA",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -460,
        0
      ],
      "parameters": {
        "text": "=Reddit Post:\nReddit Title: {{ $json.title }}\nand\nReddit Content: {{ $json.content }}",
        "batching": {},
        "messages": {
          "messageValues": [
            {
              "message": "You are a content writer helping to create a blog post for WordPress site.\n\nHere's your task:\nUsing the following Reddit post as inspiration, write a full blog article. The tone should be friendly, personal, and natural — like you're talking to a curious friend over coffee.\n\nGoal:\nTurn the reddit post data into an engaging blog post that would perform well on Medium or similar platforms. Give a catchy title too.\n\nWrite using these style rules:\n\n* **Use clear, everyday language:** Simple words. Short sentences. Write like a human, not a robot.\n* **No clichés or hype words:** Avoid terms like \"game-changer\" or \"revolutionize.\" Just be real.\n* **Be direct:** Get to the point fast. Cut the fluff.\n* **Use a natural voice:** It's okay to start sentences with \"But\" or \"So.\" Write like you speak.\n* **Focus on value:** Don't oversell. Instead, explain the benefit honestly.\n* **Be human:** Don't fake excitement. Just share what's interesting, surprising, or useful.\n* **Light structure:** Use short paragraphs, subheadings, and maybe a few bullet points.\n* **Emotion + story welcome:** Share small stories or examples if it helps explain the point.\n* **Title must be catchy and relevant.**\n\nImportant Note:\nSometimes the post might not include much content — maybe it’s just a short sentence or like only one line. In such cases, don't just put what's given. Instead, use the **title as the main inspiration** and create an engaging blog post based on what the title *suggests*. You can also expand with general knowledge, relevant context, helpful explanations, or personal-style opinions — whatever makes it feel thoughtful and useful to a reader. Imagine you're filling in the gaps with your own voice and insights.\n\nAvoid:\n- Robotic or overly formal tone\n- Long, dense paragraphs\n- Generic summaries or filler content\n\nDo:\n- Write in first person if it makes sense\n- Use contractions (\"I'm\", \"it's\", etc.)\n- Keep it scannable and interesting\n\nStart with a headline, then dive right into the story or explanation.\n\nNow go ahead and write the blog post.\n\nThese are the things I need:\n1. Title\n2. Content\n3. Category: A String\n4. Tags: A array of 4 tags\n5. Image Search Keyword\n\nI think you know about categories and tags, but let me explain what an image search keyword is, as you might be confused. Basically, I am using the Pexels API, which provides images based on a search keyword. I need to use this keyword to fetch images. I just wanted to make sure you understand this.\n\nImportant: Do not add anything before or after, start with json and end with json.\n\nAn Example Output: {\n \"title\": \"What's New with OpenAI's ChatGPT Agent and the Windsurf Shuffle?\",\n \"content\": \"Hey, have you heard about OpenAI's latest ChatGPT Agent? It's kind of wild. This isn't just another chatbot anymore — this agent can actually control your whole computer and help you get stuff done. Think about telling it to open programs, organize files, or even handle some tasks that usually take a bunch of clicking and typing. It basically acts like a digital assistant that lives inside your computer.\\n\\nNow, I've been keeping an eye on how AI tools are evolving, and this feels like a neat step in making them more practical for everyday use. No more copy-pasting or juggling tabs; you just tell the agent what you want, and it goes for it.\\n\\nOn a different note, there's some interesting news about Windsurf — the company that was in talks with OpenAI. Turns out that deal fell through, and Windsurf's CEO is heading over to Google instead. It's always intriguing to see how these tech shifts happen behind the scenes.\\n\\nWhy does this matter? Well, these moves often hint at where the big players are focusing their energy next. The AI world is moving fast, and knowing where companies are investing their talent can clue us in on upcoming tools or trends.\\n\\nIf you're curious about how AI agents like ChatGPT could change your workflow or just want to stay in the loop about what's going on with AI startups, this is a good moment to pay attention. And who knows? Maybe soon these tools will be part of our daily routine, helping us out in ways that feel natural and easy.\\n\\nOh, and if you want to dig deeper, there's an episode from the LWiAI Podcast (#217) that covers all this and more. It's a solid listen if you like getting the scoop straight from the source.\\n\\nSo, what do you think? Would you feel comfortable letting an AI agent take control of parts of your computer? I'm still on the fence but definitely interested in seeing how it all plays out.\",\n \"category\": \"Technology\",\n \"tag\": [\n   \"OpenAI\",\n   \"ChatGPT\",\n   \"AI Agents\",\n   \"Tech News\"\n ],\n \"image_search_keyword\": \"AI assistant on computer\"\n}\n"
            }
          ]
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.7
    },
    {
      "id": "4811dae1-7be3-487e-a479-2a01265b25bf",
      "name": "IA ChatGPT",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "disabled": true,
      "position": [
        -540,
        700
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "GPT-4O"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Reddit Post:\nReddit Title: {{ $json.title }}\nand\nReddit Content: {{ $json.content }}"
            },
            {
              "role": "system",
              "content": "You are a content writer helping to create a blog post for WordPress site.\n\nHere's your task:\nUsing the following Reddit post as inspiration, write a full blog article. The tone should be friendly, personal, and natural — like you're talking to a curious friend over coffee.\n\nGoal:\nTurn the reddit post data into an engaging blog post that would perform well on Medium or similar platforms. Give a catchy title too.\n\nWrite using these style rules:\n\n* **Use clear, everyday language:** Simple words. Short sentences. Write like a human, not a robot.\n* **No clichés or hype words:** Avoid terms like \"game-changer\" or \"revolutionize.\" Just be real.\n* **Be direct:** Get to the point fast. Cut the fluff.\n* **Use a natural voice:** It's okay to start sentences with \"But\" or \"So.\" Write like you speak.\n* **Focus on value:** Don't oversell. Instead, explain the benefit honestly.\n* **Be human:** Don't fake excitement. Just share what's interesting, surprising, or useful.\n* **Light structure:** Use short paragraphs, subheadings, and maybe a few bullet points.\n* **Emotion + story welcome:** Share small stories or examples if it helps explain the point.\n* **Title must be catchy and relevant.**\n\nImportant Note:\nSometimes the post might not include much content — maybe it’s just a short sentence or like only one line. In such cases, don't just put what's given. Instead, use the **title as the main inspiration** and create an engaging blog post based on what the title *suggests*. You can also expand with general knowledge, relevant context, helpful explanations, or personal-style opinions — whatever makes it feel thoughtful and useful to a reader. Imagine you're filling in the gaps with your own voice and insights.\n\nAvoid:\n- Robotic or overly formal tone\n- Long, dense paragraphs\n- Generic summaries or filler content\n\nDo:\n- Write in first person if it makes sense\n- Use contractions (\"I'm\", \"it's\", etc.)\n- Keep it scannable and interesting\n\nStart with a headline, then dive right into the story or explanation.\n\nNow go ahead and write the blog post.\n\nThese are the things I need:\n1. Title\n2. Content\n3. Category: A String\n4. Tags: A array of 4 tags\n5. Image Search Keyword\n\nI think you know about categories and tags, but let me explain what an image search keyword is, as you might be confused. Basically, I am using the Pexels API, which provides images based on a search keyword. I need to use this keyword to fetch images. I just wanted to make sure you understand this.\n\nImportant: Do not add anything before or after, start with json and end with json.\n\nA Example Output: {\n\"title\": \n\"What’s New with OpenAI’s ChatGPT Agent and the Windsurf Shuffle?\",\n\"content\": \n\"Hey, have you heard about OpenAI's latest ChatGPT Agent? It's kind of wild. This isn't just another chatbot anymore — this agent can actually control your whole computer and help you get stuff done. Think about telling it to open programs, organize files, or even handle some tasks that usually take a bunch of clicking and typing. It basically acts like a digital assistant that lives inside your computer.\\n\\nNow, I’ve been keeping an eye on how AI tools are evolving, and this feels like a neat step in making them more practical for everyday use. No more copy-pasting or juggling tabs; you just tell the agent what you want, and it goes for it.\\n\\nOn a different note, there’s some interesting news about Windsurf — the company that was in talks with OpenAI. Turns out that deal fell through, and Windsurf’s CEO is heading over to Google instead. It’s always intriguing to see how these tech shifts happen behind the scenes.\\n\\nWhy does this matter? Well, these moves often hint at where the big players are focusing their energy next. The AI world is moving fast, and knowing where companies are investing their talent can clue us in on upcoming tools or trends.\\n\\nIf you’re curious about how AI agents like ChatGPT could change your workflow or just want to stay in the loop about what’s going on with AI startups, this is a good moment to pay attention. And who knows? Maybe soon these tools will be part of our daily routine, helping us out in ways that feel natural and easy.\\n\\nOh, and if you want to dig deeper, there’s an episode from the LWiAI Podcast (#217) that covers all this and more. It’s a solid listen if you like getting the scoop straight from the source.\\n\\nSo, what do you think? Would you feel comfortable letting an AI agent take control of parts of your computer? I’m still on the fence but definitely interested in seeing how it all plays out.\",\n\"category\": \n\"Technology\",\n\"tag\": \n[\n\"OpenAI\",\n\"ChatGPT\",\n\"AI Agents\",\n\"Tech News\"\n],\n\"image_search_keyword\": \n\"AI assistant on computer\"\n}\n"
            }
          ]
        },
        "jsonOutput": true
      },
      "credentials": {
        "openAiApi": {
          "id": "UkE4qgMwSCSnI40i",
          "name": "pink R"
        }
      },
      "typeVersion": 1.8
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Asia/Kolkata",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "b8c4663a-904e-45f5-80f7-cfb6f0f8e723",
  "connections": {
    "7cb3c8d4-e761-4622-8c0a-95d293e6c55c": {
      "main": [
        [
          {
            "node": "e8f44abf-e994-4f10-b9e9-599ba325e062",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cc895447-33a0-42dd-bab0-c331de847218": {
      "main": [
        [
          {
            "node": "576776cb-9fbd-4a74-b639-29a3aaafcff7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8b94efd9-88a1-40d9-a243-d798b5db6342": {
      "main": [
        [
          {
            "node": "3ae6eb7a-a820-4425-9524-0b7f09504f5c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b8e3083c-0d75-4076-9c79-d912e2bd6162": {
      "main": [
        [
          {
            "node": "e62fc5e5-674f-4334-af6e-1a6a6675ee75",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dd6da282-b47d-4908-a4ae-d0197717e0eb": {
      "main": [
        [
          {
            "node": "645f67f2-a328-4dda-85bf-069f525ccc8b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9ae2d32f-2988-4335-94fa-bbb4316c8750": {
      "main": [
        [
          {
            "node": "4ca513c9-62ae-443b-9478-70ada46f91e5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "834787e7-63b2-479b-935d-a4221644e19f": {
      "main": [
        [
          {
            "node": "d214a4ec-ca83-4868-8807-ded677547940",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0b1edd07-c833-4e44-bd1f-0ca44e737433": {
      "main": [
        [
          {
            "node": "22518c66-f65b-4d0e-8c45-f4b0e484f7fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "69ae89e6-820d-45a6-a4ec-35f1d1f0a95e": {
      "main": [
        [
          {
            "node": "8b94efd9-88a1-40d9-a243-d798b5db6342",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2700fa7d-26ff-4ae4-9bbf-f517710f4ac3": {
      "main": [
        [
          {
            "node": "b8e3083c-0d75-4076-9c79-d912e2bd6162",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1293482a-c27d-41ef-99e4-8fdb95b1975c": {
      "main": [
        [
          {
            "node": "dd6da282-b47d-4908-a4ae-d0197717e0eb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1603b577-1ba7-48c0-96fb-69d44f79c4c6": {
      "main": [
        [
          {
            "node": "9ae2d32f-2988-4335-94fa-bbb4316c8750",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "31dfb3ae-096f-4063-9317-d24aaf28d631": {
      "main": [
        [
          {
            "node": "9fe16076-c302-4a33-9cae-4b63eb9e4f54",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c6abc1f9-3def-4ac2-be82-0bcd97176c33": {
      "main": [
        [
          {
            "node": "622675eb-d62c-4e13-b783-bc81c7a48f14",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "0b1edd07-c833-4e44-bd1f-0ca44e737433",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "1331d0b8-fd6d-4ff3-9631-d20fb8d880d8": {
      "main": [
        [
          {
            "node": "69ae89e6-820d-45a6-a4ec-35f1d1f0a95e",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "92a8985c-f4db-4982-8b93-32a3bc294f04": {
      "main": [
        [
          {
            "node": "1331d0b8-fd6d-4ff3-9631-d20fb8d880d8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8e8e670e-1fb7-4525-bd03-221a40ce57e6": {
      "main": [
        [
          {
            "node": "69ae89e6-820d-45a6-a4ec-35f1d1f0a95e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "92a8985c-f4db-4982-8b93-32a3bc294f04",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bcbd49e3-6eac-4a31-b829-96e2015975c1": {
      "main": [
        [
          {
            "node": "2700fa7d-26ff-4ae4-9bbf-f517710f4ac3",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "ff944c40-c61f-4de4-9ef8-8bb434f0d206": {
      "main": [
        [
          {
            "node": "bcbd49e3-6eac-4a31-b829-96e2015975c1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b9708c57-fcb4-4a76-be06-0fb30963d470": {
      "main": [
        [
          {
            "node": "2700fa7d-26ff-4ae4-9bbf-f517710f4ac3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "ff944c40-c61f-4de4-9ef8-8bb434f0d206",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c693bbc1-227a-4633-8b59-ec9bc7a08476": {
      "main": [
        [
          {
            "node": "1293482a-c27d-41ef-99e4-8fdb95b1975c",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "eac29116-6a3c-42c6-a8a9-f1d468e291a3": {
      "main": [
        [
          {
            "node": "c693bbc1-227a-4633-8b59-ec9bc7a08476",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b187def9-c62a-41c0-8540-2aa6fbf7f3a9": {
      "main": [
        [
          {
            "node": "1293482a-c27d-41ef-99e4-8fdb95b1975c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "eac29116-6a3c-42c6-a8a9-f1d468e291a3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b802a647-2e8e-4363-8d80-66194e0cde4c": {
      "main": [
        [
          {
            "node": "1603b577-1ba7-48c0-96fb-69d44f79c4c6",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "95916b29-65d3-4b8d-8940-7bcb0c7d9c7c": {
      "main": [
        [
          {
            "node": "b802a647-2e8e-4363-8d80-66194e0cde4c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3b77ddc0-899a-41ed-991f-58132ffd11d2": {
      "main": [
        [
          {
            "node": "1603b577-1ba7-48c0-96fb-69d44f79c4c6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "95916b29-65d3-4b8d-8940-7bcb0c7d9c7c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8d74981a-9aef-41fd-b5c9-28eadbb1605d": {
      "main": [
        [
          {
            "node": "cc895447-33a0-42dd-bab0-c331de847218",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d214a4ec-ca83-4868-8807-ded677547940": {
      "main": [
        [
          {
            "node": "8e8e670e-1fb7-4525-bd03-221a40ce57e6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3ae6eb7a-a820-4425-9524-0b7f09504f5c": {
      "main": [
        [
          {
            "node": "b9708c57-fcb4-4a76-be06-0fb30963d470",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e62fc5e5-674f-4334-af6e-1a6a6675ee75": {
      "main": [
        [
          {
            "node": "b187def9-c62a-41c0-8540-2aa6fbf7f3a9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "645f67f2-a328-4dda-85bf-069f525ccc8b": {
      "main": [
        [
          {
            "node": "3b77ddc0-899a-41ed-991f-58132ffd11d2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5b3603d9-d06d-4a96-b604-39fb930cfe86": {
      "main": [
        [
          {
            "node": "834787e7-63b2-479b-935d-a4221644e19f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "576776cb-9fbd-4a74-b639-29a3aaafcff7": {
      "main": [
        [
          {
            "node": "9809f25a-b1ef-45c0-b0f8-ce655d25fe1f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10c19fb9-00ce-4e4d-939c-24ac23dd11f6": {
      "main": [
        [
          {
            "node": "7cb3c8d4-e761-4622-8c0a-95d293e6c55c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bb6217b5-e0a5-4629-b57f-607a413d921e": {
      "main": [
        [
          {
            "node": "5b3603d9-d06d-4a96-b604-39fb930cfe86",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "f49ed328-0f40-489c-9d15-06df478f75cb": {
      "main": [
        [
          {
            "node": "bb6217b5-e0a5-4629-b57f-607a413d921e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "95d42aeb-7be3-437a-ae6a-1a4d79783a63": {
      "main": [
        [
          {
            "node": "5b3603d9-d06d-4a96-b604-39fb930cfe86",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f49ed328-0f40-489c-9d15-06df478f75cb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7afef122-7428-4833-8684-49fb554afaec": {
      "ai_languageModel": [
        [
          {
            "node": "7cb3c8d4-e761-4622-8c0a-95d293e6c55c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "22518c66-f65b-4d0e-8c45-f4b0e484f7fa": {
      "main": [
        [
          {
            "node": "d085a786-c349-4ca2-bec3-04ce6aba2d81",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4ca513c9-62ae-443b-9478-70ada46f91e5": {
      "main": [
        [
          {
            "node": "8d74981a-9aef-41fd-b5c9-28eadbb1605d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "35eae1eb-1670-49f5-a89d-40862ba8efc0": {
      "main": [
        [
          {
            "node": "10c19fb9-00ce-4e4d-939c-24ac23dd11f6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d085a786-c349-4ca2-bec3-04ce6aba2d81": {
      "main": [
        [
          {
            "node": "95d42aeb-7be3-437a-ae6a-1a4d79783a63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d3946552-45e5-4841-827a-df942d165094": {
      "main": [
        [
          {
            "node": "10c19fb9-00ce-4e4d-939c-24ac23dd11f6",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "3f96b386-c3ab-4b57-85e2-32e7e6344ef8": {
      "main": [
        [
          {
            "node": "10c19fb9-00ce-4e4d-939c-24ac23dd11f6",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "9809f25a-b1ef-45c0-b0f8-ce655d25fe1f": {
      "main": [
        [
          {
            "node": "2a5f5652-e56a-45bf-a82d-5587418662c7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e8f44abf-e994-4f10-b9e9-599ba325e062": {
      "main": [
        [
          {
            "node": "f15a5c8d-98be-48c7-a3f8-969b688bed01",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8cddee8e-1452-4294-a29d-0fdaa890c2dc": {
      "ai_outputParser": [
        [
          {
            "node": "7cb3c8d4-e761-4622-8c0a-95d293e6c55c",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "2a5f5652-e56a-45bf-a82d-5587418662c7": {
      "main": [
        [
          {
            "node": "bbbf91ab-b58b-459d-82d2-674b6b20cb24",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f15a5c8d-98be-48c7-a3f8-969b688bed01": {
      "main": [
        [
          {
            "node": "c6abc1f9-3def-4ac2-be82-0bcd97176c33",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "622675eb-d62c-4e13-b783-bc81c7a48f14": {
      "main": [
        [
          {
            "node": "0b1edd07-c833-4e44-bd1f-0ca44e737433",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bbbf91ab-b58b-459d-82d2-674b6b20cb24": {
      "main": [
        [
          {
            "node": "31dfb3ae-096f-4063-9317-d24aaf28d631",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - Création de contenu, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds53
Catégorie2
Types de nœuds13
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur
Ranjan Kumar

Ranjan Kumar

@iamranjank09

Hey, I’m Ranjan Kumar — I build smart, AI-powered workflows with n8n to automate tasks, save time, and simplify daily work. I enjoy combining tools like Groq, OpenAI, WordPress, etc. to create powerful no-code/low-code automations. Whether it’s content creation or API integration, I focus on making workflows that are easy to use, practical, and ready to plug into your stack. Sharing real-world automations to help others work smarter, not harder.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34