{"product_id":"gumloop-supabase-n8n-workflow-event-speaker-search-scoring","title":"Gumloop + Supabase n8n Workflow: Event \u0026 Speaker Search Scoring","description":"\u003ch3\u003eTurn event and speaker searches into scored opportunities—automatically (Gumloop + Supabase in n8n)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow accepts event or speaker search requests via webhook, runs them through \u003cstrong\u003eGumloop\u003c\/strong\u003e, then stores, \u003cstrong\u003escores\u003c\/strong\u003e, and sorts the results in \u003cstrong\u003eSupabase (Postgres)\u003c\/strong\u003e. It can also email the formatted results via \u003cstrong\u003eGmail\u003c\/strong\u003e and provide a separate webhook to generate an outreach email draft using \u003cstrong\u003eOpenAI\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives search requests\u003c\/strong\u003e from a Lovable app through a \u003cstrong\u003ePOST webhook\u003c\/strong\u003e, including mode-specific parameters (event: industry\/location\/vendor type; speaker: topic\/context\/location). Inputs are validated and normalized.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a “running” tracking record\u003c\/strong\u003e in Supabase to monitor progress, then immediately returns a \u003cstrong\u003erequest_id\u003c\/strong\u003e for polling.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptionally stores requester email\u003c\/strong\u003e in a Supabase subscribers table, then triggers the appropriate Gumloop flow via an HTTP request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles Gumloop callbacks\u003c\/strong\u003e: when Gumloop returns results (including \u003cstrong\u003erequest_id\u003c\/strong\u003e and a results array), the workflow retrieves the original request context from Supabase.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScores and sorts results\u003c\/strong\u003e: event results are scored using \u003cstrong\u003edeadlines\u003c\/strong\u003e, and speaker results are scored using \u003cstrong\u003erecency\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUpdates Supabase status\u003c\/strong\u003e to completed, and optionally sends results by \u003cstrong\u003eGmail\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProvides retrieval webhooks\u003c\/strong\u003e: a \u003cstrong\u003eGET results webhook\u003c\/strong\u003e returns status, stored results, and any error by \u003cstrong\u003erequest_id\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDRAFTS outreach emails\u003c\/strong\u003e: a \u003cstrong\u003ePOST draft-email webhook\u003c\/strong\u003e sends opportunity details to \u003cstrong\u003eOpenAI Chat Completions\u003c\/strong\u003e and returns a JSON subject + body.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eBuild an n8n-powered SaaS search endpoint that converts event\/speaker discovery into ranked opportunities in Supabase.\u003c\/li\u003e\n  \u003cli\u003eGenerate timely speaker shortlists where scoring prioritizes \u003cstrong\u003erecency\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eAutomate outbound workflows: store scored results, email them to prospects, then create an OpenAI outreach draft.\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: webhook, if, code, switch, gmail, postgres\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData store\u003c\/strong\u003e: Supabase\/Postgres (tracks request lifecycle, results, and optional subscribers)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSearch engine\u003c\/strong\u003e: Gumloop via HTTP, with callback processing and request_id correlation\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmail\u003c\/strong\u003e: Gmail (optional formatted results delivery)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI drafting\u003c\/strong\u003e: OpenAI Chat Completions API for outreach email subject\/body\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46066361991347,"sku":"N8N-19748","price":59.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Nw3cMYFz3WJxNByKcnuJK_n7Mx8jnO.png?v=1789895068","url":"https:\/\/buyflowscripts.com\/products\/gumloop-supabase-n8n-workflow-event-speaker-search-scoring","provider":"N8N Commerce","version":"1.0","type":"link"}