Spotify

Spotify music platform: search tracks, albums, artists and playlists; manage user playlists; fetch recommendations via the Spotify Web API.

Ai
46
Actions
0
Triggers

Example

A complete route that uses Spotify — an input is matched, scored by a strategy, assigned, and dispatched to Spotify.

type == "ai.task"key →TriggerNew AI taskWebhookAssignleast_loadedStrategymodel-fleetassignedspotifyActionDelivered
Show the code
// Route an AI task to the cheapest capable model.
engine.Route(ductor.Route{
Match: `routable.type == "ai.task"`,
Strategy: "least_loaded",
Pool: "model-fleet",
Then: ductor.Workflow{
Mode: ductor.Async,
Steps: ductor.Steps{
ductor.Connector("spotify", "run"),
},
},
})
 
// Durable, observable, exactly-once.
decision, err := engine.Dispatch(ctx, routable)

What you can build

Cheapest-capable routing

Send each task to the lowest-cost model that can handle it.

Failover across providers

Try one provider, fall back on error or rate limit.

Human-in-the-loop

Gate risky generations behind an approval step.

Authentication

API keyNo auth

Credentials are stored AEAD-encrypted at rest — usable by the engine, never readable back.

Actions

No actions on this connector.