İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

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

  1. When Lead Message Received
  2. Parse WhatsApp Payload
  3. Remove Duplicate Messages
  4. Check for Skip Condition
  5. Log Skipped Lead Message
  6. Upsert Lead in Sheets
  7. Restore Original Payload
  8. Check for Location Message
  9. Send Location Alert to Telegram
  10. Route by Keyword
  11. Check for Direct Field Signal
  12. Send Direct Lead Alert
  13. Check AI Relevance
  14. Log Ignored Message

Toplam 23 adım.

Benzer otomasyonlar