{"product_id":"gmail-music-cue-sheet-clearance-workflow-n8n-openai","title":"Gmail Music Cue Sheet Clearance Workflow (n8n + OpenAI)","description":"\u003ch3\u003eClear music rights from cue-sheet emails—automatically\u003c\/h3\u003e\n\u003cp\u003eThe \u003cstrong\u003eGmail Music Cue Sheet Clearance Workflow (n8n + OpenAI)\u003c\/strong\u003e monitors your inbox for cue-sheet and music clearance emails, extracts structured rights data with \u003cstrong\u003eOpenAI\u003c\/strong\u003e, cross-checks it against internal rights APIs, and prepares a supervisor approval clearance packet. Approved records are committed to production; gaps are routed for follow-up—while evidence is archived to \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e and logged in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMonitors Gmail every minute\u003c\/strong\u003e for emails whose subjects contain \u003cem\u003e“cue sheet”\u003c\/em\u003e or \u003cem\u003e“music clearance”\u003c\/em\u003e and that include at least one attachment.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes cue text\u003c\/strong\u003e by combining the email body into a single cue field.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts cue + rights metadata\u003c\/strong\u003e using \u003cstrong\u003eOpenAI\u003c\/strong\u003e (e.g., production, cues, territories, media, and term).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVerifies against internal evidence\u003c\/strong\u003e by calling \u003cstrong\u003etwo HTTP APIs\u003c\/strong\u003e: matching PRO work registrations and master ownership claims.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalculates clearance gaps\u003c\/strong\u003e (e.g., missing writer share totals, missing master owner, or missing sync quote) and assigns a risk status.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a supervisor-ready packet\u003c\/strong\u003e as rights clearance \u003cstrong\u003eJSON\u003c\/strong\u003e (preserving any gaps) and emails it via \u003cstrong\u003eGmail\u003c\/strong\u003e for approval.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes outcomes after webhook approval\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eApproved: \u003cstrong\u003ecommits\u003c\/strong\u003e clearance via an HTTP API.\u003c\/li\u003e\n      \u003cli\u003eGaps: emails the gap list to a \u003cstrong\u003erights coordinator\u003c\/strong\u003e for follow-up.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArchives evidence\u003c\/strong\u003e by saving the final clearance evidence JSON to \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e and appending packet details to an \u003cstrong\u003e“Audit Log”\u003c\/strong\u003e tab in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRights teams processing daily cue-sheet submissions without manual copying and checking.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building a Gmail-to-approval workflow for music clearance workflows.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators who need audit-ready evidence trails for approvals, commits, and gap resolution.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\u003c\/strong\u003e include \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003ewait\u003c\/strong\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, and \u003cstrong\u003emerge\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses \u003cstrong\u003eOpenAI\u003c\/strong\u003e for structured extraction and packet JSON drafting.\u003c\/li\u003e\n  \u003cli\u003eCalls \u003cstrong\u003etwo HTTP APIs\u003c\/strong\u003e to fetch PRO work registrations and master ownership claims.\u003c\/li\u003e\n  \u003cli\u003eRequires \u003cstrong\u003eGmail OAuth2\u003c\/strong\u003e setup and configuration of recipient(s).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46029537640627,"sku":"N8N-19579","price":5.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/830D1ArfRwI9xZYCMjOti_5H5r4UOi.png?v=1789463977","url":"https:\/\/buyflowscripts.com\/products\/gmail-music-cue-sheet-clearance-workflow-n8n-openai","provider":"N8N Commerce","version":"1.0","type":"link"}