Skip to main content

Automated πŸ€–πŸŽ΅ AI music generation with ElevenLabs, Google Sheets & Drive

Workflow preview

Workflow preview
100%
Automated πŸ€–πŸŽ΅ AI music generation with ElevenLabs, Google Sheets & Drive preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automates the creation, storage, and cataloging of AI generated music using the Eleven Music API , Google Sheets , and Google Drive . Ke...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.googledrive

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Automated πŸ€–πŸŽ΅ AI music generation with ElevenLabs, Google Sheets & Drive
Workflow name
Automated πŸ€–πŸŽ΅ AI music generation with ElevenLabs, Google Sheets & Drive

πŸ€–πŸŽ΅ This workflow automates the creation, storage, and cataloging of AI-generated music using the Eleven Music API, Google Sheets, and Google Drive.


Key Advantages

βœ… Fully Automated Music Generation Pipeline

Once started, the workflow automatically:

  • Reads track parameters
  • Generates music via API
  • Uploads the file
  • Updates your spreadsheet No manual steps needed after initialization.

βœ… Centralized Track Management

A single Google Sheet acts as your project control center, letting you organize:

  • Prompts
  • Durations
  • Generated URLs This avoids losing track of files and creates a ready-to-share catalog.

βœ… Seamless Integration with Google Services

The workflow:

  • Reads instructions from Google Sheets
  • Saves the MP3 to Google Drive
  • Updates the same Sheet with the final link This ensures everything stays synchronized and easy to access.

βœ… Scalable and Reliable Processing

The loop-with-delay mechanism:

  • Processes tracks sequentially
  • Prevents API overload
  • Ensures stable execution This is especially helpful when generating multiple long tracks.

βœ… Easy Customization

Because the prompts and durations come from Google Sheets:

  • You can edit prompts at any time
  • You can add more tracks without modifying the workflow
  • You can clone the Sheet for different projects

βœ… Ideal for Creators and Businesses

This workflow is perfect for:

  • Content creators generating background music
  • Agencies designing custom soundtracks
  • Businesses needing AI-generated audio assets
  • Automated production pipelines

How It Works

The process operates as follows:

  • The workflow starts manually via the "Execute workflow" trigger
  • It retrieves a list of music track requests from a Google Sheets spreadsheet containing track titles, text prompts, and duration specifications
  • The system processes each track request individually through a batch loop
  • For each track, it sends the text prompt and duration to ElevenLabs Music API to generate studio-quality music
  • The generated MP3 file (in 44100 Hz, 128 kbps format) is automatically uploaded to a designated Google Drive folder
  • Once uploaded, the workflow updates the original Google Sheets with the direct URL to the generated music file
  • A 1-minute wait period between each track generation prevents API rate limiting
  • The process continues until all track requests in the spreadsheet have been processed

Set Up Steps

Prerequisites:

  • ElevenLabs paid account with Music API access enabled
  • Google Sheets spreadsheet with specific columns: TITLE, PROMPT, DURATION (ms), URL
  • Google Drive folder for storing generated music files

Configuration Steps:

  1. ElevenLabs API Setup:

    • Enable Music Generation access in your ElevenLabs account
    • Generate an API key from the ElevenLabs developer dashboard
    • Configure HTTP Header authentication in n8n with name "xi-api-key" and your API value
  2. Google Sheets Preparation:

    • Create or clone the music tracking spreadsheet with required columns
    • Fill in track titles, detailed text prompts, and durations in milliseconds (10,000-300,000 ms)
    • Configure Google Sheets OAuth credentials in n8n
    • Update the document ID in the Google Sheets nodes
  3. Google Drive Configuration:

    • Create a dedicated folder for music uploads
    • Set up Google Drive OAuth credentials in n8n
    • Update the folder ID in the upload node
  4. Workflow Activation:

    • Ensure all API credentials are properly configured
    • Test with a single track entry in the spreadsheet
    • Verify music generation, upload, and spreadsheet update work correctly
    • Execute the workflow to process all pending track requests

The workflow automatically names files with timestamp prefixes (song_yyyyMMdd) and handles the complete lifecycle from prompt to downloadable music file.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - When clicking β€˜Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 4 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 5 - Get tracks

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Compose music

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Upload music

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 8 - Update Link tracks

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automated πŸ€–πŸŽ΅ AI music generation with ElevenLabs, Google Sheets & Drive
Complexity intermediate
Nodes 11
Categories Content Creation, Multimodal AI
Author Davide
Published 20 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11047/11047.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated πŸ€–πŸŽ΅ AI music generation with ElevenLabs, Google Sheets & Drive do?

This workflow automates the creation, storage, and cataloging of AI generated music using the Eleven Music API , Google Sheets , and Google Drive . Ke...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.