Kütüphane / Yapay Zekâ Ajanları ve Asistanlar
Yapay Zekâ Ajanları ve Asistanlar
Route WhatsApp leads and location alerts with Google Sheets, Gemini, and Telegram
When an API call/webhook arrives, it runs an AI agent with Google Gemini using Google Sheets, Telegram.
Ne yapar
## WhatsApp Lead Router with Location Alerts and AI Qualification ### How it works This workflow receives WhatsApp events from Evolution API, normalizes and deduplicates each message, and records usable leads in Google Sheets. It branches location messages and direct keyword signals into Telegram alerts, then sends other relevant messages through a Gemini-powered AI qualification step. AI results are validated, hot leads trigger Telegram alerts, and invalid or lower-confidence cases are handled by conservative fallback or logging paths. ### Setup steps - Configure the Evolution API webhook to point to the n8n Webhook URL and ensure incoming WhatsApp payloads match the normalization code expectations. - Connect Google Sheets credentials and set the target spreadsheet, sheet, and lead identifier columns for the upsert step. - Connect Telegram bot credentials and configure the chat IDs used for location, direct lead, AI hot lead, and fallback alerts. - Configure Google Gemini credentials for the AI Agent's chat model and review the agent prompt/output format so it matches the parsing and validation code. - Review the code nodes for deduplication storage, payload restoration, routing keywords, and logging behavior before activating the workflow. ### Customization Adjust the keyword routing, direct field signal rules, AI qualification prompt, hot lead criteria, fallback rules, and Telegram destinations to match the sales process and urgency thresholds.
Adımlar
- When Lead Message Received
- Parse WhatsApp Payload
- Remove Duplicate Messages
- Check for Skip Condition
- Log Skipped Lead Message
- Upsert Lead in Sheets
- Restore Original Payload
- Check for Location Message
- Send Location Alert to Telegram
- Route by Keyword
- Check for Direct Field Signal
- Send Direct Lead Alert
- Check AI Relevance
- Log Ignored Message
Toplam 23 adım.
Benzer otomasyonlar
Yapay Zekâ Ajanları ve AsistanlarQualify Facebook leads and run WhatsApp outreach with GoHighLevel, Redis and Gemini18 adımYapay Zekâ Ajanları ve AsistanlarRoute webinar leads to sales with Google Sheets, Google Gemini, and Slack23 adımUyarılar ve BildirimleriPhone Varışları için Konum Tabanlı Telegram Hatırlatıcısı3 adımYapay Zekâ Ajanları ve AsistanlarQualify and route inbound leads with GPT-4.1, HubSpot, Google Calendar and Slack38 adım