{
  "name": "Social Media Auto-Poster (Tech/AI/Dev)",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 6
            }
          ]
        }
      },
      "id": "schedule-trigger",
      "name": "Every 6 Hours",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.1,
      "position": [
        120,
        80
      ]
    },
    {
      "parameters": {
        "formTitle": "Manual Post Trigger",
        "formDescription": "Enter a custom topic or tool to research and post about",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Topic or Tool Name",
              "fieldType": "text",
              "requiredField": true
            },
            {
              "fieldLabel": "Extra Context (optional)",
              "fieldType": "textarea"
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {}
      },
      "id": "manual-form-trigger",
      "name": "Manual Topic Form",
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2,
      "position": [
        500,
        80
      ]
    },
    {
      "parameters": {
        "mode": "combine",
        "combinationMode": "mergeByIndex",
        "options": {}
      },
      "id": "merge-triggers",
      "name": "Merge Triggers",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        300,
        80
      ]
    },
    {
      "parameters": {
        "jsCode": "// Detect if triggered by schedule (auto) or manual form\nconst items = $input.all();\nconst item = items[0];\n\n// Check which trigger fired\nconst isManual = item.json['Topic or Tool Name'] !== undefined;\n\nconst topicCategories = [\n  'AI automation and chatbots',\n  'Machine learning and LLMs',\n  'Web development (React, Next.js, Vue)',\n  'App development (Flutter, React Native)',\n  'Cloud computing and DevOps',\n  'Data analytics and BI tools',\n  'SEO and digital marketing',\n  'Cybersecurity trends',\n  'No-code and low-code tools',\n  'Software engineering best practices',\n  'API development and microservices',\n  'Database technologies'\n];\n\nif (isManual) {\n  return [{\n    json: {\n      triggerType: 'manual',\n      topicInput: item.json['Topic or Tool Name'],\n      extraContext: item.json['Extra Context (optional)'] || '',\n      searchQuery: item.json['Topic or Tool Name'] + ' latest news trends 2025',\n      timestamp: new Date().toISOString()\n    }\n  }];\n} else {\n  // Pick random category for auto\n  const randomCategory = topicCategories[Math.floor(Math.random() * topicCategories.length)];\n  return [{\n    json: {\n      triggerType: 'auto',\n      topicInput: randomCategory,\n      extraContext: '',\n      searchQuery: randomCategory + ' trending news tools 2025',\n      timestamp: new Date().toISOString()\n    }\n  }];\n}"
      },
      "id": "set-topic",
      "name": "Set Topic & Mode",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        300,
        200
      ]
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_GOOGLE_SHEET_ID_HERE"
        },
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "PostHistory"
        },
        "filtersUI": {},
        "options": {
          "returnAllMatches": true
        }
      },
      "id": "read-sheet-history",
      "name": "Read Post History",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.4,
      "position": [
        300,
        320
      ]
    },
    {
      "parameters": {
        "jsCode": "// Check if the topic was already posted recently (within 14 days)\nconst currentItem = $('Set Topic & Mode').first().json;\nconst topic = currentItem.topicInput.toLowerCase().trim();\n\nconst historyItems = $input.all();\nconst cutoffDate = new Date();\ncutoffDate.setDate(cutoffDate.getDate() - 14);\n\nconst isDuplicate = historyItems.some(item => {\n  const rowTopic = (item.json['Topic'] || '').toLowerCase().trim();\n  const rowDate = new Date(item.json['Timestamp'] || 0);\n  const topicMatch = rowTopic.includes(topic) || topic.includes(rowTopic);\n  const withinWindow = rowDate > cutoffDate;\n  return topicMatch && withinWindow;\n});\n\nreturn [{\n  json: {\n    ...currentItem,\n    isDuplicate,\n    duplicateCheckPassed: !isDuplicate\n  }\n}];"
      },
      "id": "duplicate-check",
      "name": "Duplicate Check Logic",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        300,
        440
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": false,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "leftValue": "={{ $json.isDuplicate }}",
              "rightValue": true,
              "operator": {
                "type": "boolean",
                "operation": "notTrue"
              }
            }
          ]
        }
      },
      "id": "if-not-duplicate",
      "name": "Is Not Duplicate?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        300,
        560
      ]
    },
    {
      "parameters": {
        "url": "https://api.perplexity.ai/chat/completions",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_PERPLEXITY_API_KEY"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "json",
        "body": {
          "model": "sonar",
          "messages": [
            {
              "role": "user",
              "content": "=Research the most trending and viral topic right now in the category: {{ $json.topicInput }}.\n\nFind:\n1. The #1 most discussed specific topic/tool/trend in this category today\n2. 3-5 key facts or insights about it\n3. Why it matters to developers/marketers/tech professionals\n4. Real statistics or numbers if available\n\nAlso find: What type of social media captions are currently performing best on LinkedIn, Instagram, X (Twitter), and Facebook in the tech/IT space? What hooks, formats, and writing styles get the most engagement right now?\n\nReturn structured JSON with:\n{\n  \"trending_topic\": \"specific topic name\",\n  \"topic_description\": \"2-3 sentences\",\n  \"key_facts\": [\"fact1\", \"fact2\", \"fact3\"],\n  \"why_it_matters\": \"one paragraph\",\n  \"stat_or_number\": \"key statistic\",\n  \"caption_style_linkedin\": \"what style works best\",\n  \"caption_style_instagram\": \"what style works best\",\n  \"caption_style_x\": \"what style works best\",\n  \"caption_style_facebook\": \"what style works best\"\n}"
            }
          ],
          "return_images": false,
          "return_related_questions": false,
          "search_recency_filter": "week"
        },
        "options": {}
      },
      "id": "perplexity-research",
      "name": "Research Trending Topic",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        300,
        680
      ]
    },
    {
      "parameters": {
        "jsCode": "// Parse Perplexity response\nconst response = $json;\nconst prevData = $('Duplicate Check Logic').first().json;\n\nlet researchData;\ntry {\n  const content = response.choices[0].message.content;\n  const jsonMatch = content.match(/\\{[\\s\\S]*\\}/);\n  researchData = jsonMatch ? JSON.parse(jsonMatch[0]) : {};\n} catch(e) {\n  researchData = {\n    trending_topic: prevData.topicInput,\n    topic_description: 'Latest developments in ' + prevData.topicInput,\n    key_facts: ['Growing adoption', 'New tools emerging', 'Industry impact'],\n    why_it_matters: 'This area is rapidly evolving and professionals need to stay updated.',\n    stat_or_number: 'Trending this week',\n    caption_style_linkedin: 'Professional storytelling with data points',\n    caption_style_instagram: 'Visual-first with punchy text and emojis',\n    caption_style_x: 'Punchy one-liners with a twist',\n    caption_style_facebook: 'Conversational and community-focused'\n  };\n}\n\nreturn [{\n  json: {\n    ...prevData,\n    ...researchData,\n    finalTopic: researchData.trending_topic || prevData.topicInput\n  }\n}];"
      },
      "id": "parse-research",
      "name": "Parse Research Data",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        300,
        800
      ]
    },
    {
      "parameters": {
        "resource": "message",
        "operation": "send",
        "modelId": {
          "__rl": true,
          "value": "gpt-4o",
          "mode": "list"
        },
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "You are an expert social media content strategist specializing in tech, AI, and software development content. You write viral, engaging posts that get high engagement. You understand each platform's algorithm and audience deeply."
            },
            {
              "role": "user",
              "content": "=Generate 4 platform-specific social media posts about this topic:\n\nTOPIC: {{ $json.finalTopic }}\nDESCRIPTION: {{ $json.topic_description }}\nKEY FACTS: {{ $json.key_facts }}\nKEY STAT: {{ $json.stat_or_number }}\nWHY IT MATTERS: {{ $json.why_it_matters }}\n\nPLATFORM CAPTION STYLES:\n- LinkedIn: {{ $json.caption_style_linkedin }}\n- Instagram: {{ $json.caption_style_instagram }}\n- X: {{ $json.caption_style_x }}\n- Facebook: {{ $json.caption_style_facebook }}\n\nFor EACH platform, create a caption with this exact structure:\n1. HOOK (first line - attention grabbing, creates curiosity or surprise)\n2. VALUE LINES (2-4 lines of actual useful insight or facts)\n3. CTA (call to action - ask a question or tell them what to do)\n4. FOLLOW LINE (e.g. 'Follow @YourBrand for daily tech insights')\n5. HASHTAGS (platform-appropriate hashtags)\n\nAlso generate CAROUSEL SLIDE CONTENT for LinkedIn and Instagram:\n- Slide 1: Title/Hook slide text\n- Slides 2-5: One key point per slide (short, punchy)\n- Slide 6: CTA slide text\n\nReturn ONLY valid JSON:\n{\n  \"linkedin_caption\": \"full caption text\",\n  \"instagram_caption\": \"full caption text\",\n  \"x_caption\": \"full caption text\",\n  \"facebook_caption\": \"full caption text\",\n  \"carousel_slides\": [\n    {\"slide\": 1, \"title\": \"...\", \"body\": \"...\"},\n    {\"slide\": 2, \"title\": \"...\", \"body\": \"...\"},\n    {\"slide\": 3, \"title\": \"...\", \"body\": \"...\"},\n    {\"slide\": 4, \"title\": \"...\", \"body\": \"...\"},\n    {\"slide\": 5, \"title\": \"...\", \"body\": \"...\"},\n    {\"slide\": 6, \"title\": \"...\", \"body\": \"...\"}\n  ],\n  \"suggested_hashtags\": [\"#tag1\", \"#tag2\"],\n  \"image_prompt\": \"a professional tech-themed image showing [topic] - clean, modern, flat design\"\n}"
            }
          ]
        },
        "options": {}
      },
      "id": "generate-content",
      "name": "Generate All Captions (OpenAI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        300,
        920
      ]
    },
    {
      "parameters": {
        "jsCode": "// Parse OpenAI content generation response\nconst openAiResponse = $json;\nconst researchData = $('Parse Research Data').first().json;\n\nlet contentData;\ntry {\n  const content = openAiResponse.choices[0].message.content;\n  const jsonMatch = content.match(/\\{[\\s\\S]*\\}/);\n  contentData = jsonMatch ? JSON.parse(jsonMatch[0]) : {};\n} catch(e) {\n  contentData = {\n    linkedin_caption: 'Check out the latest on ' + researchData.finalTopic + '! #TechNews',\n    instagram_caption: '\ud83d\udd25 ' + researchData.finalTopic + ' is trending! #Tech',\n    x_caption: researchData.finalTopic + ' is changing the game. Here\\'s why \ud83d\udc47',\n    facebook_caption: 'Have you heard about ' + researchData.finalTopic + '? Let us know your thoughts!',\n    carousel_slides: [],\n    suggested_hashtags: ['#Tech', '#AI', '#Dev'],\n    image_prompt: 'professional tech themed image about ' + researchData.finalTopic\n  };\n}\n\nreturn [{\n  json: {\n    ...researchData,\n    ...contentData,\n    postId: 'post_' + Date.now()\n  }\n}];"
      },
      "id": "parse-content",
      "name": "Parse Generated Content",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        300,
        1060
      ]
    },
    {
      "parameters": {
        "url": "https://api.openai.com/v1/images/generations",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_OPENAI_API_KEY"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "json",
        "body": {
          "model": "dall-e-3",
          "prompt": "={{ $json.image_prompt + '. Professional, clean, modern tech style. No text in image. Suitable for social media. 16:9 format.' }}",
          "n": 1,
          "size": "1792x1024",
          "quality": "standard"
        },
        "options": {}
      },
      "id": "generate-image",
      "name": "Generate Featured Image",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        500,
        1060
      ]
    },
    {
      "parameters": {
        "jsCode": "// Merge content data with image URL\nconst contentData = $('Parse Generated Content').first().json;\nconst imageResponse = $('Generate Featured Image').first().json;\n\nconst imageUrl = imageResponse?.data?.[0]?.url || '';\n\nreturn [{\n  json: {\n    ...contentData,\n    generatedImageUrl: imageUrl\n  }\n}];"
      },
      "id": "merge-content-image",
      "name": "Merge Content + Image",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        300,
        1180
      ]
    },
    {
      "parameters": {
        "url": "https://api.linkedin.com/v2/ugcPosts",
        "authentication": "genericCredentialType",
        "genericAuthType": "oAuth2Api",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Restli-Protocol-Version",
              "value": "2.0.0"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "json",
        "body": {
          "author": "urn:li:person:YOUR_LINKEDIN_PERSON_URN",
          "lifecycleState": "PUBLISHED",
          "specificContent": {
            "com.linkedin.ugc.ShareContent": {
              "shareCommentary": {
                "text": "={{ $('Merge Content + Image').first().json.linkedin_caption }}"
              },
              "shareMediaCategory": "IMAGE",
              "media": [
                {
                  "status": "READY",
                  "description": {
                    "text": "={{ $('Merge Content + Image').first().json.finalTopic }}"
                  },
                  "originalUrl": "={{ $('Merge Content + Image').first().json.generatedImageUrl }}",
                  "title": {
                    "text": "={{ $('Merge Content + Image').first().json.finalTopic }}"
                  }
                }
              ]
            }
          },
          "visibility": {
            "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC"
          }
        },
        "options": {}
      },
      "id": "post-linkedin",
      "name": "Post to LinkedIn",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        80,
        1400
      ]
    },
    {
      "parameters": {
        "url": "=https://graph.facebook.com/v19.0/{{ $json.instagram_business_account_id }}/media",
        "sendBody": true,
        "contentType": "json",
        "body": {
          "image_url": "={{ $('Merge Content + Image').first().json.generatedImageUrl }}",
          "caption": "={{ $('Merge Content + Image').first().json.instagram_caption }}",
          "media_type": "IMAGE",
          "access_token": "YOUR_INSTAGRAM_ACCESS_TOKEN"
        },
        "options": {}
      },
      "id": "post-instagram-create",
      "name": "Instagram: Create Container",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        1400
      ]
    },
    {
      "parameters": {
        "url": "=https://graph.facebook.com/v19.0/{{ $('Merge Content + Image').first().json.instagram_business_account_id }}/media_publish",
        "sendBody": true,
        "contentType": "json",
        "body": {
          "creation_id": "={{ $json.id }}",
          "access_token": "YOUR_INSTAGRAM_ACCESS_TOKEN"
        },
        "options": {}
      },
      "id": "post-instagram-publish",
      "name": "Instagram: Publish Post",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        1520
      ]
    },
    {
      "parameters": {
        "url": "https://api.twitter.com/2/tweets",
        "authentication": "genericCredentialType",
        "genericAuthType": "oAuth2Api",
        "sendBody": true,
        "contentType": "json",
        "body": {
          "text": "={{ $('Merge Content + Image').first().json.x_caption }}"
        },
        "options": {}
      },
      "id": "post-x",
      "name": "Post to X (Twitter)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        400,
        1400
      ]
    },
    {
      "parameters": {
        "url": "=https://graph.facebook.com/v19.0/{{ $json.facebook_page_id }}/photos",
        "sendBody": true,
        "contentType": "json",
        "body": {
          "url": "={{ $('Merge Content + Image').first().json.generatedImageUrl }}",
          "message": "={{ $('Merge Content + Image').first().json.facebook_caption }}",
          "access_token": "YOUR_FACEBOOK_PAGE_ACCESS_TOKEN"
        },
        "options": {}
      },
      "id": "post-facebook",
      "name": "Post to Facebook",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        560,
        1400
      ]
    },
    {
      "parameters": {
        "operation": "appendOrUpdate",
        "documentId": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_GOOGLE_SHEET_ID_HERE"
        },
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "PostHistory"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "Timestamp": "={{ $('Merge Content + Image').first().json.timestamp }}",
            "Post_ID": "={{ $('Merge Content + Image').first().json.postId }}",
            "Trigger_Type": "={{ $('Merge Content + Image').first().json.triggerType }}",
            "Topic": "={{ $('Merge Content + Image').first().json.finalTopic }}",
            "Topic_Category": "={{ $('Merge Content + Image').first().json.topicInput }}",
            "Topic_Description": "={{ $('Merge Content + Image').first().json.topic_description }}",
            "Key_Stat": "={{ $('Merge Content + Image').first().json.stat_or_number }}",
            "LinkedIn_Caption": "={{ $('Merge Content + Image').first().json.linkedin_caption }}",
            "Instagram_Caption": "={{ $('Merge Content + Image').first().json.instagram_caption }}",
            "X_Caption": "={{ $('Merge Content + Image').first().json.x_caption }}",
            "Facebook_Caption": "={{ $('Merge Content + Image').first().json.facebook_caption }}",
            "Image_URL": "={{ $('Merge Content + Image').first().json.generatedImageUrl }}",
            "Hashtags": "={{ $('Merge Content + Image').first().json.suggested_hashtags.join(', ') }}",
            "Carousel_Slides_JSON": "={{ JSON.stringify($('Merge Content + Image').first().json.carousel_slides) }}",
            "LinkedIn_Status": "Posted",
            "Instagram_Status": "Posted",
            "X_Status": "Posted",
            "Facebook_Status": "Posted",
            "Notes": "Auto-generated by n8n workflow"
          }
        },
        "options": {}
      },
      "id": "save-to-sheets",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.4,
      "position": [
        300,
        1640
      ]
    },
    {
      "parameters": {
        "jsCode": "// Log duplicate skip\nconst data = $('Duplicate Check Logic').first().json;\nconsole.log('Skipped duplicate topic:', data.topicInput);\nreturn [{ json: { skipped: true, reason: 'Duplicate topic within 14 days', topic: data.topicInput, timestamp: new Date().toISOString() } }];"
      },
      "id": "skip-duplicate",
      "name": "Skip (Duplicate)",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        560,
        560
      ]
    }
  ],
  "connections": {
    "Every 6 Hours": {
      "main": [
        [
          {
            "node": "Merge Triggers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Topic Form": {
      "main": [
        [
          {
            "node": "Merge Triggers",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Triggers": {
      "main": [
        [
          {
            "node": "Set Topic & Mode",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Topic & Mode": {
      "main": [
        [
          {
            "node": "Read Post History",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Post History": {
      "main": [
        [
          {
            "node": "Duplicate Check Logic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Duplicate Check Logic": {
      "main": [
        [
          {
            "node": "Is Not Duplicate?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Not Duplicate?": {
      "main": [
        [
          {
            "node": "Research Trending Topic",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Skip (Duplicate)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Trending Topic": {
      "main": [
        [
          {
            "node": "Parse Research Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Research Data": {
      "main": [
        [
          {
            "node": "Generate All Captions (OpenAI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate All Captions (OpenAI)": {
      "main": [
        [
          {
            "node": "Parse Generated Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Generated Content": {
      "main": [
        [
          {
            "node": "Generate Featured Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Featured Image": {
      "main": [
        [
          {
            "node": "Merge Content + Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Content + Image": {
      "main": [
        [
          {
            "node": "Post to LinkedIn",
            "type": "main",
            "index": 0
          },
          {
            "node": "Instagram: Create Container",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post to X (Twitter)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post to Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Instagram: Create Container": {
      "main": [
        [
          {
            "node": "Instagram: Publish Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to LinkedIn": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Instagram: Publish Post": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to X (Twitter)": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to Facebook": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": ""
  },
  "staticData": null,
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "versionId": "1.0.0",
  "triggerCount": 2,
  "tags": [
    "social-media",
    "automation",
    "ai-content",
    "tech"
  ]
}