The standalone lead generation bot is implemented in Telegram using Python.
The solution integrates several powerful APIs and uses a large language model for data analysis.
The process is fully automated:
Search: Upon receiving a request, the bot uses a tool to search for companies online and collect a list of their websites.
Parsing: A special module parses the collected websites to extract key contact information (email, phone numbers) and company information (description, services).
Analysis: The extracted data is fed into a large language model, which analyzes the company's business and generates unique automation ideas.
Text generation: Based on the analysis, the AI automatically creates a draft of a personalized welcome email for each lead.
Export: All received data (company name, website, contacts, analysis, ideas, and email draft) is structured and saved to a specified Google Sheet via the Google Sheets API.
Email distribution: After reviewing the prepared emails and confirming the user's approval, the bot sends the emails to the recipients.