{
  "name": "Generate captions from autocomplete ideas using Dumpling AI + GPT-4o",
  "nodes": [
    {
      "id": "6beee45f-5f13-4dff-b560-ed1da4df5479",
      "name": "Run Every Day at 12 PM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1180,
        -120
      ]
    },
    {
      "id": "795fe08c-bcb3-4563-a49c-527c09dc52a9",
      "name": "Get Search Keywords from Google Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -940,
        -120
      ]
    },
    {
      "id": "b85f5817-7b6d-4c18-8d30-7a9927ad22b2",
      "name": "Fetch Autocomplete Suggestions (Dumpling AI)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -720,
        -120
      ]
    },
    {
      "id": "199fad98-e64a-4da1-8cdc-9ac86fe0e418",
      "name": "Format Suggestions into Array",
      "type": "n8n-nodes-base.set",
      "position": [
        -500,
        -120
      ]
    },
    {
      "id": "00a81bf6-91a8-4f72-9bdf-723b0b122d68",
      "name": "Loop Through Each Autocomplete Suggestion",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -280,
        -120
      ]
    },
    {
      "id": "8f6dcb3e-dc41-4ce8-a521-2826329efe79",
      "name": "Generate Caption from Suggestion (GPT-4o)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -60,
        -120
      ]
    },
    {
      "id": "e3483193-439c-4261-8791-82a18259efcf",
      "name": "Save Keyword & Generated Caption to Google Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        300,
        -120
      ]
    },
    {
      "id": "9b7c800e-112e-45ae-bc2a-a5fc0ad7c2ed",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        -360
      ],
      "parameters": {
        "width": 1020,
        "height": 200,
        "content": "### ✨ Auto-Generate Social Captions from Trending Google Autocomplete\n\nThis workflow uses a search term from Google Sheets and fetches trending autocomplete suggestions using Dumpling AI’s `/get-autoc"
      }
    }
  ],
  "connections": {
    "Run Every Day at 12 PM": {
      "main": [
        [
          {
            "node": "Get Search Keywords from Google Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Suggestions into Array": {
      "main": [
        [
          {
            "node": "Loop Through Each Autocomplete Suggestion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Search Keywords from Google Sheet": {
      "main": [
        [
          {
            "node": "Fetch Autocomplete Suggestions (Dumpling AI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Caption from Suggestion (GPT-4o)": {
      "main": [
        [
          {
            "node": "Save Keyword & Generated Caption to Google Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Through Each Autocomplete Suggestion": {
      "main": [
        [
          {
            "node": "Generate Caption from Suggestion (GPT-4o)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Autocomplete Suggestions (Dumpling AI)": {
      "main": [
        [
          {
            "node": "Format Suggestions into Array",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}