Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Find and score event and speaker opportunities with Gumloop, Supabase, and OpenAI

When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Gmail, Postgres.

What it does

## Find event and speaker opportunities with Gumloop, Supabase, and OpenAI ### How it works This workflow accepts search requests from a Lovable front end, creates a temporary result record in Supabase/Postgres, immediately returns a request ID, and triggers the appropriate Gumloop search for event or speaker opportunities. When Gumloop calls back, it loads the original context, scores the returned results, updates the stored result row, optionally emails the user, and responds to the callback. Separate webhook endpoints let the front end poll for completed results and generate an AI-written outreach email draft through OpenAI. ### Setup steps - Configure the Lovable/front-end app to call the request, results, and draft-email webhook URLs exposed by this n8n workflow. - Set up Supabase/Postgres credentials in n8n and create/configure the tables used for temporary result rows and subscriber email capture. - Add Gumloop API credentials or headers to the Gumloop HTTP request nodes, and configure Gumloop to send completed search callbacks to the callback webhook URL. - Configure Gmail credentials for the results email sender node if email delivery is enabled. - Configure the OpenAI API key in the draft-email HTTP request node and confirm the model/request body matches your desired drafting behavior. ### Customization Adjust the input normalization, search-parameter building, scoring code, email HTML template, and OpenAI prompt/model to match your opportunity criteria, branding, and outreach style.

The steps

  1. Receive Opportunity Requests
  2. Normalize Incoming Data
  3. Insert Temp Search Record
  4. Generate Search Parameters
  5. Confirm Reception to Sender
  6. Route by Search Mode
  7. Check for Provided Email
  8. Store Subscriber Email
  9. Initiate Gumloop Event Search
  10. Verify Event Trigger Success
  11. Initiate Gumloop Speaker Search
  12. Verify Speaker Trigger Success
  13. Log Trigger Failure
  14. Receive Gumloop Callback

35 steps in total.

Similar automations