---
related_nodes: ["spotify_add_to_queue", "spotify_get_playback_state", "spotify_playback_control", "spotify_search"]
---

# Spotify Get Queue

## Overview

Fetches the currently playing track and upcoming queue for the connected Spotify account.
Returns a normalized structure with `currently_playing` and `queue` arrays.

Queue endpoints generally require Spotify Premium and an active playback device.

## When to Use

- Show upcoming tracks in a workflow-generated report
- Confirm queue state after adding songs
- Build DJ-style automations around what is coming next

## Configuration

**connection** (required)
- Spotify connection from workspace Settings → Connections

**retry** (optional, default: Off)
- Sends a request again after a failure that passes; see [Retries](http_get.md#retries). Reading the queue is a read, sent again freely.

## Inputs

**input** (required)
- Any value; used for workflow control flow

## Outputs

**output**
```json
{
  "currently_playing": {
    "id": "4iV5W9uYEdYUVa79Axb7Rh",
    "name": "Never Gonna Give You Up",
    "uri": "spotify:track:4iV5W9uYEdYUVa79Axb7Rh",
    "artist_names": ["Rick Astley"],
    "album_name": "Whenever You Need Somebody",
    "duration_ms": 212000
  },
  "queue": []
}
```

Common failures include API errors such as missing active device, Premium restrictions,
or rate limits (returned from Spotify as non-2xx errors).

## Example

```json
{
  "connection": "spotify-main"
}
```

## Tips

- Use this after **Spotify Add To Queue** to verify tracks were enqueued.
- `currently_playing` can be `null`; handle that in downstream logic.
- Keep queue polling intervals reasonable to avoid rate-limit errors.
