Quick overview
This workflow receives inbound B2B leads via a webhook, uses Groq’s chat model to score and categorize them (hot/warm/cold) and draft a first reply, then routes the lead to a category-specific branch and returns the result as JSON.
How it works
- Receives a lead submission via an HTTP POST webhook.
- Sends the lead details (name, company, email, budget, message) to Groq Chat Model to extract a structured score, category, intent, reasoning, and reply draft.
- Shapes the extracted fields into a clean JSON payload for downstream routing.
- Routes the lead based on the AI-provided category into hot, warm, cold, or a fallback manual-review path.
- Adds a category-specific next-action note for the chosen route (placeholder for CRM, Slack, or email actions).
- Returns the routed lead payload (including score, category, and reply draft) as the webhook response.
Setup
- Create and select a Groq API credential in the Groq Chat Model node.
- Update the webhook path (and add authentication if needed) and configure your lead source to POST to the webhook URL.
- Customize the qualification rules in the Groq system prompt (for example, budget threshold and what counts as hot/warm/cold).
- Replace the placeholder branch steps with real actions (for example, Slack alerts, CRM creation, or sending the drafted email).