Quick overview
This workflow runs every 6 hours to pull unprocessed contacts from GetProspect, uses DeepSeek via an n8n AI Agent to qualify targets and generate a personalized email hook, updates the contact in GetProspect, and pushes qualified leads into an Instantly campaign.
How it works
- Runs every 6 hours on a schedule.
- Searches GetProspect for contacts where the custom “processed” field is not set to “Yes”, then loads full details for each contact.
- Normalizes the contact and company fields and sends them to a DeepSeek-powered AI Agent to decide whether the contact is a target based on title and company size.
- Parses the AI output as JSON, updates the contact in GetProspect with “processed”, “is_target”, and “reasoning”, and categorizes results based on target status and email verification status.
- For qualified targets with a valid email, sends the profile summary and/or company description to DeepSeek to generate a one-sentence personalization hook.
- Parses the hook output as JSON and creates/updates the lead in Instantly by adding it to the specified campaign with the generated personalization.
Setup
- Add your GetProspect API key in the GetProspect HTTP Request nodes and ensure your contacts schema includes the “processed”, “is_target”, and “reasoning” properties.
- Add your DeepSeek API credentials in the DeepSeek Chat Model node.
- Add your Instantly API key in the Instantly HTTP Request node and replace UPDATE_YOUR_CAMPAIGN_ID with your target Instantly campaign ID.