GenAiHub

Last checked 23 October 2026 — responded normally.

Score and qualify B2B leads via webhook with Groq Chat Completions

Quick overview

Live
Open / InstallLast updated October 23, 2026

Description

Quick overview This workflow receives lead details via a webhook and sends them to Groq’s OpenAI-compatible Chat Completions API to score and qualify the lead, then returns a structured JSON response with score, tier, recommended next action, and reasons. How it works Receives a POST request on the /ai-lead-qualification webhook containing lead details in the request body. Builds a chat prompt that asks Groq to score the lead (0–100) on budget/authority/fit/urgency/detail and return only a JSON object with qualification fields. Calls Groq’s Chat Completions endpoint with the openai/gpt-oss-120b model and requests a JSON-formatted response. Parses Groq’s response, applies defaults if fields are missing, and maps the result to a consistent output schema (score, tier, qualified, recommended_action, reasons). Returns the qualification result as a JSON response to the original webhook request. Setup Create a Groq API key and add it as an HTTP Header Auth credential used by the HTTP request to https://api.groq.com/openai/v1/chat/completions. Copy the production webhook URL for /ai-lead-qualification and configure your form/app/CRM to send lead data as a POST request body to that URL. Ensure the webhook payload includes the expected fields (for example name, email, company, role, budget, need, source, message) so the prompt has enough context to score the lead. An n8n automation workflow template by Bhupesh Mohan.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Bhupesh Mohan

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • http-request
  • code

Capabilities

  • 2 nodes

Information

TypeWorkflow
Sourcen8n
AddedSeptember 6, 2026

Comments

?

Others in the same category, ranked by how often they are opened.