Kütüphane / E-posta Otomasyonu
E-posta Otomasyonu
Risk altındaki müşterilere Gemini ile günlük geri kazanım teklifleri gönder
Her gün Google Sheets'teki yüksek kayıp riskli müşterilere Gemini'nin yazdığı bir geri kazanım teklifi Gmail ile gönderilir ve tablo güncellenir.
Ne yapar
# 02. Generate & Send Win-Back Offer (Loop) Purpose: Processes each eligible customer found in the previous step individually within a loop. 1. Generate Offer (Gemini): Uses Google Gemini to create a personalized win-back offer (Informational, Bonus Points, or Discount) based on the customer's predicted_churn_score and preferred_categories. Outputs offer details in JSON format. 2. Log Sent Offer: Records the successful generation and intent to send the offer (action_taken, timestamp, customer_id) in the 'SYSTEM_LOG' Google Sheet. 3. Send Email (Gmail): Sends the generated offer details (offer_title and offer_details) via email to the customer's user_mail. The loop continues until all eligible customers are processed.
Adımlar
- Scheduled Start: Daily Churn Check
- Fetch Customer Data from Sheet
- Filter High Churn Risk & No Campaign Customers
- Check if Eligible Customers Found
- Process Each Eligible Customer
- Generate Win-Back Offer
- (LLM Model for Offer Generation)
- (Parse Offer JSON)
- Log Sent Offer in System Log
- Send Win-Back Offer via Email
- Set 'Not Found' Status
- Log 'Not Found' in System Log
Benzer otomasyonlar
Kod, Git ve Geliştirici AraçlarıGitLab Birleştirme İsteklerini İncele ve Claude ile Riski Değerlendir14 adımİzleme, Operasyon ve OlaylarTedarikçi Riskini Günlük Puanla ve Uyarıları E-postayla Gönder14 adımGüvenlik ve UyumlulukEDR ve Güvenlik Açığı Verilerinden Uç Nokta Risk Puanlarını Toplama8 adımGüvenlik ve UyumlulukGPT-4o ve SerpAPI ile URL Dolandırıcılık Riskini Değerlendir17 adım