At Tech4Biz Solution, we’ve streamlined our lead management process by integrating our CRM with HookPilot and ChatGPT to automatically score incoming leads, justify the score, and send personalized follow-up emails—all without human intervention.
Here’s how we did it:
We set up a webhook trigger in HookPilot to receive lead data directly from our CRM whenever a new lead is created. This data typically includes:
This webhook acts as the starting point for our automation.
After receiving the lead data, we send it to ChatGPT via HookPilot’s HTTP request action. A prompt like this is used:
“You are an intelligent assistant. Based on the following lead message, score the lead from 1 to 10 and provide a short justification.”
ChatGPT responds with something like:
{
“score”: 8,
“justification”: “The user has clearly expressed interest in our DevOps automation services and is looking for an immediate solution.”
}
This provides us a consistent, intelligent method of automated lead qualification.
Since ChatGPT returns the score and justification in JSON format, we added a parse step in HookPilot using a small JavaScript snippet to cleanly extract the fields:
export const code = async (params) => {
return { …JSON.parse(params.content), num: Math.floor(Math.random() * 100000) };
};
This lets us reuse the score and justification in emails and logging.
We use HookPilot’s email action to send the parsed score and justification to my inbox at jassim.mohammed@tech4biz.io. This email contains:
This gives us immediate insight into every lead’s quality.
We again call ChatGPT, this time with a new prompt:
“Based on this lead and its score, write a friendly and professional follow-up email encouraging them to book a call.”
GPT replies with:
json
CopyEdit
{
“emailBody”: “Hi [Lead Name], thanks for reaching out to Tech4Biz…”,
“emailRecipient”: “lead@example.com”,
“emailSubject”: “Thanks for contacting Tech4Biz!”,
“emailSignature”: “Jassim Mohammed\nDevOps Engineer, Tech4Biz Solution”
}
HookPilot parses this content and automatically sends a personalized follow-up email to the lead with the GPT-generated content. This keeps the conversation going while we sleep.
Parsed follow-up email is sent to the lead.
This system saves us hours every week and ensures no lead gets ignored.
If you’re using HookPilot, this is a lightweight yet powerful way to bring AI into your sales funnel with no middleware or bloated platforms.
DevOps Engineer at Tech4Biz,
contributing to the development and Built a no-code workflow using HookPilot to automate content creation. When a new content link is added to Google Sheets, ChatGPT summarizes it and generates a polished content which is then published in real-time via API—saving hours of manual work and ensuring consistent.