Skip to main content

n8n Trigger Node

The AudioSpliter Trigger node starts a workflow when a job event occurs (completed, failed, or progress update).

Setup

  1. Add the AudioSpliter Trigger node to your workflow
  2. Select the events you want to listen for:
    • Job Completed -- Fires when a split job finishes
    • Job Failed -- Fires when a split job fails
    • Job Progress -- Fires on progress updates (large files)
  3. Activate the workflow

The trigger node automatically registers a webhook URL with AudioSpliter. When you create split jobs (via the API, dashboard, or another n8n workflow), include this webhook URL to trigger the workflow.

Trigger Output

The trigger node outputs the full webhook payload:

{
"event": "job.completed",
"jobId": "job_abc123",
"timestamp": "2026-03-29T10:05:00Z",
"data": {
"status": "completed",
"segments": [
{
"index": 0,
"downloadUrl": "https://cdn.audiospliter.com/segments/abc123-0.mp3",
"duration": 600,
"size": 9600000
}
]
}
}

Example: Auto-Download Segments

  1. AudioSpliter Trigger -- Listen for job.completed
  2. Split In Batches -- Iterate over {{ $json.data.segments }}
  3. HTTP Request -- Download each segment URL
  4. Write Binary File -- Save to disk or upload to cloud storage

Webhook URL

The trigger node generates a webhook URL like:

https://your-n8n.example.com/webhook/audiospliter-trigger-abc123

Use this URL as the webhookUrl when creating split jobs.