🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Google Sheets to Google Drive, AI music cataloged

Lisa Granqvist Partner Workflow Automation Expert

Your music “library” starts out organized. Then reality hits. A few quick experiments turn into dozens of MP3s scattered across folders, weird filenames, and a spreadsheet that never quite matches what’s in Drive.

This Sheets Drive music automation hits content marketers and creative producers first, honestly. But agency owners shipping client assets feel it too. The outcome is simple: requests go in a Google Sheet, finished tracks land in Google Drive, and the shareable link writes itself back into the same row.

Below you’ll see exactly what this workflow does, what you need to run it, and how to think about customizing it for your own cataloging system.

How This Automation Works

Here’s the complete workflow you’ll be setting up:

n8n Workflow Template: Google Sheets to Google Drive, AI music cataloged

Why This Matters: Keeping AI Audio Organized

Generating AI music is the fun part. Managing it is the part that quietly steals your time. You create a track from a prompt, download it, rename it (maybe), upload it to Drive, then paste a link somewhere so you can find it later. Do that a few times and it’s fine. Do it for a campaign with 20 variations, and suddenly you’re playing detective: “Which version was the one with the warmer synth and shorter intro?” The mental load is real, and the mistakes (wrong file in the wrong folder, stale links, missing metadata) show up at the worst time.

It adds up fast. Here’s where it usually breaks down in day-to-day work.

  • Track requests live in messages and sticky notes, so you lose the original prompt and can’t reproduce the sound later.
  • Uploading and naming MP3s by hand takes about 10 minutes per track once you include “where did I put that file?” moments.
  • Spreadsheet catalogs drift out of sync, which means teammates click dead links right when you need approvals.
  • Batch-generating several tracks can trigger API rate limits if you push too hard and too fast.

What You’ll Build: A Google Sheet That Produces a Drive Music Library

This workflow turns one Google Sheet into a lightweight production pipeline. You list each track you want (title, prompt, duration) in rows. When you run the workflow in n8n, it pulls those rows, generates the audio through the ElevenLabs Music API, then uploads the finished MP3 into a specific Google Drive folder. Finally, it writes the URL back to the exact row that requested the track, so your spreadsheet becomes the catalog you share internally (or with clients). There’s also a deliberate pause between tracks to keep the process stable, so you can queue multiple generations without babysitting the run.

The workflow starts with a manual launch in n8n. From there, it loops through your sheet rows one-by-one, calls ElevenLabs to generate an MP3, and stores it in Drive. Once Drive returns the file link, the workflow writes it back into Google Sheets and moves to the next request.

What You’re Building

Expected Results

Say you generate 15 background tracks in a week for ads, reels, and client edits. Manually, figure about 10 minutes per track to download, rename, upload to Drive, and paste the link back into your tracker, so roughly 2.5 hours of file chores. With this workflow, you spend about 10 minutes filling the sheet and kicking off the run, then you wait while it processes in the background (including the built-in one-minute delay per track). Your hands-on time drops to almost nothing, and your catalog stays clean.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Google Sheets for the track request spreadsheet.
  • Google Drive to store MP3 files in one folder.
  • ElevenLabs API key (get it from the ElevenLabs developer dashboard)

Skill level: Beginner. You’ll connect Google accounts, paste an API key, and edit a Sheet ID and Drive folder ID.

Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).

Step by Step

Manual run from n8n. You click Execute in n8n when you’re ready to process new track requests. This is great when you want control and don’t want surprise API usage.

Track requests are pulled from Google Sheets. The workflow reads rows that contain the track title, the text prompt, and a duration value (in milliseconds). That sheet becomes your control center, and it stays the system of record.

Each row is processed in a loop with a built-in delay. n8n batches through your requests one-by-one, calls the ElevenLabs Music API using an HTTP Request node, then waits about a minute before moving on. That pause is there for reliability, not drama.

The MP3 is saved to Google Drive and the URL is written back. After the audio is generated, the workflow uploads the file to your Drive folder and updates the original row with a direct link, so anyone can listen without hunting around.

You can easily modify the spreadsheet columns to include things like “campaign name” or “mood,” then map those values into the filename or folder structure based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Manual Trigger

Set the workflow’s entry point so you can manually run the music generation pipeline while testing.

  1. Add the Manual Launch Trigger node as the workflow trigger (this node has no required parameters).
  2. Connect Manual Launch Trigger to Retrieve Track Rows to match the execution flow.

Step 2: Connect Google Sheets

