π£ Draft funding-based cold email openers with Datahyena and OpenAI GPT-4o
β‘ 4 views Β· π£ Lead Generation & Enrichment
Description
Quick overview
This workflow runs daily at 9am to fetch recent $1M+ funding events from Datahyena, uses OpenAI Chat Completions to generate a two-sentence cold email opener referencing each raise, and outputs a structured draft record with company and funding details.
How it works
- Runs every morning at 9am on a schedule.
- Requests up to 15 funding events from the last day from the Datahyena Funding Events API, filtered to rounds with at least $1M raised.
- Splits the API response so each funding event is processed individually.
- Sends the company and funding details to the OpenAI Chat Completions API to generate a concise, funding-aware cold email opener.
- Outputs a cleaned draft object containing the company name, domain, round, amount, announcement date, and generated opener text.
Setup
- Add an HTTP Header Auth credential for Datahyena (header
X-API-Key) and select it in the Datahyena request step. - Add an HTTP Header Auth credential for OpenAI (header
Authorization: Bearer <YOUR_OPENAI_KEY>) and select it in the OpenAI request step. - Update the prompt text in the OpenAI request to replace βEDIT THIS WITH WHAT YOU SELLβ with your actual offer.
- Optionally connect a destination after the final output to store or send drafts (for example Google Sheets, Gmail, or a CRM).
π Nodes Used
HTTP Request, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File