Skip to main content

Example n8n Workflows

Copy these workflow patterns to get started quickly.

1. Split and Upload to S3

Split an audio file and upload all segments to an S3 bucket.

Nodes:

  1. Manual Trigger -- Start the workflow
  2. AudioSpliter -- Create Split Job (duration mode, 600s)
  3. Wait -- 30 seconds
  4. AudioSpliter -- Get Job
  5. IF -- Status is completed?
    • No: Loop back to Wait
    • Yes: Continue
  6. Split In Batches -- Iterate segments
  7. HTTP Request -- Download segment from downloadUrl
  8. AWS S3 -- Upload to bucket

2. Webhook-Driven Processing

Receive webhook notifications and process completed jobs.

Nodes:

  1. AudioSpliter Trigger -- Listen for job.completed
  2. Split In Batches -- Iterate over segments
  3. HTTP Request -- Download segment
  4. Google Drive -- Upload to folder
  5. Slack -- Send notification: "Split complete, N files uploaded"

3. Batch Process from Google Drive

Watch a Google Drive folder and automatically split new audio files.

Nodes:

  1. Google Drive Trigger -- Watch folder for new files
  2. Google Drive -- Get shareable link
  3. AudioSpliter -- Create Split Job with the Drive URL
  4. AudioSpliter Trigger -- (Separate workflow) Listen for completion
  5. Email -- Send download links

4. Transcription Pipeline

Split long audio files before sending to a transcription service.

Nodes:

  1. Webhook -- Receive audio URL from your app
  2. AudioSpliter -- Create Split Job (10-minute segments)
  3. Wait -- For completion
  4. AudioSpliter -- Get Job
  5. Split In Batches -- Iterate segments
  6. OpenAI -- Transcribe each segment with Whisper
  7. Function -- Combine transcriptions
  8. HTTP Request -- POST combined transcript back to your app

Importing Workflows

To import these patterns:

  1. Create a new workflow in n8n
  2. Add nodes matching the pattern above
  3. Configure credentials for each service
  4. Test with a sample audio file