{
  "name": "Turn NASA astronomy pictures into matching Spotify tracks using GPT-4o Vision",
  "nodes": [
    {
      "id": "4df56db4-e10a-4d8b-813c-347974870f8c",
      "name": "Daily Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -880,
        112
      ]
    },
    {
      "id": "ffaf3ba5-0dab-459d-83f5-f3adf6d9570b",
      "name": "Determine Mood Bias",
      "type": "n8n-nodes-base.code",
      "position": [
        -672,
        112
      ]
    },
    {
      "id": "de74946a-f011-40df-bd98-efcfcc78336d",
      "name": "Get NASA Picture",
      "type": "n8n-nodes-base.nasa",
      "position": [
        -448,
        112
      ]
    },
    {
      "id": "cb509926-da12-4ef2-b803-f2d889247f83",
      "name": "Analyze Image for Music",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -224,
        112
      ]
    },
    {
      "id": "42171195-22b2-482e-947b-7b0e3e288ee4",
      "name": "Find Matching Track",
      "type": "n8n-nodes-base.spotify",
      "position": [
        0,
        112
      ]
    },
    {
      "id": "6d8842d4-ab82-4e9e-9b88-6e5f1eb4ffdb",
      "name": "Generate Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        224,
        112
      ]
    },
    {
      "id": "f40f33b8-ceab-496e-bf1e-3bdbdbf72e28",
      "name": "Post to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        528,
        112
      ]
    },
    {
      "id": "19f13534-c3de-4a56-a793-c17c32b14f88",
      "name": "Save to Playlist",
      "type": "n8n-nodes-base.spotify",
      "position": [
        736,
        112
      ]
    },
    {
      "id": "d9fd45c8-72a2-4b5c-b5f8-40cfd6120d1c",
      "name": "Template Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1632,
        -288
      ],
      "parameters": {
        "width": 674,
        "height": 662,
        "content": "## 🎵 Create Spotify playlist from NASA Astronomy Picture of the Day\nTransform the universe into music. This workflow analyzes the **NASA Astronomy Picture of the Day (APOD)** and uses **AI Vision** to"
      }
    },
    {
      "id": "a4f17907-fcde-4528-a9cb-88783803ec96",
      "name": "Step 1 Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -912,
        -80
      ],
      "parameters": {
        "width": 176,
        "height": null,
        "content": "### 1. Schedule & Mood\nDetermine if the music should be energetic (Friday) or chill (Monday)."
      }
    },
    {
      "id": "bd834153-fe32-4b12-8fcf-3b60af7b57d1",
      "name": "Step 2 Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -80
      ],
      "parameters": {
        "width": 196,
        "height": null,
        "content": "### 2. Visual Analysis\nFetch the daily image and use AI to interpret it as musical parameters."
      }
    },
    {
      "id": "546f0ed5-0d25-4f65-9e56-88d03319abcf",
      "name": "Step 3 Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -80
      ],
      "parameters": {
        "width": 180,
        "height": null,
        "content": "### 3. Curation & Creativity\nFind the best track on Spotify and generate a poetic description."
      }
    },
    {
      "id": "8e61300a-36db-46cf-8cd5-a9a376caa1f5",
      "name": "Step 4 Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -80
      ],
      "parameters": {
        "width": 180,
        "height": null,
        "content": "### 4. Notify & Save\nSend the result to Slack and archive the track to your playlist."
      }
    }
  ],
  "connections": {
    "Post to Slack": {
      "main": [
        [
          {
            "node": "Save to Playlist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Schedule": {
      "main": [
        [
          {
            "node": "Determine Mood Bias",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Caption": {
      "main": [
        [
          {
            "node": "Post to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get NASA Picture": {
      "main": [
        [
          {
            "node": "Analyze Image for Music",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Determine Mood Bias": {
      "main": [
        [
          {
            "node": "Get NASA Picture",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Matching Track": {
      "main": [
        [
          {
            "node": "Generate Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Image for Music": {
      "main": [
        [
          {
            "node": "Find Matching Track",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}