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).