{"workflow":{"id":14961,"name":"Generate trending X, Facebook, and Threads posts with Apify, Gemini, and Buffer","views":0,"recentViews":0,"totalViews":0,"createdAt":"2026-04-09T13:40:49.050Z","description":"## 🚀 Overview\n\nThis workflow automatically discovers trending topics, generates engaging social media content using AI, and publishes posts to X (Twitter) and Facebook via Buffer.\n\nIt combines trend monitoring + AI content generation + automated publishing into one seamless pipeline, helping creators and marketers stay consistent and relevant without manual effort.\n\n## 🎯 Who is this for\n- Content creators & social media managers\n- Agencies managing multiple accounts\n- Developers building AI-powered automation systems\n- Anyone who wants to post consistently on trending topics\n\n\n## ⚙️ What this workflow does\n1. Fetches trending topics (e.g., from X or external sources)\n2. Filters and formats relevant trends\n3. Uses Google Gemini to generate:\n4. X (Twitter) tweets\n5. Facebook posts\n6. Thread posts\n6. Formats content for each platform\n7. Publishes posts automatically via Buffer API\n\n## ✨ Key Features\n- Fully automated content pipeline\n- Multi-platform posting (X + Facebook + Thread)\n- AI-generated threads + captions\n- Easily customizable prompts and filters\n- Scalable for multiple niches or accounts\n\n## 🔧 Setup Instructions\n1. Credentials required\n- Google Gemini API key\n- Apify API key\n- Buffer API access token\n\n2. Configuration steps\n- Add your API credentials to the respective nodes\n- Customize the prompt templates for your niche\n- Define your preferred trend source or keywords\n- Set posting frequency (via Cron or trigger node)\n\n3. Optional customization\n- Add moderation/approval step before posting\n- Filter trends by region, hashtags, or keywords\n- Adjust tone (professional, funny, viral, etc.) and language\n\n## 🧠 How it works (high-level)\n\nThe workflow monitors trending data, processes it into structured input, and feeds it into AI models to generate platform-specific content. The output is then formatted and sent to Buffer for scheduled or immediate publishing.\n\n## ⚠️ Notes & Limitations\n- AI-generated content may require review for accuracy\n- Rate limits may apply depending on APIs used\n- Ensure Buffer supports your connected accounts\n- Trending data source reliability may vary","workflow":{"id":"t8oEobLfpjA17NYw","meta":{"instanceId":"c47530286da43337d05c81b6b3a48affed05b1ae8339bb54632729a1da5f1641","templateCredsSetupCompleted":true},"name":"Auto-Generate Trending X, Facebook & Thread Posts (Apify + Gemini + Buffer)","tags":[],"nodes":[{"id":"b107a109-eeb2-4c63-a990-5da265d284f5","name":"Create a data table","type":"n8n-nodes-base.dataTable","onError":"continueRegularOutput","disabled":true,"position":[672,-1840],"parameters":{"columns":{"column":[{"name":"trend"},{"name":"date"}]},"options":{},"resource":"table","operation":"create","tableName":"trend_table"},"executeOnce":false,"typeVersion":1.1},{"id":"dc4e83a2-073e-4565-9a2a-464d5c51a1b0","name":"Filter Last 24h","type":"n8n-nodes-base.code","onError":"continueRegularOutput","position":[1312,-1840],"parameters":{"jsCode":"const allTrends = $input.all();\n\n// Get used trends from Get Used Trends (deduplicate by id)\nlet usedTrendsItems = [];\ntry {\n  const raw = $node[\"Get Used Trends\"].all();\n  // Deduplicate by id - keeps only first occurrence of each id\n  const seen = new Set();\n  usedTrendsItems = raw.filter(item => {\n    const id = item.json.id;\n    if (seen.has(id)) return false;\n    seen.add(id);\n    return true;\n  });\n} catch (e) {\n  usedTrendsItems = [];\n}\n\nconst oneDay = 24 * 60 * 60 * 1000;\nconst now = new Date();\n\nconst recentUsed = usedTrendsItems\n  .filter(item => {\n    if (!item.json.date) return false;\n    const d = new Date(item.json.date);\n    if (isNaN(d.getTime())) return false;\n    return (now - d) < oneDay;\n  })\n  .map(item => (item.json.trend || \"\").trim().toLowerCase());\n\nconst availableTrends = allTrends.filter(item => {\n  const trend = (item.json.trend || \"\").trim().toLowerCase();\n  return !recentUsed.includes(trend);\n});\n\nreturn availableTrends.map(item => ({ json: { trend: item.json.trend } }));"},"typeVersion":2,"alwaysOutputData":true},{"id":"d1dafc4d-8f13-4941-893b-4bfc7a6752ad","name":"Remove Used Trends","type":"n8n-nodes-base.code","onError":"continueRegularOutput","position":[1520,-1840],"parameters":{"jsCode":"// Get used trends from previous node\nconst used = $input.all().map(i => i.json.trend || \"\");\n\n// Get current trends from \"Split Trend\" node\nconst current = $items(\"Split Trend1\") || []; // Make sure node name matches\n\n// Filter out used ones\nconst filtered = current.filter(item => !used.includes(item.json.trend));\n\n// Return empty array if none left\nreturn filtered.length > 0 ? filtered : [];"},"typeVersion":2,"alwaysOutputData":true},{"id":"626494c5-a8fd-4a71-9055-e8b03ad776f2","name":"Pick Trend","type":"n8n-nodes-base.code","onError":"continueRegularOutput","position":[1808,-1840],"parameters":{"jsCode":"const items = $input.all();\n\n// Pick the first 2 trends from the list\nconst picked = items.slice(0, 1);\n\nreturn picked.map(item => ({\n  json: {\n    trend: item.json?.trend?.json?.trend || item.json?.trend\n  }\n}));"},"typeVersion":2,"alwaysOutputData":true},{"id":"d338fd0a-f497-4d8a-9936-bd1225b5bf7f","name":"trend ","type":"@n8n/n8n-nodes-langchain.googleGemini","onError":"continueErrorOutput","position":[2736,-1760],"parameters":{"modelId":{"__rl":true,"mode":"list","value":"models/gemini-2.5-flash","cachedResultName":"models/gemini-2.5-flash"},"options":{},"messages":{"values":[{"content":"= generate a short tweet base on this x.com trend: {{ $json.trend }} . The generated tweet must be base on live events, react to the contextuse pidgin + casual tone. only one otion, no **\\n, maximum of 275 characters."}]},"builtInTools":{"googleSearch":true}},"credentials":{"googlePalmApi":{"id":"tBYdgG6WSU3D7RKn","name":"Google Gemini(PaLM) Api account"}},"typeVersion":1.1},{"id":"ef11a0be-c621-467c-bcc6-8e2029d50ac2","name":"Post only tweets","type":"@n8n/n8n-nodes-langchain.mcpClient","notes":"Twiiter Auto post","position":[3824,-1520],"parameters":{"tool":{"__rl":true,"mode":"list","value":"create_post","cachedResultName":"create_post"},"options":{},"parameters":{"value":{"text":"={{ $('Extract Tweet Text').item.json.tweet }}","channelId":"69ce9bddaf47dacb6980757d","schedulingType":"automatic"},"schema":[{"id":"channelId","type":"string","display":true,"removed":false,"required":true,"displayName":"channelId","defaultMatch":false},{"id":"schedulingType","type":"options","display":true,"options":[{"name":"notification","value":"notification"},{"name":"automatic","value":"automatic"}],"removed":false,"required":true,"displayName":"schedulingType","defaultMatch":false},{"id":"mode","type":"options","display":true,"options":[{"name":"addToQueue","value":"addToQueue"},{"name":"shareNow","value":"shareNow"},{"name":"shareNext","value":"shareNext"},{"name":"customScheduled","value":"customScheduled"},{"name":"recommendedTime","value":"recommendedTime"}],"removed":true,"required":false,"displayName":"mode","defaultMatch":false},{"id":"text","type":"string","display":true,"removed":false,"required":false,"displayName":"text","defaultMatch":false},{"id":"dueAt","type":"string","display":true,"removed":true,"required":false,"displayName":"dueAt","defaultMatch":false},{"id":"tagIds","type":"array","display":true,"removed":true,"required":false,"displayName":"tagIds","defaultMatch":false,"defaultValue":"[\n  \"string\"\n]"},{"id":"assets","type":"object","display":true,"removed":true,"required":false,"displayName":"assets","defaultMatch":false,"defaultValue":"{\n  \"images\": [\n    {\n      \"url\": \"string\",\n      \"thumbnailUrl\": \"string\",\n      \"metadata\": {\n        \"altText\": \"string\",\n        \"animatedThumbnail\": \"string\",\n        \"userTags\": [\n          {\n            \"handle\": \"string\",\n            \"x\": 0,\n            \"y\": 0\n          }\n        ],\n        \"dimensions\": {\n          \"width\": 0,\n          \"height\": 0\n        }\n      }\n    }\n  ],\n  \"videos\": [\n    {\n      \"url\": \"string\",\n      \"thumbnailUrl\": \"string\",\n      \"metadata\": {\n        \"thumbnailOffset\": 0,\n        \"title\": \"string\"\n      }\n    }\n  ],\n  \"documents\": [\n    {\n      \"url\": \"string\",\n      \"title\": \"string\",\n      \"thumbnailUrl\": \"string\"\n    }\n  ],\n  \"link\": {\n    \"url\": \"string\",\n    \"title\": \"string\",\n    \"description\": \"string\",\n    \"thumbnailUrl\": \"string\"\n  }\n}"},{"id":"metadata","type":"object","display":true,"removed":true,"required":false,"displayName":"metadata","defaultMatch":false,"defaultValue":"{\n  \"instagram\": {\n    \"type\": \"story\",\n    \"link\": \"string\",\n    \"geolocation\": {\n      \"id\": \"string\",\n      \"text\": \"string\"\n    },\n    \"shouldShareToFeed\": false,\n    \"stickerFields\": {\n      \"text\": \"string\"\n    }\n  },\n  \"facebook\": {\n    \"type\": \"post\",\n    \"annotations\": [\n      {\n        \"content\": \"string\",\n        \"indices\": [\n          0\n        ],\n        \"text\": \"string\",\n        \"url\": \"string\"\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"linkedin\": {\n    \"annotations\": [\n      {\n        \"id\": \"string\",\n        \"link\": \"string\",\n        \"entity\": \"string\",\n        \"vanityName\": \"string\",\n        \"localizedName\": \"string\",\n        \"start\": 0,\n        \"length\": 0\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"twitter\": {\n    \"retweet\": {\n      \"id\": \"string\"\n    },\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ]\n  },\n  \"pinterest\": {\n    \"title\": \"string\",\n    \"url\": \"string\",\n    \"boardServiceId\": \"string\"\n  },\n  \"google\": {\n    \"type\": \"event\",\n    \"title\": \"string\",\n    \"detailsOffer\": {\n      \"title\": \"string\",\n      \"startDate\": \"string\",\n      \"endDate\": \"string\",\n      \"code\": \"string\",\n      \"link\": \"string\",\n      \"terms\": \"string\"\n    },\n    \"detailsEvent\": {\n      \"title\": \"string\",\n      \"startDate\": \"string\",\n      \"endDate\": \"string\",\n      \"isFullDayEvent\": false,\n      \"button\": \"none\",\n      \"link\": \"string\"\n    },\n    \"detailsWhatsNew\": {\n      \"button\": \"none\",\n      \"link\": \"string\"\n    }\n  },\n  \"youtube\": {\n    \"title\": \"string\",\n    \"categoryId\": \"string\",\n    \"privacy\": \"public\",\n    \"license\": \"youtube\",\n    \"notifySubscribers\": false,\n    \"embeddable\": false,\n    \"madeForKids\": false\n  },\n  \"mastodon\": {\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"spoilerText\": \"string\"\n  },\n  \"startPage\": {\n    \"link\": \"string\"\n  },\n  \"threads\": {\n    \"type\": \"post\",\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    },\n    \"topic\": \"string\",\n    \"locationId\": \"string\",\n    \"locationName\": \"string\"\n  },\n  \"bluesky\": {\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"tiktok\": {\n    \"title\": \"string\"\n  }\n}"},{"id":"saveToDraft","type":"boolean","display":true,"removed":true,"required":false,"displayName":"saveToDraft","defaultMatch":false},{"id":"ideaId","type":"string","display":true,"removed":true,"required":false,"displayName":"ideaId","defaultMatch":false},{"id":"draftId","type":"string","display":true,"removed":true,"required":false,"displayName":"draftId","defaultMatch":false}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false},"endpointUrl":"https://mcp.buffer.com/mcp","authentication":"bearerAuth"},"credentials":{"httpBearerAuth":{"id":"AglYDJrKfpDr2tf3","name":"Buffer Karoafigo"}},"typeVersion":1},{"id":"8fb3c429-59bc-4cbe-bc99-35dfe2e73088","name":"Get Used Trends","type":"n8n-nodes-base.dataTable","position":[896,-1840],"parameters":{"operation":"get","returnAll":true,"dataTableId":{"__rl":true,"mode":"list","value":"yJnzJvRdKazvvCuY","cachedResultUrl":"/projects/vXqhDNlXbSeCxe2L/datatables/yJnzJvRdKazvvCuY","cachedResultName":"trend_table"}},"typeVersion":1.1,"alwaysOutputData":true},{"id":"b14475e9-6542-4ca7-95c2-c45bd09989d6","name":"Insert row","type":"n8n-nodes-base.dataTable","position":[4192,-1520],"parameters":{"columns":{"value":{"date":"={{ $json.usedAt }}","trend":"={{ $json.trend }}"},"schema":[{"id":"trend","type":"string","display":true,"removed":false,"readOnly":false,"required":false,"displayName":"trend","defaultMatch":false},{"id":"date","type":"string","display":true,"removed":false,"readOnly":false,"required":false,"displayName":"date","defaultMatch":false}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"dataTableId":{"__rl":true,"mode":"list","value":"yJnzJvRdKazvvCuY","cachedResultUrl":"/projects/vXqhDNlXbSeCxe2L/datatables/yJnzJvRdKazvvCuY","cachedResultName":"trend_table"}},"typeVersion":1.1},{"id":"0146a270-3383-4c1e-8100-dcefdfb27df9","name":"Code in JavaScript1","type":"n8n-nodes-base.code","position":[4032,-1520],"parameters":{"jsCode":"// Get the current trend from the loop (passed through Loop Over Items)\nconst currentTrend = $('Loop Over Items').item.json.trend;\n\nreturn [{\n  json: {\n    trend: currentTrend,\n    tweet: $input.first().json.content[0].text.text,\n    usedAt: new Date().toISOString()\n  }\n}];"},"typeVersion":2},{"id":"1e08bfc3-d2d4-4e6f-a930-f9e4b7e77413","name":"Loop Over Items","type":"n8n-nodes-base.splitInBatches","position":[2432,-1840],"parameters":{"options":{}},"typeVersion":3},{"id":"e9365fd5-5900-4d81-82e4-f9dde02e59d5","name":"Replace Me","type":"n8n-nodes-base.noOp","position":[2608,-1344],"parameters":{},"placeholder":true,"typeVersion":1},{"id":"d17261f1-4db9-4dbf-83c7-f4a0622faa26","name":"Run an Actor and get dataset1","type":"@apify/n8n-nodes-apify.apify","onError":"continueRegularOutput","position":[-1936,-1824],"parameters":{"actorId":{"__rl":true,"mode":"list","value":"VPeCKacMZL2Lgem5t","cachedResultUrl":"https://console.apify.com/actors/VPeCKacMZL2Lgem5t/input","cachedResultName":"Twitter Trending Topics Scraper 🌎 (easyapi/twitter-trending-topics-scraper)"},"operation":"Run actor and get dataset","customBody":"{\n    \"country\": \"nigeria\",\n    \"proxyConfiguration\": {\n        \"useApifyProxy\": false\n    }\n}"},"credentials":{"apifyApi":{"id":"UfAkRL9RXYRUogkv","name":"Apify account 2"}},"typeVersion":1},{"id":"89290157-aa85-4e8c-be76-ae7059c4a63d","name":"Schedule Trigger1","type":"n8n-nodes-base.scheduleTrigger","position":[-3056,-1984],"parameters":{"rule":{"interval":[{"field":"cronExpression","expression":"=0 8,12,16 * * *"}]}},"typeVersion":1.3},{"id":"e83f48f4-72cd-4f6d-9a8b-a7e93c3634c1","name":"Get Daily x trends1","type":"@n8n/n8n-nodes-langchain.googleGemini","onError":"continueErrorOutput","position":[-944,-1696],"parameters":{"modelId":{"__rl":true,"mode":"list","value":"models/gemini-2.5-flash","cachedResultName":"models/gemini-2.5-flash"},"options":{},"messages":{"values":[{"content":"pull today Nigeria specific trends of https://x.com/explore from to various third party trend tracking sites on search. Only output the trend words or phrases themselves, one per line. \n- Do NOT include descriptions, explanations, hashtags about other things, or any extra text. \n- Include both hashtags and plain words if trending, if none for x.com trends, get trends of other social media or google search or google trending. \n- Output format example:\n\nTrend1\nTrend2\nTrend3\n..."}]},"builtInTools":{"urlContext":false,"googleSearch":true}},"credentials":{"googlePalmApi":{"id":"tBYdgG6WSU3D7RKn","name":"Google Gemini(PaLM) Api account"}},"typeVersion":1.1,"alwaysOutputData":true},{"id":"a7910585-766e-44ee-bc83-4a53f58e86e4","name":"Run an Actor and get dataset2","type":"@apify/n8n-nodes-apify.apify","onError":"continueRegularOutput","position":[-2816,-1984],"parameters":{"actorId":{"__rl":true,"mode":"list","value":"VPeCKacMZL2Lgem5t","cachedResultUrl":"https://console.apify.com/actors/VPeCKacMZL2Lgem5t/input","cachedResultName":"Twitter Trending Topics Scraper 🌎 (easyapi/twitter-trending-topics-scraper)"},"operation":"Run actor and get dataset","customBody":"{\n    \"country\": \"nigeria\",\n    \"proxyConfiguration\": {\n        \"useApifyProxy\": false\n    }\n}"},"credentials":{"apifyApi":{"id":"meMEa6Gz5GM0Xbk0","name":"Apify account"}},"typeVersion":1},{"id":"29943589-0da1-41cc-a25a-aa82c66ed1c9","name":"Extract Trends3","type":"n8n-nodes-base.code","onError":"continueRegularOutput","position":[-2576,-1984],"parameters":{"jsCode":"const items = $input.all();\n\n// Check for Apify error\nconst firstItem = items[0]?.json;\nif (!firstItem || firstItem.error) {\n  return [{ json: { success: false, error: firstItem?.error || \"No data received\" } }];\n}\n\nconst trends = items.flatMap(item => {\n  const data = item.json;\n  const records = Array.isArray(data) ? data : [data];\n  return records.map(record => ({\n    json: { trend: record.title }\n  }));\n});\n\n// Check if trends are actually empty or titles are missing\nif (trends.length === 0 || trends.every(t => !t.json.trend)) {\n  return [{ json: { success: false, error: \"No valid trend data found\" } }];\n}\n\nreturn [{ json: { success: true, trends } }];"},"typeVersion":2},{"id":"d16ce625-5e2e-468b-8171-14a8aded9eb2","name":"If3","type":"n8n-nodes-base.if","position":[-2288,-1984],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"163328ab-270c-4abe-a261-1c5acce7acb8","operator":{"type":"boolean","operation":"true","singleValue":true},"leftValue":"={{ $json.success }}","rightValue":0}]}},"typeVersion":2.3},{"id":"d8b5220d-1fa0-41fc-b305-7a0583baf917","name":"Extract Trends4","type":"n8n-nodes-base.code","position":[-288,-1648],"parameters":{"jsCode":"// Get the text from AI node\nconst text = $json[\"content\"]?.parts?.[0]?.text;\n\nif (!text) {\n    throw new Error(\"AI output not found. Check the node name or output structure.\");\n}\n\n// Split by newlines, trim each line, and remove empty lines\nconst trends = text\n    .split('\\n')\n    .map(t => t.trim())\n    .filter(Boolean);\n\n// Return as a single item\nreturn [{ json: { trends } }];"},"typeVersion":2},{"id":"ad183f7f-e735-4b63-9aa3-a6bb429a36bb","name":"Extract Trends5","type":"n8n-nodes-base.code","onError":"continueRegularOutput","position":[-1552,-1824],"parameters":{"jsCode":"const items = $input.all();\n\n// Check for Apify error\nconst firstItem = items[0]?.json;\nif (!firstItem || firstItem.error) {\n  return [{ json: { success: false, error: firstItem?.error || \"No data received\" } }];\n}\n\nconst trends = items.flatMap(item => {\n  const data = item.json;\n  const records = Array.isArray(data) ? data : [data];\n  return records.map(record => ({\n    json: { trend: record.title }\n  }));\n});\n\n// Check if trends are actually empty or titles are missing\nif (trends.length === 0 || trends.every(t => !t.json.trend)) {\n  return [{ json: { success: false, error: \"No valid trend data found\" } }];\n}\n\nreturn [{ json: { success: true, trends } }];"},"typeVersion":2},{"id":"e4e56b6c-22e4-47f1-aa04-d1279b194ad3","name":"If4","type":"n8n-nodes-base.if","position":[-1136,-1824],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"163328ab-270c-4abe-a261-1c5acce7acb8","operator":{"type":"boolean","operation":"true","singleValue":true},"leftValue":"={{ $json.success }}","rightValue":0}]}},"typeVersion":2.3},{"id":"9591ce41-2b93-47e2-b182-197839b96baf","name":"Split Trend","type":"n8n-nodes-base.code","position":[-128,-1648],"parameters":{"jsCode":"const trends = $json.trends;\n\nreturn trends.map(trend => ({\n  json: { trend }\n}));"},"typeVersion":2},{"id":"2624f48b-6358-4639-98e2-a8e99c56bf0e","name":"Split Trend Apify","type":"n8n-nodes-base.code","position":[-368,-2000],"parameters":{"jsCode":"const trends = $json.trends;\n\nreturn trends.map(trend => ({\n  json: { trend }\n}));"},"typeVersion":2},{"id":"508308fc-ba02-4297-98f7-efe1ae1800c1","name":"Split Trend1","type":"n8n-nodes-base.merge","position":[192,-1664],"parameters":{},"typeVersion":3.2},{"id":"ee0dcb80-70d0-4158-bf83-a94ad0df2a21","name":"facebook post","type":"@n8n/n8n-nodes-langchain.mcpClient","notes":"Twiiter Auto post","position":[3824,-1712],"parameters":{"tool":{"__rl":true,"mode":"list","value":"create_post","cachedResultName":"create_post"},"options":{},"parameters":{"value":{"text":"={{ $('Extract Tweet Text').item.json.tweet }}","metadata":"{\n \n  \"facebook\": {\n    \"type\": \"post\"\n  }\n}","channelId":"690c55cb5bd637c1835edc4d","schedulingType":"automatic"},"schema":[{"id":"channelId","type":"string","display":true,"removed":false,"required":true,"displayName":"channelId","defaultMatch":false},{"id":"schedulingType","type":"options","display":true,"options":[{"name":"notification","value":"notification"},{"name":"automatic","value":"automatic"}],"removed":false,"required":true,"displayName":"schedulingType","defaultMatch":false},{"id":"mode","type":"options","display":true,"options":[{"name":"addToQueue","value":"addToQueue"},{"name":"shareNow","value":"shareNow"},{"name":"shareNext","value":"shareNext"},{"name":"customScheduled","value":"customScheduled"},{"name":"recommendedTime","value":"recommendedTime"}],"removed":true,"required":false,"displayName":"mode","defaultMatch":false},{"id":"text","type":"string","display":true,"removed":false,"required":false,"displayName":"text","defaultMatch":false},{"id":"dueAt","type":"string","display":true,"removed":true,"required":false,"displayName":"dueAt","defaultMatch":false},{"id":"tagIds","type":"array","display":true,"removed":true,"required":false,"displayName":"tagIds","defaultMatch":false,"defaultValue":"[\n  \"string\"\n]"},{"id":"assets","type":"object","display":true,"removed":true,"required":false,"displayName":"assets","defaultMatch":false,"defaultValue":"{\n  \"images\": [\n    {\n      \"url\": \"string\",\n      \"thumbnailUrl\": \"string\",\n      \"metadata\": {\n        \"altText\": \"string\",\n        \"animatedThumbnail\": \"string\",\n        \"userTags\": [\n          {\n            \"handle\": \"string\",\n            \"x\": 0,\n            \"y\": 0\n          }\n        ],\n        \"dimensions\": {\n          \"width\": 0,\n          \"height\": 0\n        }\n      }\n    }\n  ],\n  \"videos\": [\n    {\n      \"url\": \"string\",\n      \"thumbnailUrl\": \"string\",\n      \"metadata\": {\n        \"thumbnailOffset\": 0,\n        \"title\": \"string\"\n      }\n    }\n  ],\n  \"documents\": [\n    {\n      \"url\": \"string\",\n      \"title\": \"string\",\n      \"thumbnailUrl\": \"string\"\n    }\n  ],\n  \"link\": {\n    \"url\": \"string\",\n    \"title\": \"string\",\n    \"description\": \"string\",\n    \"thumbnailUrl\": \"string\"\n  }\n}"},{"id":"metadata","type":"object","display":true,"removed":false,"required":false,"displayName":"metadata","defaultMatch":false,"defaultValue":"{\n  \"instagram\": {\n    \"type\": \"story\",\n    \"link\": \"string\",\n    \"geolocation\": {\n      \"id\": \"string\",\n      \"text\": \"string\"\n    },\n    \"shouldShareToFeed\": false,\n    \"stickerFields\": {\n      \"text\": \"string\"\n    }\n  },\n  \"facebook\": {\n    \"type\": \"post\",\n    \"annotations\": [\n      {\n        \"content\": \"string\",\n        \"indices\": [\n          0\n        ],\n        \"text\": \"string\",\n        \"url\": \"string\"\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"linkedin\": {\n    \"annotations\": [\n      {\n        \"id\": \"string\",\n        \"link\": \"string\",\n        \"entity\": \"string\",\n        \"vanityName\": \"string\",\n        \"localizedName\": \"string\",\n        \"start\": 0,\n        \"length\": 0\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"twitter\": {\n    \"retweet\": {\n      \"id\": \"string\"\n    },\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ]\n  },\n  \"pinterest\": {\n    \"title\": \"string\",\n    \"url\": \"string\",\n    \"boardServiceId\": \"string\"\n  },\n  \"google\": {\n    \"type\": \"event\",\n    \"title\": \"string\",\n    \"detailsOffer\": {\n      \"title\": \"string\",\n      \"startDate\": \"string\",\n      \"endDate\": \"string\",\n      \"code\": \"string\",\n      \"link\": \"string\",\n      \"terms\": \"string\"\n    },\n    \"detailsEvent\": {\n      \"title\": \"string\",\n      \"startDate\": \"string\",\n      \"endDate\": \"string\",\n      \"isFullDayEvent\": false,\n      \"button\": \"none\",\n      \"link\": \"string\"\n    },\n    \"detailsWhatsNew\": {\n      \"button\": \"none\",\n      \"link\": \"string\"\n    }\n  },\n  \"youtube\": {\n    \"title\": \"string\",\n    \"categoryId\": \"string\",\n    \"privacy\": \"public\",\n    \"license\": \"youtube\",\n    \"notifySubscribers\": false,\n    \"embeddable\": false,\n    \"madeForKids\": false\n  },\n  \"mastodon\": {\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"spoilerText\": \"string\"\n  },\n  \"startPage\": {\n    \"link\": \"string\"\n  },\n  \"threads\": {\n    \"type\": \"post\",\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    },\n    \"topic\": \"string\",\n    \"locationId\": \"string\",\n    \"locationName\": \"string\"\n  },\n  \"bluesky\": {\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"tiktok\": {\n    \"title\": \"string\"\n  }\n}"},{"id":"saveToDraft","type":"boolean","display":true,"removed":true,"required":false,"displayName":"saveToDraft","defaultMatch":false},{"id":"ideaId","type":"string","display":true,"removed":true,"required":false,"displayName":"ideaId","defaultMatch":false},{"id":"draftId","type":"string","display":true,"removed":true,"required":false,"displayName":"draftId","defaultMatch":false}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false},"endpointUrl":"https://mcp.buffer.com/mcp","authentication":"bearerAuth"},"credentials":{"httpBearerAuth":{"id":"Jaff8m6YJPHaSEkW","name":"SamPidiablog Buffer"}},"typeVersion":1},{"id":"80137244-c643-428b-a370-844362f87f18","name":"Thread post","type":"@n8n/n8n-nodes-langchain.mcpClient","notes":"Twiiter Auto post","position":[3824,-1936],"parameters":{"tool":{"__rl":true,"mode":"list","value":"create_post","cachedResultName":"create_post"},"options":{},"parameters":{"value":{"text":"={{ $('Extract Tweet Text').item.json.tweet }}","channelId":"69d3b3f4031bfa423cd55a9f","schedulingType":"automatic"},"schema":[{"id":"channelId","type":"string","display":true,"removed":false,"required":true,"displayName":"channelId","defaultMatch":false},{"id":"schedulingType","type":"options","display":true,"options":[{"name":"notification","value":"notification"},{"name":"automatic","value":"automatic"}],"removed":false,"required":true,"displayName":"schedulingType","defaultMatch":false},{"id":"mode","type":"options","display":true,"options":[{"name":"addToQueue","value":"addToQueue"},{"name":"shareNow","value":"shareNow"},{"name":"shareNext","value":"shareNext"},{"name":"customScheduled","value":"customScheduled"},{"name":"recommendedTime","value":"recommendedTime"}],"removed":true,"required":false,"displayName":"mode","defaultMatch":false},{"id":"text","type":"string","display":true,"removed":false,"required":false,"displayName":"text","defaultMatch":false},{"id":"dueAt","type":"string","display":true,"removed":true,"required":false,"displayName":"dueAt","defaultMatch":false},{"id":"tagIds","type":"array","display":true,"removed":true,"required":false,"displayName":"tagIds","defaultMatch":false,"defaultValue":"[\n  \"string\"\n]"},{"id":"assets","type":"object","display":true,"removed":true,"required":false,"displayName":"assets","defaultMatch":false,"defaultValue":"{\n  \"images\": [\n    {\n      \"url\": \"string\",\n      \"thumbnailUrl\": \"string\",\n      \"metadata\": {\n        \"altText\": \"string\",\n        \"animatedThumbnail\": \"string\",\n        \"userTags\": [\n          {\n            \"handle\": \"string\",\n            \"x\": 0,\n            \"y\": 0\n          }\n        ],\n        \"dimensions\": {\n          \"width\": 0,\n          \"height\": 0\n        }\n      }\n    }\n  ],\n  \"videos\": [\n    {\n      \"url\": \"string\",\n      \"thumbnailUrl\": \"string\",\n      \"metadata\": {\n        \"thumbnailOffset\": 0,\n        \"title\": \"string\"\n      }\n    }\n  ],\n  \"documents\": [\n    {\n      \"url\": \"string\",\n      \"title\": \"string\",\n      \"thumbnailUrl\": \"string\"\n    }\n  ],\n  \"link\": {\n    \"url\": \"string\",\n    \"title\": \"string\",\n    \"description\": \"string\",\n    \"thumbnailUrl\": \"string\"\n  }\n}"},{"id":"metadata","type":"object","display":true,"removed":true,"required":false,"displayName":"metadata","defaultMatch":false,"defaultValue":"{\n  \"instagram\": {\n    \"type\": \"story\",\n    \"link\": \"string\",\n    \"geolocation\": {\n      \"id\": \"string\",\n      \"text\": \"string\"\n    },\n    \"shouldShareToFeed\": false,\n    \"stickerFields\": {\n      \"text\": \"string\"\n    }\n  },\n  \"facebook\": {\n    \"type\": \"post\",\n    \"annotations\": [\n      {\n        \"content\": \"string\",\n        \"indices\": [\n          0\n        ],\n        \"text\": \"string\",\n        \"url\": \"string\"\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"linkedin\": {\n    \"annotations\": [\n      {\n        \"id\": \"string\",\n        \"link\": \"string\",\n        \"entity\": \"string\",\n        \"vanityName\": \"string\",\n        \"localizedName\": \"string\",\n        \"start\": 0,\n        \"length\": 0\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"twitter\": {\n    \"retweet\": {\n      \"id\": \"string\"\n    },\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ]\n  },\n  \"pinterest\": {\n    \"title\": \"string\",\n    \"url\": \"string\",\n    \"boardServiceId\": \"string\"\n  },\n  \"google\": {\n    \"type\": \"event\",\n    \"title\": \"string\",\n    \"detailsOffer\": {\n      \"title\": \"string\",\n      \"startDate\": \"string\",\n      \"endDate\": \"string\",\n      \"code\": \"string\",\n      \"link\": \"string\",\n      \"terms\": \"string\"\n    },\n    \"detailsEvent\": {\n      \"title\": \"string\",\n      \"startDate\": \"string\",\n      \"endDate\": \"string\",\n      \"isFullDayEvent\": false,\n      \"button\": \"none\",\n      \"link\": \"string\"\n    },\n    \"detailsWhatsNew\": {\n      \"button\": \"none\",\n      \"link\": \"string\"\n    }\n  },\n  \"youtube\": {\n    \"title\": \"string\",\n    \"categoryId\": \"string\",\n    \"privacy\": \"public\",\n    \"license\": \"youtube\",\n    \"notifySubscribers\": false,\n    \"embeddable\": false,\n    \"madeForKids\": false\n  },\n  \"mastodon\": {\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"spoilerText\": \"string\"\n  },\n  \"startPage\": {\n    \"link\": \"string\"\n  },\n  \"threads\": {\n    \"type\": \"post\",\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    },\n    \"topic\": \"string\",\n    \"locationId\": \"string\",\n    \"locationName\": \"string\"\n  },\n  \"bluesky\": {\n    \"thread\": [\n      {\n        \"text\": \"string\",\n        \"assets\": {\n          \"images\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"altText\": \"string\",\n                \"animatedThumbnail\": \"string\",\n                \"userTags\": [\n                  {\n                    \"handle\": \"string\",\n                    \"x\": 0,\n                    \"y\": 0\n                  }\n                ],\n                \"dimensions\": {\n                  \"width\": 0,\n                  \"height\": 0\n                }\n              }\n            }\n          ],\n          \"videos\": [\n            {\n              \"url\": \"string\",\n              \"thumbnailUrl\": \"string\",\n              \"metadata\": {\n                \"thumbnailOffset\": 0,\n                \"title\": \"string\"\n              }\n            }\n          ],\n          \"documents\": [\n            {\n              \"url\": \"string\",\n              \"title\": \"string\",\n              \"thumbnailUrl\": \"string\"\n            }\n          ],\n          \"link\": {\n            \"url\": \"string\",\n            \"title\": \"string\",\n            \"description\": \"string\",\n            \"thumbnailUrl\": \"string\"\n          }\n        }\n      }\n    ],\n    \"linkAttachment\": {\n      \"url\": \"string\"\n    }\n  },\n  \"tiktok\": {\n    \"title\": \"string\"\n  }\n}"},{"id":"saveToDraft","type":"boolean","display":true,"removed":true,"required":false,"displayName":"saveToDraft","defaultMatch":false},{"id":"ideaId","type":"string","display":true,"removed":true,"required":false,"displayName":"ideaId","defaultMatch":false},{"id":"draftId","type":"string","display":true,"removed":true,"required":false,"displayName":"draftId","defaultMatch":false}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false},"endpointUrl":"https://mcp.buffer.com/mcp","authentication":"bearerAuth"},"credentials":{"httpBearerAuth":{"id":"Jaff8m6YJPHaSEkW","name":"SamPidiablog Buffer"}},"typeVersion":1},{"id":"b29a84a4-438d-4430-acd3-7b4dbe2a447e","name":"Extract Tweet Text","type":"n8n-nodes-base.code","position":[3424,-1872],"parameters":{"jsCode":"const content = $json.content;\n\n// Handle direct text response\nif (content?.parts?.[0]?.text) {\n  return [{ json: { tweet: content.parts[0].text } }];\n}\n\n// Handle when Gemini used a tool/function call - text may be in a different part\nif (Array.isArray(content?.parts)) {\n  const textPart = content.parts.find(p => p.text);\n  if (textPart) {\n    return [{ json: { tweet: textPart.text } }];\n  }\n}\n\n// Fallback: check candidates structure (some Gemini versions return this)\nif ($json.candidates?.[0]?.content?.parts?.[0]?.text) {\n  return [{ json: { tweet: $json.candidates[0].content.parts[0].text } }];\n}\n\nthrow new Error('Could not extract tweet text from Gemini response. Raw: ' + JSON.stringify($json).slice(0, 300));"},"typeVersion":2},{"id":"1d8d3e58-f5b9-43e3-ba15-c5030b430cf4","name":"Generate Tweet (HTTP Fallback)","type":"n8n-nodes-base.httpRequest","position":[3280,-1696],"parameters":{"url":"=https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent","method":"POST","options":{},"jsonBody":"={\n  \"contents\": [\n    {\n      \"role\": \"user\",\n      \"parts\": [\n        {\n          \"text\": \"=Based on what you know about the current real-world context of this trending topic: '{{ $json.trend }}', generate a complete, ready-to-post tweet. Use pidgin + casual tone, react to recent events around the trend. Rules: only one tweet, no **, no newlines, no incomplete sentences, must be a complete thought, maximum 275 characters. Output only the tweet text, nothing else.\"\n        }\n      ]\n    }\n  ],\n  \"generationConfig\": {\n    \"maxOutputTokens\": 1024,\n    \"stopSequences\": []\n  }\n}","sendBody":true,"sendHeaders":true,"specifyBody":"json","authentication":"predefinedCredentialType","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]},"nodeCredentialType":"googlePalmApi"},"credentials":{"googlePalmApi":{"id":"tBYdgG6WSU3D7RKn","name":"Google Gemini(PaLM) Api account"}},"typeVersion":4.4},{"id":"e3695a90-e841-4e34-9617-1d9417eb409e","name":"Gemini Success","type":"n8n-nodes-base.if","position":[3120,-1856],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"cc9b1349-c799-4ad9-94b8-55f2c31135a4","operator":{"type":"string","operation":"notEmpty","singleValue":true},"leftValue":"=={{ $json.content.parts[0].text }}","rightValue":""}]}},"typeVersion":2.3},{"id":"bafe9db4-a8b6-4505-8593-6718078ce0f3","name":"Generate Tweet (HTTP Fallback)1","type":"n8n-nodes-base.httpRequest","position":[-464,-1376],"parameters":{"url":"=https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent","method":"POST","options":{},"jsonBody":"={\n  \"contents\": [\n    {\n      \"role\": \"user\",\n      \"parts\": [\n        {\n          \"text\": \"pull today or recent Nigeria specific trends of https://x.com/ from to various trend tracking sites on google search, if none search for other trending trends of other social media or google trending.List ONLY current or recent Nigeria trending topics.\\n\\nRules:\\n- Output ONLY the trend words or phrases.\\n- One trend per line.\\n- No explanations, no numbering, no bullets, no extra text.\\n- Do not add anything before or after the list.\\n- Include hashtags if they are part of the trend.\\n- If no Nigeria trends are found, return general global trends.\\n\\nOutput example:\\nTrend1\\nTrend2\\nTrend3\"\n        }\n      ]\n    }\n  ],\n  \"generationConfig\": {\n    \"maxOutputTokens\": 512,\n    \"temperature\": 0.2,\n    \"stopSequences\": [\"\\n\\n\"]\n  }\n}","sendBody":true,"sendHeaders":true,"specifyBody":"json","authentication":"predefinedCredentialType","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]},"nodeCredentialType":"googlePalmApi"},"credentials":{"googlePalmApi":{"id":"tBYdgG6WSU3D7RKn","name":"Google Gemini(PaLM) Api account"}},"typeVersion":4.4},{"id":"63d55a1b-fa33-4fdd-b71d-2d00613239fc","name":"Gemini Success1","type":"n8n-nodes-base.if","position":[-512,-1632],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"cc9b1349-c799-4ad9-94b8-55f2c31135a4","operator":{"type":"string","operation":"notEmpty","singleValue":true},"leftValue":"={{$json[\"content\"][\"parts\"][0][\"text\"]}}","rightValue":""}]}},"typeVersion":2.3},{"id":"2a908938-23bc-4e76-99a8-7d58593f9f92","name":"Code in JavaScript","type":"n8n-nodes-base.code","position":[1104,-1840],"parameters":{"jsCode":"const items = $input.all();\n\n// Log everything raw\nconsole.log(\"Total rows in table:\", items.length);\n\nitems.forEach((item, i) => {\n  const raw = item.json;\n  console.log(`Row ${i}:`, JSON.stringify(raw));\n  \n  const dateVal = raw.date;\n  console.log(`Row ${i} date raw value:`, dateVal);\n  console.log(`Row ${i} date type:`, typeof dateVal);\n  \n  const parsed = new Date(dateVal);\n  console.log(`Row ${i} date parsed:`, parsed.toString());\n  console.log(`Row ${i} isNaN:`, isNaN(parsed.getTime()));\n  \n  if (!isNaN(parsed.getTime())) {\n    const ageHours = (new Date() - parsed) / (1000 * 60 * 60);\n    console.log(`Row ${i} age in hours:`, ageHours.toFixed(2));\n  }\n});\n\nreturn items;"},"typeVersion":2},{"id":"1c9ad680-1fb2-4f17-bdef-915d1958733c","name":"📋 Workflow Overview","type":"n8n-nodes-base.stickyNote","position":[-3936,-2208],"parameters":{"color":4,"width":780,"height":1080,"content":"## Auto-Generate Trending X, Facebook & Thread Posts (Apify + Gemini + Buffer)\n\n**What this workflow does:**\nEvery day at 8:00am, 12:30pm, and 4:30pm it:\n1. Scrapes Nigeria's trending X topics via Apify\n2. Falls back to Gemini AI search if Apify fails\n3. Filters out trends used in the last 24h (deduplication)\n4. Picks the top 2 unused trends\n5. Generates a pidgin-language tweet per trend using Gemini 2.5 Flash\n6. Posts tweet to X and posts to thread and facebook via Buffer MCP\n\n---\n### 🔧 Setup Required\n- **Apify** – Connect your Apify API credential\n- **Google Gemini** – Connect your Google AI (Gemini) credential\n- **Buffer** – Connect your Buffer Bearer Token credential and set your Channel ID in the `Post to X, thread, and facebook via Buffer` node\n- **Data Table** – The `trend_table` Data Table must exist in your n8n project (run `Create a data table` once manually, then disable it)\n\n---\n### ⚙️ Customization\n- Change the `country` in the Apify nodes to scrape trends for a different country\n- Edit the tweet prompt in `Generate Tweet with Gemini` to change tone/language/style\n-  Adjust the schedule in `Schedule Trigger` (currently 3x/day)"},"typeVersion":1},{"id":"880950a5-960e-4078-b78b-fd86f97c18f7","name":"Section: Trend Fetching","type":"n8n-nodes-base.stickyNote","position":[-3088,-2208],"parameters":{"color":7,"width":3492,"height":1068,"content":"### 1️⃣ Fetch Nigeria Trends\nApify scrapes X trending topics for Nigeria.\nIf both Apify fails or returns no data, falls back to Gemini AI search.\nBoth paths merge at `Split Trend1`"},"typeVersion":1},{"id":"5d4074a8-4d9a-4a1b-9bc0-e4b6c6f31ce6","name":"Section: Deduplication","type":"n8n-nodes-base.stickyNote","position":[480,-2208],"parameters":{"color":7,"width":1500,"height":1076,"content":"### 2️⃣ Deduplication\nReads already-used trends from the `trend_table` Data Table.\nFilters out any trend used in the **last 24 hours**.\nThen picks top 2  trends from what's left."},"typeVersion":1},{"id":"0d4c29be-ef03-4e5d-a711-c99194446098","name":"Data Table Setup Tip","type":"n8n-nodes-base.stickyNote","position":[1008,-2192],"parameters":{"color":5,"width":380,"height":140,"content":"🛠️ **One-time setup:**\nRun `Create a data table` manually once to create the `trend_table`.\nThen **disable** that node — it only needs to run once."},"typeVersion":1},{"id":"8f8276ce-39f3-40cf-ab4b-1c68cdb92fe2","name":"Data Table Setup Tip1","type":"n8n-nodes-base.stickyNote","position":[1472,-2192],"parameters":{"color":5,"width":380,"height":140,"content":"🛠️ **Numbers of tweets per cycle setup :**\nAt Pick Trend Node. At \"const picked = items.slice(0, 1);\n\nChange 1 to the number of tweets you want per cycle **i.e if you want 5 tweets per cycle, change 1 to 5**."},"typeVersion":1},{"id":"8a5e9a26-91ab-4ac7-a23d-378f81fa01c2","name":"Section: Generation & Posting","type":"n8n-nodes-base.stickyNote","position":[2176,-2208],"parameters":{"color":7,"width":2756,"height":1092,"content":"### 3️⃣ Generate Tweet or Post loops per trend\nFor each picked trend:\n- Gemini generates a pidgin-English tweet (≤275 chars)\n- Tweet or post are posted to X or facebook or thread or all via Buffer MCP\n- Trend saved to `trend_table` to prevent reuse"},"typeVersion":1},{"id":"c19ecdbe-caba-43db-a326-c3b47c82e115","name":"⚠️ HuggingFace Setup1","type":"n8n-nodes-base.stickyNote","position":[2768,-2192],"parameters":{"color":3,"width":400,"content":"⚠️ **Gemini Credential Required**\nCreate a new **Google PaLM API** credential in n8n with your Gemini API token and select it in Generate Tweet with Gemini and  Generate Tweet (HTTP Fallback) node.\n\nDo NOT paste the token directly in node parameters."},"typeVersion":1},{"id":"9185328a-fa93-4969-b8b2-b9d528a2d88b","name":"⚠️ Buffer Channel ID","type":"n8n-nodes-base.stickyNote","position":[3200,-2192],"parameters":{"color":3,"width":400,"content":"📌 **Buffer Setup**\nCreate a new **Bearer AuthI** credential in n8n with your Buffer API token and Replace `YOUR_BUFFER_CHANNEL_ID` in this node with your actual Buffer channel ID for your X (Twitter) account.\n\nFind it in your Buffer dashboard → Channel Settings."},"typeVersion":1}],"active":true,"pinData":{},"settings":{"timezone":"Africa/Lagos","binaryMode":"separate","callerPolicy":"workflowsFromSameOwner","errorWorkflow":"D46DQsXHQKUYniLC","timeSavedMode":"fixed","availableInMCP":true,"executionOrder":"v1"},"versionId":"cfe59c0b-ec1d-44ea-a283-aac8f77a445c","connections":{"If3":{"main":[[{"node":"Split Trend Apify","type":"main","index":0}],[{"node":"Run an Actor and get dataset1","type":"main","index":0}]]},"If4":{"main":[[{"node":"Split Trend Apify","type":"main","index":0}],[{"node":"Get Daily x trends1","type":"main","index":0}]]},"trend ":{"main":[[{"node":"Gemini Success","type":"main","index":0}],[{"node":"Generate Tweet (HTTP Fallback)","type":"main","index":0}]]},"Pick Trend":{"main":[[{"node":"Loop Over Items","type":"main","index":0}]]},"Replace Me":{"main":[[{"node":"Loop Over Items","type":"main","index":0}]]},"Split Trend":{"main":[[{"node":"Split Trend1","type":"main","index":1}]]},"Split Trend1":{"main":[[{"node":"Create a data table","type":"main","index":0}]]},"Gemini Success":{"main":[[{"node":"Extract Tweet Text","type":"main","index":0}],[{"node":"Generate Tweet (HTTP Fallback)","type":"main","index":0}]]},"Extract Trends3":{"main":[[{"node":"If3","type":"main","index":0}]]},"Extract Trends4":{"main":[[{"node":"Split Trend","type":"main","index":0}]]},"Extract Trends5":{"main":[[{"node":"If4","type":"main","index":0}]]},"Filter Last 24h":{"main":[[{"node":"Remove Used Trends","type":"main","index":0}]]},"Gemini Success1":{"main":[[{"node":"Extract Trends4","type":"main","index":0}],[{"node":"Generate Tweet (HTTP Fallback)1","type":"main","index":0}]]},"Get Used Trends":{"main":[[{"node":"Code in JavaScript","type":"main","index":0}]]},"Loop Over Items":{"main":[[{"node":"trend ","type":"main","index":0}],[{"node":"Replace Me","type":"main","index":0}]]},"Post only tweets":{"main":[[{"node":"Code in JavaScript1","type":"main","index":0}]]},"Schedule Trigger1":{"main":[[{"node":"Run an Actor and get dataset2","type":"main","index":0}]]},"Split Trend Apify":{"main":[[{"node":"Split Trend1","type":"main","index":0}]]},"Code in JavaScript":{"main":[[{"node":"Filter Last 24h","type":"main","index":0}]]},"Extract Tweet Text":{"main":[[{"node":"Thread post","type":"main","index":0},{"node":"facebook post","type":"main","index":0},{"node":"Post only tweets","type":"main","index":0}]]},"Remove Used Trends":{"main":[[{"node":"Pick Trend","type":"main","index":0}]]},"Code in JavaScript1":{"main":[[{"node":"Insert row","type":"main","index":0}]]},"Create a data table":{"main":[[{"node":"Get Used Trends","type":"main","index":0}]]},"Get Daily x trends1":{"main":[[{"node":"Gemini Success1","type":"main","index":0}],[{"node":"Generate Tweet (HTTP Fallback)1","type":"main","index":0}]]},"Run an Actor and get dataset1":{"main":[[{"node":"Extract Trends5","type":"main","index":0}]]},"Run an Actor and get dataset2":{"main":[[{"node":"Extract Trends3","type":"main","index":0}]]},"Generate Tweet (HTTP Fallback)":{"main":[[{"node":"Extract Tweet Text","type":"main","index":0}]]},"Generate Tweet (HTTP Fallback)1":{"main":[[{"node":"Extract Trends4","type":"main","index":0}]]}}},"lastUpdatedBy":1,"workflowInfo":{"nodeCount":39,"nodeTypes":{"n8n-nodes-base.if":{"count":4},"n8n-nodes-base.code":{"count":11},"n8n-nodes-base.noOp":{"count":1},"n8n-nodes-base.merge":{"count":1},"n8n-nodes-base.dataTable":{"count":3},"n8n-nodes-base.stickyNote":{"count":8},"n8n-nodes-base.httpRequest":{"count":2},"@apify/n8n-nodes-apify.apify":{"count":2},"n8n-nodes-base.splitInBatches":{"count":1},"n8n-nodes-base.scheduleTrigger":{"count":1},"@n8n/n8n-nodes-langchain.mcpClient":{"count":3},"@n8n/n8n-nodes-langchain.googleGemini":{"count":2}}},"status":"published","readyToDemo":null,"user":{"name":"Afigo Sam","username":"sampidia","bio":"Helping businesses scale through automation and custom web/mobile apps. 6+ years of expertise. Available for projects and 1-on-1 video consultations.","verified":false,"links":["https://portfolio.sampidia.com/"],"avatar":"https://gravatar.com/avatar/446a810907ad69ce5f47b895775f359774b7eed4f9ba1afdefe2c27859713872?r=pg&d=retro&size=200"},"nodes":[{"id":19,"icon":"file:httprequest.svg","name":"n8n-nodes-base.httpRequest","codex":{"data":{"alias":["API","Request","URL","Build","cURL"],"resources":{"generic":[{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/","icon":"📈","label":"Automatically pulling and visualizing data with n8n"},{"url":"https://n8n.io/blog/learn-how-to-automatically-cross-post-your-content-with-n8n/","icon":"✍️","label":"Learn how to automatically cross-post your content with n8n"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/","icon":"🛳","label":"Running n8n on ships: An interview with Maranics"},{"url":"https://n8n.io/blog/what-are-apis-how-to-use-them-with-no-code/","icon":" 🪢","label":"What are APIs and how to use them with no code"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/world-poetry-day-workflow/","icon":"📜","label":"Celebrating World Poetry Day with a daily poem in Telegram"},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/automate-designs-with-bannerbear-and-n8n/","icon":"🎨","label":"Automate Designs with Bannerbear and n8n"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/","icon":"📱","label":"Building an expense tracking app in 10 minutes"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/how-to-use-the-http-request-node-the-swiss-army-knife-for-workflow-automation/","icon":"🧰","label":"How to use the HTTP Request Node - The Swiss Army Knife for Workflow Automation"},{"url":"https://n8n.io/blog/learn-how-to-use-webhooks-with-mattermost-slash-commands/","icon":"🦄","label":"Learn how to use webhooks with Mattermost slash commands"},{"url":"https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/","icon":"📈","label":"How a Membership Development Manager automates his work and investments"},{"url":"https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/","icon":"📈","label":"A low-code bitcoin ticker built with QuestDB and n8n.io"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/automations-for-activists/","icon":"✨","label":"How Common Knowledge use workflow automation for activism"},{"url":"https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/","icon":"🤟","label":"Creating scheduled text affirmations with n8n"},{"url":"https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/","icon":"🛵","label":"How Goomer automated their operations with over 200 n8n workflows"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"output\"]","defaults":{"name":"HTTP Request","color":"#0004F5"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MCAyMEM0MCA4Ljk1MzE0IDMxLjA0NjkgMCAyMCAwQzguOTUzMTQgMCAwIDguOTUzMTQgMCAyMEMwIDMxLjA0NjkgOC45NTMxNCA0MCAyMCA0MEMzMS4wNDY5IDQwIDQwIDMxLjA0NjkgNDAgMjBaTTIwIDM2Ljk0NThDMTguODg1MiAzNi45NDU4IDE3LjEzNzggMzUuOTY3IDE1LjQ5OTggMzIuNjk4NUMxNC43OTY0IDMxLjI5MTggMTQuMTk2MSAyOS41NDMxIDEzLjc1MjYgMjcuNjg0N0gyNi4xODk4QzI1LjgwNDUgMjkuNTQwMyAyNS4yMDQ0IDMxLjI5MDEgMjQuNTAwMiAzMi42OTg1QzIyLjg2MjIgMzUuOTY3IDIxLjExNDggMzYuOTQ1OCAyMCAzNi45NDU4Wk0xMi45MDY0IDIwQzEyLjkwNjQgMjEuNjA5NyAxMy4wMDg3IDIzLjE2NCAxMy4yMDAzIDI0LjYzMDVIMjYuNzk5N0MyNi45OTEzIDIzLjE2NCAyNy4wOTM2IDIxLjYwOTcgMjcuMDkzNiAyMEMyNy4wOTM2IDE4LjM5MDMgMjYuOTkxMyAxNi44MzYgMjYuNzk5NyAxNS4zNjk1SDEzLjIwMDNDMTMuMDA4NyAxNi44MzYgMTIuOTA2NCAxOC4zOTAzIDEyLjkwNjQgMjBaTTIwIDMuMDU0MTlDMjEuMTE0OSAzLjA1NDE5IDIyLjg2Mj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zc0MyAxNi44NDI1IDMuMDU0MTkgMTguMzk3IDMuMDU0MTkgMjBaTTI2LjI3NjYgMzUuNzQyN0MyNy42MzY1IDMzLjYzOTMgMjguNzExIDMwLjg2OCAyOS4zNzc0IDI3LjY4NDdIMzUuMTA0NkMzMy4yNTEgMzEuMzMyMiAzMC4xMDY4IDM0LjIxNzkgMjYuMjc2NiAzNS43NDI3Wk0xMy43MjM0IDM1Ljc0MjdDOS44OTM2OSAzNC4yMTc5IDYuNzUxNTUgMzEuMzMyNCA0Ljg5MjkzIDI3LjY4NDdIMTAuNjIyNkMxMS4yODkgMzAuODY4IDEyLjM2MzUgMzMuNjM5MyAxMy43MjM0IDM1Ljc0MjdaIiBmaWxsPSIjM0E0MkU5Ii8+Cjwvc3ZnPgo="},"displayName":"HTTP Request","typeVersion":4,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":20,"icon":"fa:map-signs","name":"n8n-nodes-base.if","codex":{"data":{"alias":["Router","Filter","Condition","Logic","Boolean","Branch"],"details":"The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.","resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/","icon":"🔗","label":"How to build a low-code, self-hosted URL shortener in 3 steps"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/","icon":"🧠","label":"Why this Product Manager loves workflow automation with n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.if/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"If","color":"#408000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"If","typeVersion":2,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":24,"icon":"file:merge.svg","name":"n8n-nodes-base.merge","codex":{"data":{"alias":["Join","Concatenate","Wait"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-to-sync-data-between-two-systems/","icon":"🏬","label":"How to synchronize data between two systems (one-way vs. two-way sync"},{"url":"https://n8n.io/blog/supercharging-your-conference-registration-process-with-n8n/","icon":"🎫","label":"Supercharging your conference registration process with n8n"},{"url":"https://n8n.io/blog/migrating-community-metrics-to-orbit-using-n8n/","icon":"📈","label":"Migrating Community Metrics to Orbit using n8n"},{"url":"https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/","icon":"👦","label":"Build your own virtual assistant with n8n: A step by step guide"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.merge/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Merge"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsK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NTIgMTA0SDE2MFYxMTJDMTYwIDEzOC41MSAxMzguNTEgMTYwIDExMiAxNjBINDhDMjEuNDkwMyAxNjAgMCAxMzguNTEgMCAxMTJWNDhaTTEwNCA0OEMxMDguNDE4IDQ4IDExMiA1MS41ODE3IDExMiA1NlYxMDRDMTEyIDEwOC40MTggMTA4LjQxOCAxMTIgMTA0IDExMkg1NkM1MS41ODE3IDExMiA0OCAxMDguNDE4IDQ4IDEwNFY1NkM0OCA1MS41ODE3IDUxLjU4MTcgNDggNTYgNDhIMTA0Wk00NTYgMjI0QzQ2MC40MTggMjI0IDQ2NCAyMjcuNTgyIDQ2NCAyMzJWMjgwQzQ2NCAyODQuNDE4IDQ2MC40MTggMjg4IDQ1NiAyODhINDA4QzQwMy41ODIgMjg4IDQwMCAyODQuNDE4IDQwMCAyODBWMjMyQzQwMCAyMjcuNTgyIDQwMy41ODIgMjI0IDQwOCAyMjRINDU2Wk0xMTIgNDA4QzExMiA0MDMuNTgyIDEwOC40MTggNDAwIDEwNCA0MDBINTZDNTEuNTgxNyA0MDAgNDggNDAzLjU4MiA0OCA0MDhWNDU2QzQ4IDQ2MC40MTggNTEuNTgxNyA0NjQgNTYgNDY0SDEwNEMxMDguNDE4IDQ2NCAxMTIgNDYwLjQxOCAxMTIgNDU2VjQwOFoiIGZpbGw9IiM1NEI4QzkiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTc3XzUxOCI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},"displayName":"Merge","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":26,"icon":"fa:arrow-right","name":"n8n-nodes-base.noOp","codex":{"data":{"alias":["nothing"],"resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.noop/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"organization\"]","defaults":{"name":"No Operation, do nothing","color":"#b0b0b0"},"iconData":{"icon":"arrow-right","type":"icon"},"displayName":"No Operation, do nothing","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":39,"icon":"fa:sync","name":"n8n-nodes-base.splitInBatches","codex":{"data":{"alias":["Loop","Concatenate","Batch","Split","Split In Batches"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.splitinbatches/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"organization\"]","defaults":{"name":"Loop Over Items","color":"#007755"},"iconData":{"icon":"sync","type":"icon"},"displayName":"Loop Over Items (Split in Batches)","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":565,"icon":"fa:sticky-note","name":"n8n-nodes-base.stickyNote","codex":{"data":{"alias":["Comments","Notes","Sticky"],"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"Sticky Note","color":"#FFD233"},"iconData":{"icon":"sticky-note","type":"icon"},"displayName":"Sticky Note","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":834,"icon":"file:code.svg","name":"n8n-nodes-base.code","codex":{"data":{"alias":["cpde","Javascript","JS","Python","Script","Custom Code","Function"],"details":"The Code node allows you to execute JavaScript in your workflow.","resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Code"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMTcxXzQ0MSkiPgo8cGF0aCBkPSJNMTcwLjI4MyA0OEgxOTYuNUMyMDMuMTI3IDQ4IDIwOC41IDQyLjYyNzQgMjA4LjUgMzZWMTJDMjA4LjUgNS4zNzI1OCAyMDMuMTI3IDAgMTk2LjUgMEgxNzAuMjgzQzEyNi4xIDAgOTAuMjgzIDM1LjgxNzIgOTAuMjgzIDgwVjE3NkM5MC4yODMgMjA2LjkyOCA2NS4yMTA5IDIzMiAzNC4yODMgMjMySDIzQzE2LjM3MjYgMjMyIDExIDIzNy4zNzIgMTEgMjQ0VjI2OEMxMSAyNzQuNjI3IDE2LjM3MjQgMjgwIDIyLjk5OTYgMjgwTDM0LjI4MyAyODBDNjUuMjEwOSAyODAgOTAuMjgzIDMwNS4wNzIgOTAuMjgzIDMzNlY0NDBDOTAuMjgzIDQ3OS43NjQgMTIyLjUxOCA1MTIgMTYyLjI4MyA1MTJIMTk2LjVDMjAzLjEyNyA1MTIgMjA4LjUgNTA2LjYyNyAyMDguNSA1MDBWNDc2QzIwOC41IDQ2OS4zNzMgMjAzLjEyNyA0NjQgMTk2LjUgNDY0SDE2Mi4yODNDMTQ5LjAyOCA0NjQgMTM4LjI4MyA0NTMuMjU1IDEzOC4yODMgNDQwVjMzNkMxMzguMjgzIDMwOS4wMjIgMTI4LjAxMSAyODQuNDQzIDExMS4xNjQgMjY1Ljk2MUMxMDYuMTA5IDI2MC40MTYgMTA2LjEwOSAyNTEuNTg0IDExMS4xNjQgMjQ2LjAzO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cz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTcxXzQ0MSI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},"displayName":"Code","typeVersion":2,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":839,"icon":"fa:clock","name":"n8n-nodes-base.scheduleTrigger","codex":{"data":{"alias":["Time","Scheduler","Polling","Cron","Interval"],"resources":{"generic":[],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"trigger\",\"schedule\"]","defaults":{"name":"Schedule Trigger","color":"#31C49F"},"iconData":{"icon":"clock","type":"icon"},"displayName":"Schedule Trigger","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":1309,"icon":"file:gemini.svg","name":"@n8n/n8n-nodes-langchain.googleGemini","codex":{"data":{"alias":["LangChain","video","document","audio","transcribe","assistant"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.googlegemini/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]}}},"group":"[\"transform\"]","defaults":{"name":"Google Gemini"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iX2Zvb3RlclNwYXJrXzk4dWR0XzE1MSIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTU3LjA2NjcgMjguNjEwM0M1Mi4xMzU5IDI2LjQ4NzggNDcuODIxNyAyMy41NzYgND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3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0ic2hhcGUiPjwvZmVCbGVuZD48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI3LjI3MjUzIiByZXN1bHQ9ImVmZmVjdDFfZm9yZWdyb3VuZEJsdXJfMTA4NTlfNDg5NCI+PC9mZUdhdXNzaWFuQmx1cj48L2ZpbHRlcj48bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfMTA4NTlfNDg5NCIgeDE9IjE4LjE5MzEiIHkxPSI0Mi44MjEiIHgyPSI1MS40MzM1IiB5Mj0iMTQuNzk1OSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM0ODkzRkMiPjwvc3RvcD48c3RvcCBvZmZzZXQ9IjAuMjciIHN0b3AtY29sb3I9IiM0ODkzRkMiPjwvc3RvcD48c3RvcCBvZmZzZXQ9IjAuNzc2OTgxIiBzdG9wLWNvbG9yPSIjOTY5REZGIj48L3N0b3A+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjQkQ5OUZFIj48L3N0b3A+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PC9zdmc+Cg=="},"displayName":"Google Gemini","typeVersion":1,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1315,"icon":"fa:table","name":"n8n-nodes-base.dataTable","codex":{"data":{"alias":["data","table","knowledge","data table","table","sheet","database","data base","mysql","postgres","postgresql","airtable","supabase","noco","notion"],"details":"Data table","resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.datatable/"}]},"categories":["Core Nodes","Development"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\",\"transform\"]","defaults":{"name":"Data table"},"iconData":{"icon":"table","type":"icon"},"displayName":"Data table","typeVersion":1,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":1324,"icon":"file:../mcp.svg","name":"@n8n/n8n-nodes-langchain.mcpClient","codex":{"data":{"categories":["Langchain"]}},"group":"[\"transform\"]","defaults":{"name":"MCP Client"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDE5NSAxOTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cgk8ZyBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+CgkJPHBhdGggZD0iTTI1IDk3Ljg1MjhMOTIuODgyMyAyOS45NzA2QzEwMi4yNTUgMjAuNTk4IDExNy40NTEgMjAuNTk4IDEyNi44MjMgMjkuOTcwNlYyOS45NzA2QzEzNi4xOTYgMzkuMzQzMSAxMzYuMTk2IDU0LjUzOTEgMTI2LjgyMyA2My45MTE3TDc1LjU1ODEgMTE1LjE3NyIvPgoJCTxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiLz4KCQk8cGF0aCBkPSJNMTA5Ljg1MyA0Ni45NDExTDU5LjY0ODIgOTcuMTQ1N0M1MC4yNzU3IDEwNi41MTggNTAuMjc1NyAxMjEuNzE0IDU5LjY0ODIgMTMxLjA4N1YxMzEuMDg3QzY5LjAyMDggMTQwLjQ1OSA4NC4yMTY4IDE0MC40NTkgOTMuNTg5NCAxMzEuMDg3TDE0My43OTQgODAuODgyMiIvPgoJPC9nPgo8L3N2Zz4K"},"displayName":"MCP Client","typeVersion":1,"nodeCategories":[{"id":26,"name":"Langchain"}]}],"categories":[{"id":33,"name":"Social Media"},{"id":51,"name":"Multimodal AI"}],"image":[]}}