Email Automation
Track loan applications and send SLA alerts with Sheets, Gmail, Slack and Gemini
On a schedule, it handles email with Google Gemini using Gmail, Google Sheets, Slack.
What it does
## Loan Application Notification & Monitoring The workflow checks the Application Tracker every 30 minutes for application status changes. Changed applications are evaluated for SLA breaches and high-value loans. SLA breaches trigger a Slack alert, while high-value applications are escalated to the manager by email. For status changes, Gemini generates a personalized applicant email which is sent through Gmail. Failed emails are automatically retried up to 3 times and permanently logged when retries are exhausted. A separate weekday 6 PM schedule aggregates the complete application pipeline and uses Gemini to generate a daily management digest. ### Setup Connect Google Sheets, Gmail, Slack, and Google Gemini credentials. Configure the Application Tracker sheet with application/status fields. Set MANAGER_EMAIL as an n8n environment variable. Verify the Slack #loan-alerts channel and permissions. Adjust the 3-day SLA and ₹2,000,000 high-value threshold if required. Activate the workflow and verify both applicant notifications and the daily report.
The steps
- Schedule Trigger (30min)
- Read Application Tracker
- Detect Changes + SLA + High Value
- Wait 5 Min Before Retry
- Increment Retry Counter
- Log Failed Email to Sheet
- Update Last Notified Status
- Schedule Trigger (6PM Daily)
- Read All Rows for Daily Report
- Aggregate Daily Stats
- Combine SLA & Normal Applications
- Continue Application Processing
- Process Applications
- Generate Applicant Status Email
27 steps in total.
Similar automations
Forms & SurveysRoute and track Typeform leads in Airtable and Slack with Gmail SLA alerts27 stepsEmail AutomationTriage support emails and schedule SLA tasks with Gmail, Gemini, Google Calendar, Sheets10 stepsCRM & Sales PipelineManage Loan Agency Leads with Twilio, Sheets and Drive8 stepsEmail AutomationB2B Demo Lead Rescue Desk: Enrich, Score, Route, and SLA Escalate20 steps