workflows/zapier/README.md
README.md: full Markdown source from the Zapier and Make workflows folder of Spatial9 Agent Skills. Free, MIT licensed code for immersive audio with the...
Raw file · View on GitHub · Download every file as a zip
Zapier and Make
Zapier steps should not wait 20 minutes, so both tools use the A2A webhook and two automations.
Zapier
- Zap 2 first, "Render finished": trigger "Webhooks by Zapier: Catch Hook". Copy its URL.
- Zap 1, "Start render": a trigger such as a new Google Sheets row with a song link, then "Webhooks by Zapier: Custom Request" with method POST, URL
https://spatial9.ai/a2a, headersAuthorization: Bearer s9_...(create the key at https://spatial9.ai/connect) andContent-Type: application/json, and the same body as ../../examples/node/a2a-webhook.mjs, with Zap 2's URL aspushNotificationConfig.url. - Back in Zap 2: a Filter that only continues when
status.stateexactly matchescompleted, then a "Code by Zapier" step with code_by_zapier.py, then Gmail, Slack or Google Drive.
Make
Scenario 1 uses a trigger (for example "Watch Rows" in Google Sheets) followed by the HTTP module "Make a request": method POST, URL https://spatial9.ai/a2a, an Authorization header, body type "Raw" with content type JSON, and the A2A body with the webhook URL from Scenario 2.
Scenario 2 starts with a "Custom webhook", filters on status.state = completed, uses an Iterator over artifacts, downloads each file.uri with "Get a file", and uploads it to Dropbox, Box or Google Drive.