Pull prompts and durations from your spreadsheet and prepare the update destination for the generated audio URLs.

  1. Open Retrieve Track Rows and select your spreadsheet in Document with [YOUR_ID], and set Sheet to Foglio1.
  2. In Retrieve Track Rows, set a filter on URL so only rows missing URLs are fetched.
  3. Credential Required: Connect your googleSheetsOAuth2Api credentials in Retrieve Track Rows.
  4. Open Write Back URLs and set Operation to update, Document to [YOUR_ID], and Sheet to Foglio1.
  5. Map columns in Write Back URLs: set URL to {{ $json.webViewLink }} and row_number to {{ $('Batch Iterator').item.json.row_number }}.
  6. Credential Required: Connect your googleSheetsOAuth2Api credentials in Write Back URLs.

⚠️ Common Pitfall: If your Google Sheet ID is not updated from [YOUR_ID], the workflow will read or write to the wrong sheet.

Step 3: Set Up Batch Processing and Audio Generation

Process tracks one at a time, generate audio through the API, and control pacing with a delay loop.

  1. Connect Retrieve Track Rows to Batch Iterator to iterate rows one at a time.
  2. Connect the second output of Batch Iterator to Generate Audio Track to process each item in sequence.
  3. In Generate Audio Track, set URL to https://api.elevenlabs.io/v1/music and Method to POST.
  4. Set JSON Body to {
    "respect_sections_durations": true,
    "prompt": "{{ $json.PROMPT }}",
    "music_length_ms": {{ $json['DURATION (ms)'] }},
    "model_id": "music_v1"
    }
    .
  5. Under Query Parameters, set output_format to mp3_44100_128.
  6. Credential Required: Connect your httpHeaderAuth credentials in Generate Audio Track.
  7. Configure Delay Interval with Unit minutes and Amount 1, then connect Write Back URLs to Delay Interval and Delay Interval back to Batch Iterator to loop.

Step 4: Configure Output Storage

Save the generated audio file to Google Drive and pass the link back to the sheet.

  1. Connect Generate Audio Track to Store Audio File.
  2. In Store Audio File, set Name to song_{{$now.format('yyyyLLdd')}}.{{ $binary.data.fileExtension }}.
  3. Set Drive to My Drive and Folder to [YOUR_ID] (e.g., the n8n folder).
  4. Credential Required: Connect your googleDriveOAuth2Api credentials in Store Audio File.
  5. Connect Store Audio File to Write Back URLs to update the sheet with the file’s webViewLink.

Step 5: Test and Activate Your Workflow

Run the workflow end-to-end to verify audio generation and sheet updates.

  1. Click Execute Workflow on Manual Launch Trigger to start a test run.
  2. Confirm that Generate Audio Track returns audio data and Store Audio File creates a file in Google Drive.
  3. Verify Write Back URLs updates the URL column with the Drive webViewLink.
  4. Once successful, toggle the workflow to Active for production use.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Google Sheets credentials can expire or need specific permissions. If things break, check the Google connection in n8n’s Credentials area first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • ElevenLabs API calls can fail from missing Music access or an old API key. Regenerate the key in the ElevenLabs developer dashboard and confirm you’re sending it as the xi-api-key header.

Quick Answers

What’s the setup time for this Sheets Drive music automation?

About 30 minutes if your accounts are ready.

Is coding required for this music cataloging automation?

No. You’ll connect accounts and paste an API key. The rest is matching a few fields from your Google Sheet.

Is n8n free to use for this Sheets Drive music workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in ElevenLabs Music API usage costs, which depend on how many tracks you generate and how long they are.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I modify this Sheets Drive music workflow for different use cases?

Yes, and it’s usually just mapping changes. You can add columns like “mood,” “BPM,” or “campaign,” then use the Edit Fields (Set) step to build a richer filename or pick a Drive subfolder. If you’d rather trigger it automatically, you can swap the manual trigger for a Webhook trigger and only generate tracks when a row is marked “Ready.”

Why is my ElevenLabs connection failing in this workflow?

Most of the time it’s the API key or missing Music API access on your ElevenLabs account. Recreate the key in the ElevenLabs developer dashboard, then confirm n8n is sending it as the xi-api-key header in the HTTP Request node. If it fails only on bigger batches, you may be getting rate limited, so increase the wait time between requests.

What volume can this Sheets Drive music workflow process?

Practically, it can handle large catalogs, but it runs sequentially by design because of the built-in one-minute delay per track.

Is this Sheets Drive music automation better than using Zapier or Make?

Often, yes, if you’re generating lots of tracks or you need more control over looping and delays. n8n makes it straightforward to process rows one-by-one, wait between API calls, and only write back to Sheets when Drive upload succeeds. It’s also easier to self-host, which matters when you don’t want every track request counting as a paid task. Zapier or Make can be fine for simple “one row = one action” cases, but batching and error handling gets awkward. If you want a quick recommendation based on your volume and tools, Talk to an automation expert.

Once this is running, your spreadsheet stops being “notes” and starts being a real production queue. The workflow handles the repetitive file work so you can focus on the creative decisions that actually move the project forward.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal