Turn NASA Astronomy Pictures into Matching Spotify Tracks using GPT-4o Vision — n8n Workflow

Medium complexity Scheduled8 nodes🏷️ Miscellaneousby Takumi Oku

Overview

Who is this for Space Enthusiasts & Music Lovers**: Discover new music paired with stunning cosmic visuals. Community Managers**: specific Slack channels with engaging, creative daily content. n8n Learners**: Learn how to chain Image Analysis (Vision), Logic, and API integrations (Spotify/Slack).

How it works Schedule: The workflow runs every night at 10 PM. Mood Logic: It checks the day of the week to adjust the energy level (e.g., higher energy for Friday nights, calmer vibes for Mondays). Vi

Nodes used

SlackSpotifyNASACodeOpenAI

Workflow Preview

🎵 Create Spotify playlist from NASA Astronom
Transform the universe into music. This workflow analyz
1. Schedule & Mood
Determine if the music should be energetic (Friday) or
2. Visual Analysis
Fetch the daily image and use AI to interpret it as mus
3. Curation & Creativity
Find the best track on Spotify and generate a poetic de
4. Notify & Save
Send the result to Slack and archive the track to your
D
Daily Schedule
Determine Mood Bias
Get NASA Picture
Analyze Image for Music
Find Matching Track
Generate Caption
Post to Slack
Save to Playlist
8 nodes7 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a scheduled trigger, running on a defined schedule.

  2. 2

    Process

    Data flows through 8 nodes, connecting code, nasa, openai.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (8)

SL

Slack

slack

#1
SP

Spotify

spotify

#2
NA

NASA

nasa

#3
CO

Code

code

#4
OP

OpenAI

n8n-nodes-langchain.openAi

#5

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded turn-nasa-astronomy-pictures-into-matching-spotify-tracks-using-gpt-4o-vision file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Turn NASA Astronomy Pictures into Matching Spotify Tracks using GPT-4o Vision", "nodes": [...], ...}

Integrations

codenasaopenaischeduletriggerslackspotify

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes8
Complexitymedium
Triggerscheduled

Created by

Takumi Oku

Takumi Oku

@oku09

Tags

codenasaopenaischeduletriggerslackspotify

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Miscellaneous Workflows