Templates / Gate film and TV music cue rights clearance with Gmail, OpenAI, and Google Drive/Sheets

Gate film and TV music cue rights clearance with Gmail, OpenAI, and Google Drive/Sheets

Ready for 3.0

by Swapnil Mandloi ✓ · 2 views · created 2026-09-14 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 22 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model, Google Drive and Google Sheets. It also calls rights.example, labels.example and production.example over HTTP.

How it runs

Trigger: On Gmail events.

  1. Normalize Production and Cue Text (Code): runs custom JavaScript code
  2. Extract Music Cue Rights (Information Extractor): extracts structured fields from text with AI, with model: Power Cue Sheet Extractor
  3. Validate Extracted Cues (Code): runs custom JavaScript code
  4. Fetch PRO Work Registrations (HTTP Request): calls rights.example (POST)
  5. Fetch Master Ownership Claims (HTTP Request): calls labels.example (POST)
  6. Merge: merges the data from its input branches
  7. Calculate Clearance Gaps (Code): runs custom JavaScript code
  8. Draft Rights Clearance Packet (Basic LLM Chain): sends a prompt to an LLM, with model: Power Clearance Packet Drafter
  9. Build Supervisor Review Packet (Code): runs custom JavaScript code
  10. Send Packet for Music Supervisor Approval (Gmail): uses Gmail

…plus 9 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelGoogle DriveGoogle Sheets

HTTP calls to: rights.example, labels.example, production.example

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Watch Incoming Cue Sheets).

Nodes used (12)

From the author

Quick overview This workflow monitors Gmail for cue-sheet emails, extracts music-rights data via OpenAI, and cross-checks internal rights APIs. It compiles a clearance packet for supervisor approval, routes gaps or commits approved records to production, and…

Excerpt from Swapnil Mandloi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.