Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. When Lead Data Received
  2. Prepare AI Prompt
  3. Post to Groq API
  4. Parse and Qualify Leads
  5. Return Lead Qualification

Similar automations