Library / Documents, PDF & OCR
Documents, PDF & OCR
Score and qualify B2B leads via webhook with Groq Chat Completions
When an API call/webhook arrives, it reads and extracts data from documents with Groq and OpenAI / ChatGPT using Groq.
What it does
## AI Lead Qualification ### How it works This workflow receives lead data through a webhook, formats it into a prompt, and sends it to Groq's chat completions API for AI-based qualification. It then parses the AI response into a qualification result and returns that result directly to the webhook caller. ### Setup steps - Configure the Webhook node with the desired HTTP method and production/test URL settings for incoming lead submissions. - Add the Groq API key or authorization header in the Call Groq HTTP Request node, and verify the model and endpoint are correct. - Review the Build prompt code to ensure it maps the incoming lead fields expected by your form, CRM, or app. - Confirm the Parse & qualify code extracts the Groq response format correctly and returns the fields expected by the webhook response. ### Customization Adjust the lead qualification criteria, scoring rules, and prompt wording in the Build prompt and Parse & qualify code nodes. You can also change the Groq model or API parameters in the HTTP Request node.
The steps
- When Lead Data Received
- Prepare AI Prompt
- Post to Groq API
- Parse and Qualify Leads
- Return Lead Qualification
Similar automations
Lead Generation & EnrichmentFind B2B Leads with Apollo and Groq12 stepsAI Agents & AssistantsQualify and score web form leads with Groq, Google Sheets, Telegram and Slack10 stepsLead Generation & EnrichmentQualify B2B leads in Google Sheets with Jev AI, then route via Slack or Gmail16 stepsLead Generation & EnrichmentQualify Google Maps B2B leads with Apify and log them to Google Sheets13 steps