n8n workflows
n8n workflows for Spatial9: 4 free, MIT licensed files that connect agents and data platforms to the Spatial9 spatial audio MCP server and A2A agent.
n8n
Option A: a fixed workflow with HTTP Request nodes
Anyone on your team pastes a song link into a form and receives immersive files in Slack.
- Credential: create a "Header Auth" credential named Spatial9 with the name
Authorizationand the valueBearer s9_your_key, using a key from https://spatial9.ai/connect. Never type the key into a node. - Form Trigger: fields for Song link, Title and Style.
- HTTP Request, "Start render": method POST, URL
https://spatial9.ai/mcp, authentication from the Spatial9 credential, anAcceptheader ofapplication/json, text/event-stream, and the body in start-render.body.js. - Wait: 60 seconds.
- HTTP Request, "Check status": the same settings, with the body in check-status.body.js.
- Switch: route on
{{ $json.result.structuredContent.status }}.completedcontinues,failedorcancelledgoes to an alert, anything else loops back to Wait. - HTTP Request, "Get downloads": calls
get_downloads. A Code node with format-downloads.code-node.js picks the links, then Google Drive and Slack nodes use them.
Option B: an AI Agent node with the MCP Client Tool
For open-ended requests, add an AI Agent node, attach a chat model, and attach the MCP Client Tool node with:
- Endpoint:
https://spatial9.ai/mcp - Server transport: HTTP Streamable
- Authentication: Bearer, using your Spatial9 key
- Tools to include: "Selected", for example
preview_chorus,get_clip,create_spatial_audio,get_job_statusandget_downloads
Paste the steps and rules from the matching SKILL.md into the agent's system message. Leave publishing tools out of unattended agents.