Google News 2 Wordpress

    idk

    Shared 10/30/2025

    152 views

    Visual Workflow

    JSON Code

    {
      "id": "x9rGfIyqDLJI3ejr",
      "meta": {
        "instanceId": "2f860d8add923e726d32c322e7cfcf7676ac039ed543e5865fa2f4ea3c04ae49",
        "templateCredsSetupCompleted": true
      },
      "name": "FidesMedia2",
      "tags": [],
      "nodes": [
        {
          "id": "b1b1b3d5-7bd3-4acc-a84b-c98f54c55efc",
          "name": "Schedule Trigger",
          "type": "n8n-nodes-base.scheduleTrigger",
          "position": [
            -672,
            -1808
          ],
          "parameters": {
            "rule": {
              "interval": [
                {
                  "field": "minutes",
                  "minutesInterval": 2
                }
              ]
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "88dc5dfc-8ac8-4fb2-a0c7-165525b0c48b",
          "name": "Loop Over Items",
          "type": "n8n-nodes-base.splitInBatches",
          "position": [
            -224,
            -1808
          ],
          "parameters": {
            "options": {}
          },
          "typeVersion": 3
        },
        {
          "id": "492112f0-ffb7-4365-a853-2e57be8ef269",
          "name": "Get row(s)",
          "type": "n8n-nodes-base.dataTable",
          "position": [
            0,
            -2264
          ],
          "parameters": {
            "limit": 10,
            "filters": {
              "conditions": [
                {
                  "keyName": "item",
                  "keyValue": "={{ $('Loop Over Items').item.json.title }}"
                },
                {
                  "keyName": "tag",
                  "keyValue": "fides"
                }
              ]
            },
            "matchType": "allConditions",
            "operation": "get",
            "dataTableId": {
              "__rl": true,
              "mode": "list",
              "value": "mcHIt2WZXxMqBrGm",
              "cachedResultUrl": "/projects/2jMLIXROJ1vHXj0i/datatables/mcHIt2WZXxMqBrGm",
              "cachedResultName": "crondb"
            }
          },
          "typeVersion": 1,
          "alwaysOutputData": true
        },
        {
          "id": "b9b7d92c-f99a-47f3-b92a-48b1aa0f55d8",
          "name": "Insert row",
          "type": "n8n-nodes-base.dataTable",
          "position": [
            3712,
            -2528
          ],
          "parameters": {
            "columns": {
              "value": {
                "tag": "fides",
                "item": "={{ $('Loop Over Items').first().json.title }}"
              },
              "schema": [
                {
                  "id": "item",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "item",
                  "defaultMatch": false
                },
                {
                  "id": "tag",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "tag",
                  "defaultMatch": false
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "item"
              ],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            },
            "options": {},
            "dataTableId": {
              "__rl": true,
              "mode": "list",
              "value": "mcHIt2WZXxMqBrGm",
              "cachedResultUrl": "/projects/2jMLIXROJ1vHXj0i/datatables/mcHIt2WZXxMqBrGm",
              "cachedResultName": "crondb"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "a2471006-0418-4272-896c-09851d66a261",
          "name": "AI Agent",
          "type": "@n8n/n8n-nodes-langchain.agent",
          "notes": "You rewrite news articles from JSON input to optimized output.\nINPUT: {\"title\": \"...\", \"content\": \"...\"}\nOUTPUT: {\"title\": \"...\", \"content\": \"...\", \"category\": [\"name\": \"...\", \"slug\": \"...\"], \"slug\": \"...\"}\nTITLE RULES:\n- Max 60 chars\n- Clickable, engaging\n- Clear topic\n- No clickbait\nCONTENT RULES:\n- Clean HTML: <p>, <h2>, <strong>, <em>, <ul>, <ol>, <li>, <a>\n- KEEP: <img>, <figure>, <figcaption>, <video>, <iframe>, <embed>, all media elements\n- PRESERVE: src, alt, width, height, srcset attributes on media\n- Remove: ads, scripts, inline styles (except on media), empty tags, comments\n- Structure: intro → body → conclusion\n- Short paragraphs (2-4 sentences)\n- Keep facts accurate\n- Preserve quotes and attributions\n- Use semantic HTML\nCATEGORY RULES:\n- array format\nPROCESS:\n1. Extract key info and all media from HTML\n2. Rewrite text clearly, keep media intact\n3. Return valid JSON with escaped quotes\nBe direct. No explanations outside JSON output.",
          "position": [
            1120,
            -2264
          ],
          "parameters": {
            "text": "={{ JSON.stringify($json) }}",
            "options": {
              "systemMessage": "You are a news article optimizer that transforms raw JSON input into clean, SEO-optimized output.\n\nINPUT FORMAT:\n{\"title\": \"...\", \"content\": \"...\", \"image\": \"...\"}\n\nOUTPUT FORMAT:\n{\"title\": \"...\", \"content\": \"...\", \"category\": [{\"name\": \"...\", \"slug\": \"...\"}], \"slug\": \"...\", \"image\": \"...\"}\n\nTITLE OPTIMIZATION:\n- Maximum 60 characters\n- Engaging and clear—convey the core topic immediately\n- Use active voice and strong verbs\n- NO clickbait, sensationalism, or misleading phrasing\n- Include primary keyword when possible\n\nCONTENT PROCESSING:\nHTML Structure:\n- ALLOWED TAGS: <p>, <h2>, <h3>, <strong>, <em>, <ul>, <ol>, <li>, <a>, <blockquote>\n- PRESERVE COMPLETELY: <img>, <figure>, <figcaption>, <video>, <iframe>, <embed>, <picture>, <source>\n- PRESERVE ATTRIBUTES: src, alt, width, height, srcset, sizes, loading, title on all media elements\n- REMOVE: <script>, <style>, inline style attributes (EXCEPT on media), <!-- comments -->, tracking pixels, ads, empty tags, <span>, <div> without semantic value\n- REMOVE COMPLETELY: Related posts sections, \"You may also like\", \"Recommended articles\", \"Read more\", \"Related content\", article cards/widgets, internal link blocks, promotional boxes\n\nContent Quality:\n- Structure: Introduction (context) → Body (details) → Conclusion (summary/impact)\n- Paragraphs: 2-4 sentences maximum\n- Use <h2> for main sections, <h3> for subsections\n- Preserve ALL: factual data, statistics, quotes with attribution, names, dates, locations\n- Maintain journalistic accuracy—do not add, remove, or modify facts\n- Use <blockquote> for direct quotes\n- Ensure all <a> tags have valid href attributes\n- Keep ONLY contextual inline links within article body—remove navigational/promotional link blocks\n\nSEO & Formatting:\n- First paragraph should summarize the key information (who, what, when, where, why)\n- Use semantic HTML hierarchy correctly\n- Break up long text with subheadings\n- Use <strong> for emphasis, not bold styling\n- Ensure proper list formatting with <ul>/<ol>\n\nCATEGORY ASSIGNMENT:\n- Return as array: [{\"name\": \"Category Name\", \"slug\": \"category-slug\"}]\n- Choose the most specific, relevant category\n- Slug: lowercase, hyphen-separated, no special characters\n\nSLUG GENERATION:\n- Lowercase, hyphen-separated from title\n- Remove articles (a, an, the), prepositions when possible\n- Maximum 60 characters\n- Pattern: main-keywords-from-title\n\nPROCESSING STEPS:\n1. Parse HTML content and identify all media elements\n2. Remove related posts, recommended content, and article card sections\n3. Extract text content while preserving media with all attributes\n4. Rewrite text for clarity and readability\n5. Structure with proper HTML semantics\n6. Generate optimized title and slug\n7. Assign appropriate category\n8. Return valid JSON with properly escaped strings\n\nOUTPUT REQUIREMENTS:\n- Valid JSON only—no explanations, comments, or markdown\n- All quotes and special characters properly escaped\n- Complete media elements preserved exactly as found\n- Well-formed HTML in content field\n- NO related posts or recommended content sections"
            },
            "promptType": "define"
          },
          "typeVersion": 2.2
        },
        {
          "id": "df4717e9-2210-4225-822c-7c5c242f7bd4",
          "name": "the post",
          "type": "n8n-nodes-base.code",
          "position": [
            1472,
            -2264
          ],
          "parameters": {
            "jsCode": "const cleaned = $(\"AI Agent\").first().json.output.replace(/^```json\\s*|\\s*```$/g, \"\");\nconst obj = JSON.parse(cleaned);\n$input.first().json.res = obj\n\ndelete $input.first().json.output\nreturn $input.all();"
          },
          "typeVersion": 2,
          "alwaysOutputData": false
        },
        {
          "id": "78705f5d-baeb-4295-a58d-ddd9d72cc919",
          "name": "img req",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            3040,
            -2672
          ],
          "parameters": {
            "url": "={{ $('the post').first().json.res.image }}",
            "options": {}
          },
          "typeVersion": 4.2
        },
        {
          "id": "30aad5f4-087e-4b0d-8c3e-1766b84209dc",
          "name": "media",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            3264,
            -2672
          ],
          "parameters": {
            "url": "https://po.fyi//wp-json/wp/v2/media",
            "method": "POST",
            "options": {},
            "sendBody": true,
            "contentType": "binaryData",
            "sendHeaders": true,
            "authentication": "predefinedCredentialType",
            "headerParameters": {
              "parameters": [
                {
                  "name": "Content-Disposition",
                  "value": "=attachment; filename=\"{{ $('the post').item.json.res.title.replace(/[^0-9_a-zA-Z\\\\(\\\\)\\\\%\\\\-\\\\.]/g, '_').trim().replace(/[\\s\\.]+$/, '_') }}.jpg\""
                },
                {
                  "name": "Content-Type",
                  "value": "={{ $binary.data.mimeType }}"
                }
              ]
            },
            "inputDataFieldName": "data",
            "nodeCredentialType": "wordpressApi"
          },
          "credentials": {
            "wordpressApi": {
              "id": "gtWUD7Ku7lrt0lA4",
              "name": "Wordpress account"
            },
            "httpBasicAuth": {
              "id": "GfdVedOQuLcnxQe0",
              "name": "wp pofyi"
            }
          },
          "typeVersion": 4.2
        },
        {
          "id": "885914de-fd76-4d15-9922-40903a86d689",
          "name": "Loop Category",
          "type": "n8n-nodes-base.splitInBatches",
          "position": [
            2368,
            -2264
          ],
          "parameters": {
            "options": {}
          },
          "typeVersion": 3
        },
        {
          "id": "144ffc1e-7186-4bc6-9785-e9d2273de609",
          "name": "create category",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            3040,
            -2336
          ],
          "parameters": {
            "url": "https://po.fyi/wp-json/wp/v2/categories",
            "method": "POST",
            "options": {},
            "sendBody": true,
            "authentication": "predefinedCredentialType",
            "bodyParameters": {
              "parameters": [
                {
                  "name": "name",
                  "value": "={{ $('parse catogory loop').item.json.name }}"
                },
                {
                  "name": "slug",
                  "value": "={{ $('parse catogory loop').item.json.slug }}"
                }
              ]
            },
            "nodeCredentialType": "wordpressApi"
          },
          "credentials": {
            "wordpressApi": {
              "id": "gtWUD7Ku7lrt0lA4",
              "name": "Wordpress account"
            }
          },
          "typeVersion": 4.2
        },
        {
          "id": "da8bea72-6935-44cf-a3b3-b42c85a1c674",
          "name": "flash lite",
          "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
          "position": [
            1192,
            -2040
          ],
          "parameters": {
            "options": {},
            "modelName": "models/gemini-2.0-flash-lite"
          },
          "credentials": {
            "googlePalmApi": {
              "id": "K7fjdfdvUP8bUNrA",
              "name": "Google Gemini(PaLM) Api account"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "d3d9860c-dd11-4871-8f32-28348d54ff2e",
          "name": "post to web + img",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            3488,
            -2672
          ],
          "parameters": {
            "url": "https://po.fyi//wp-json/wp/v2/posts",
            "method": "POST",
            "options": {},
            "sendBody": true,
            "contentType": "form-urlencoded",
            "sendHeaders": true,
            "authentication": "predefinedCredentialType",
            "bodyParameters": {
              "parameters": [
                {
                  "name": "featured_media",
                  "value": "= {{  $('media').first().json.id }}"
                },
                {
                  "name": "title",
                  "value": "={{ $('the post').first().json.res.title }}"
                },
                {
                  "name": "content",
                  "value": "={{ $('the post').first().json.res.content }}"
                },
                {
                  "name": "status",
                  "value": "publish"
                },
                {
                  "name": "slug",
                  "value": "={{ $('the post').first().json.res.slug }}"
                },
                {
                  "name": "categories",
                  "value": "={{ $('category to post').item.json.categories }}"
                }
              ]
            },
            "headerParameters": {
              "parameters": [
                {
                  "name": "Content-Type",
                  "value": "application/json"
                }
              ]
            },
            "nodeCredentialType": "wordpressApi"
          },
          "credentials": {
            "wordpressApi": {
              "id": "gtWUD7Ku7lrt0lA4",
              "name": "Wordpress account"
            },
            "httpBasicAuth": {
              "id": "GfdVedOQuLcnxQe0",
              "name": "wp pofyi"
            }
          },
          "retryOnFail": false,
          "typeVersion": 4.2
        },
        {
          "id": "4b66ed06-515a-4564-9f1e-882eabed4f09",
          "name": "post to web no img",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            3488,
            -2480
          ],
          "parameters": {
            "url": "https://po.fyi//wp-json/wp/v2/posts",
            "method": "POST",
            "options": {},
            "sendBody": true,
            "contentType": "form-urlencoded",
            "sendHeaders": true,
            "authentication": "predefinedCredentialType",
            "bodyParameters": {
              "parameters": [
                {
                  "name": "title",
                  "value": "={{ $('the post').first().json.res.title }}"
                },
                {
                  "name": "content",
                  "value": "={{ $('the post').first().json.res.content }}"
                },
                {
                  "name": "status",
                  "value": "publish"
                },
                {
                  "name": "slug",
                  "value": "={{ $('the post').first().json.res.slug }}"
                },
                {
                  "name": "categories",
                  "value": "={{ $('category to post').item.json.categories }}"
                }
              ]
            },
            "headerParameters": {
              "parameters": [
                {
                  "name": "Content-Type",
                  "value": "application/json"
                }
              ]
            },
            "nodeCredentialType": "wordpressApi"
          },
          "credentials": {
            "wordpressApi": {
              "id": "gtWUD7Ku7lrt0lA4",
              "name": "Wordpress account"
            },
            "httpBasicAuth": {
              "id": "GfdVedOQuLcnxQe0",
              "name": "wp pofyi"
            }
          },
          "retryOnFail": false,
          "typeVersion": 4.2
        },
        {
          "id": "c355de72-78a9-4e64-8be7-353f3232e2b6",
          "name": "If image exist",
          "type": "n8n-nodes-base.if",
          "position": [
            2816,
            -2624
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "bfe312bf-f81d-4e56-b884-422527f416e6",
                  "operator": {
                    "type": "string",
                    "operation": "exists",
                    "singleValue": true
                  },
                  "leftValue": "={{ $('the post')?.first()?.json?.res?.image }}",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "61328889-400a-4216-9d81-170a615a0517",
          "name": "category exist?",
          "type": "n8n-nodes-base.if",
          "position": [
            1920,
            -2264
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "fe00c9f1-5c2d-418c-9eca-feacd2794fbd",
                  "operator": {
                    "type": "array",
                    "operation": "notEmpty",
                    "singleValue": true
                  },
                  "leftValue": "={{ $('the post').item.json.res.category }}",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "43ea4401-bfab-4a81-b30d-a2c04a98dcf6",
          "name": "creating category?",
          "type": "n8n-nodes-base.if",
          "position": [
            2816,
            -2288
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "or",
              "conditions": [
                {
                  "id": "2947272e-249e-45f7-8895-2847aba00661",
                  "operator": {
                    "type": "number",
                    "operation": "notExists",
                    "singleValue": true
                  },
                  "leftValue": "={{$(\"check category\").item.json.id}}",
                  "rightValue": 1
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "139df9aa-86bb-409a-8098-08fbe9fc0d33",
          "name": "check category",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            2592,
            -2288
          ],
          "parameters": {
            "url": "=https://po.fyi//wp-json/wp/v2/categories?slug={{ $json.slug }}",
            "options": {}
          },
          "typeVersion": 4.2,
          "alwaysOutputData": true
        },
        {
          "id": "e0370b63-2e35-4200-9b57-c95074b05ea1",
          "name": "category  id resutl",
          "type": "n8n-nodes-base.code",
          "position": [
            3264,
            -2216
          ],
          "parameters": {
            "jsCode": "const is_category_not_exist = $('check category')?.first()?.json?.id === null\n\nif(is_category_not_exist){\n  return {json: {id: $(\"create category\").first().json.id}}\n}\nreturn {json: {id: $(\"check category\").first().json.id}}"
          },
          "typeVersion": 2
        },
        {
          "id": "697745cd-b77b-4c28-bdf2-8859368e0b0a",
          "name": "parse catogory loop",
          "type": "n8n-nodes-base.code",
          "position": [
            2144,
            -2264
          ],
          "parameters": {
            "jsCode": "const category = $('the post').first().json.res.category.map(item => {\n  return {\n    json: item\n  }\n})\n\nreturn category"
          },
          "typeVersion": 2
        },
        {
          "id": "72f0b394-fe97-4654-88c1-911b387d77a7",
          "name": "get full content",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            672,
            -2264
          ],
          "parameters": {
            "url": "={{ $('get google url').item.json.url }}",
            "options": {
              "response": {
                "response": {
                  "neverError": true,
                  "responseFormat": "json"
                }
              }
            }
          },
          "typeVersion": 4.2,
          "alwaysOutputData": true
        },
        {
          "id": "f7affb1c-eca3-4aa3-9737-0fe67f5d07f7",
          "name": "category to post",
          "type": "n8n-nodes-base.aggregate",
          "position": [
            2592,
            -2624
          ],
          "parameters": {
            "options": {
              "mergeLists": true
            },
            "fieldsToAggregate": {
              "fieldToAggregate": [
                {
                  "renameField": true,
                  "outputFieldName": "categories",
                  "fieldToAggregate": "id"
                }
              ]
            }
          },
          "typeVersion": 1
        },
        {
          "id": "aad53f07-2327-4485-aecc-f0664deaa54c",
          "name": "If already posted",
          "type": "n8n-nodes-base.if",
          "position": [
            224,
            -2264
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "bb38ba16-dd47-4208-be76-a6f746bb8e3e",
                  "operator": {
                    "type": "boolean",
                    "operation": "true",
                    "singleValue": true
                  },
                  "leftValue": "={{ $('Get row(s)').first().json.isEmpty() }}",
                  "rightValue": "tr"
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "220c0596-ebcc-4f1f-86ee-e7dc650e666d",
          "name": "RSS Read",
          "type": "n8n-nodes-base.rssFeedRead",
          "position": [
            -448,
            -1808
          ],
          "parameters": {
            "url": "https://news.google.com/rss/topics/CAAqJggKIiBDQkFTRWdvSUwyMHZNRFZxYUdjU0FtVnVHZ0pWVXlnQVAB?hl=en-US&gl=US&ceid=US%3Aen",
            "options": {}
          },
          "typeVersion": 1.2
        },
        {
          "id": "7e959186-3f16-4f82-91f6-f4471abe9169",
          "name": "get google url",
          "type": "n8n-nodes-base.code",
          "position": [
            448,
            -2264
          ],
          "parameters": {
            "jsCode": "\nconst google = `https://fidesmedia.h3h3.eu.org/google/${Buffer.from($('Loop Over Items').item.json.link).toString('base64')}`\n\nreturn {\n  json: {url: google}\n}"
          },
          "typeVersion": 2
        },
        {
          "id": "76f630c1-a638-4732-871d-d465a08f7b2c",
          "name": "is full content",
          "type": "n8n-nodes-base.if",
          "position": [
            896,
            -2264
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "3467e5fc-91cf-4564-b554-8f9baddb435d",
                  "operator": {
                    "type": "boolean",
                    "operation": "notExists",
                    "singleValue": true
                  },
                  "leftValue": "={{ $('get full content').item.json.error }}",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "cc2462c3-b5bc-4289-9aea-3664c3df8c11",
          "name": "is parsed?",
          "type": "n8n-nodes-base.if",
          "position": [
            1696,
            -2264
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "5343d9b8-60f2-4d48-a655-888328358b0c",
                  "operator": {
                    "type": "boolean",
                    "operation": "false",
                    "singleValue": true
                  },
                  "leftValue": "={{ $('the post').first().json.isEmpty() }}",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        }
      ],
      "active": true,
      "pinData": {},
      "settings": {
        "executionOrder": "v1"
      },
      "versionId": "289d79e1-e664-4bed-9367-d643416a7e89",
      "connections": {
        "media": {
          "main": [
            [
              {
                "node": "post to web + img",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "img req": {
          "main": [
            [
              {
                "node": "media",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "AI Agent": {
          "main": [
            [
              {
                "node": "the post",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "RSS Read": {
          "main": [
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "the post": {
          "main": [
            [
              {
                "node": "is parsed?",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Get row(s)": {
          "main": [
            [
              {
                "node": "If already posted",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Insert row": {
          "main": [
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "flash lite": {
          "ai_languageModel": [
            [
              {
                "node": "AI Agent",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "is parsed?": {
          "main": [
            [
              {
                "node": "category exist?",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Loop Category": {
          "main": [
            [
              {
                "node": "category to post",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "check category",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "If image exist": {
          "main": [
            [
              {
                "node": "img req",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "post to web no img",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "check category": {
          "main": [
            [
              {
                "node": "creating category?",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "get google url": {
          "main": [
            [
              {
                "node": "get full content",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Loop Over Items": {
          "main": [
            [],
            [
              {
                "node": "Get row(s)",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "category exist?": {
          "main": [
            [
              {
                "node": "parse catogory loop",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "create category": {
          "main": [
            [
              {
                "node": "category  id resutl",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "is full content": {
          "main": [
            [
              {
                "node": "AI Agent",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Schedule Trigger": {
          "main": [
            [
              {
                "node": "RSS Read",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "category to post": {
          "main": [
            [
              {
                "node": "If image exist",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "get full content": {
          "main": [
            [
              {
                "node": "is full content",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "If already posted": {
          "main": [
            [
              {
                "node": "get google url",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "post to web + img": {
          "main": [
            [
              {
                "node": "Insert row",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "creating category?": {
          "main": [
            [
              {
                "node": "create category",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "category  id resutl",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "post to web no img": {
          "main": [
            [
              {
                "node": "Insert row",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "category  id resutl": {
          "main": [
            [
              {
                "node": "Loop Category",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "parse catogory loop": {
          "main": [
            [
              {
                "node": "Loop Category",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    }