n8n

How to Automate OpenAI Prospecting Emails?

Collect a prospect’s name and company, find their profile and website, and send a tailored follow up email in minutes. Great for sales teams that want fast research and clear next steps without switching tabs.

A simple form starts the flow. The workflow builds Google searches for LinkedIn and the company site, fetches the result pages with Bright Data, then extracts page content. OpenAI reads those pages to pull structured details for the person and the company. Filters keep only the best match and stop if nothing fits. If a match is found, both data sets are merged and OpenAI writes a follow up that ties the person’s role to the company context. The email is sent over SMTP and the form confirms the result.

You need Bright Data, an OpenAI API key, and an SMTP email account. Set your country in Bright Data if you care about local results, and map your form email field to the email node. Expect a sharp drop in research time, often from 20 minutes to under 3 minutes per lead. This works well for SDR teams, founders doing outreach, and agencies that qualify leads before a first call.

What are the key features?

  • Form intake collects full name, company, and recipient email to start the process
  • Search builders create Google queries for LinkedIn profiles and company domains
  • Bright Data fetches Google result pages with country selection for regional accuracy
  • HTML extraction grabs page title and body to feed clean text to the model
  • OpenAI parses search pages into structured results for people and companies
  • Filters and limit nodes keep only the best matching profile and avoid noise
  • If branch returns a clear form response when no match is found
  • Merge node combines person and company insights into one record
  • OpenAI drafts a personalized follow up using both person and company context
  • SMTP email node sends the message and confirms success to the form

What are the benefits?

  • Reduce manual research from 20 minutes to 3 minutes per lead
  • Automate about 80 percent of prospect prep work
  • Lower mismatched profile picks with strict name and company filters
  • Handle up to 10 times more prospects with the same team size
  • Connect search data, profile details, and email sending in one flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Bright Data, OpenAI and SMTP. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a Bright Data credential. Double click the Bright Data nodes, choose 'Create new credential' under 'Credential to connect with', and follow the on screen steps. Set your preferred country and zone if needed.
  4. Create an OpenAI API credential. Double click each OpenAI node, choose 'Create new credential', paste your API key from the OpenAI account API page, and pick your preferred model.
  5. Add an SMTP credential for your email provider. Double click the Send Email node, choose 'Create new credential', then enter SMTP host, port, username, and password. Send a test email to confirm it works.
  6. Open the Form Trigger node. Confirm the path is set and the form fields match your needs. Keep response mode set to send the final message back to the form.
  7. Map the recipient email. In the Send Email node, set the To field to the email value from the form so the follow up goes to the right inbox.
  8. Adjust search settings if needed. In the Bright Data nodes, pick the correct country and zone to get local results for your market.
  9. Run a full test. Open the public form URL with the path shown in the Form Trigger node, submit a known name and company, and check the execution for a found profile and a sent email.
  10. Troubleshoot matching. If no profile is found, relax or refine the filter conditions or try a different name format. Check the Limit node if you want more than one match.
  11. Troubleshoot email delivery. If the email does not arrive, verify SMTP credentials, from address, and DNS records like SPF and DKIM with your provider.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Bright Data

Sign up

Pay as you go: $1.5 per 1K records (Web/LinkedIn Scraper API)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.