Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Track complaint SLAs and escalation alerts with Gmail and data tables

When an API call/webhook arrives, it handles email using Data Table, Gmail.

What it does

## Own complaints and track response deadlines ### How it works 1. Accepts authenticated complaint metadata and stores one case per tenant and source reference, detecting conflicting retries. 2. Assigns an owner and escalates unanswered ownership requests through three internal roles. 3. Tracks an explicit response deadline supplied with a policy reference; missing deadlines become a visible review alert. 4. Keeps response-deadline alerts running after ownership acknowledgement and stops them only after an authenticated close action with a resolution reference. 5. Records alert intent before Gmail and preserves uncertain sends for manual reconciliation. ### Setup steps - [ ] Create and select the Complaint_Cases and Complaint_Alerts Data Tables using the README schemas. - [ ] Configure separate intake and per-owner tokens in n8n Variables. - [ ] Set the three internal owner email variables and connect Gmail OAuth. - [ ] Supply opaque source references, explicit timestamp offsets and a reviewed response deadline. - [ ] Test synthetic intake, acknowledgement, closure and deadline alerts before activation. ### Customization Adjust ownership SLA hours, internal recipients and the 15-minute sweep. Response deadlines come from your policy process; this template does not calculate statutory periods or decide complaints. Keep delivery serialized and review any uncertain send before retrying.

The steps

  1. Complaint Intake Webhook
  2. Authenticate Complaint Intake
  3. Intake Authorized?
  4. Reject Intake Authentication
  5. Normalize Complaint Metadata
  6. Complaint Metadata Valid?
  7. Find Existing Complaint
  8. Resolve Complaint Identity
  9. Create New Complaint?
  10. Insert Complaint Case
  11. Verify Complaint Persistence
  12. Respond Complaint Intake
  13. Complaint Owner Action Webhook
  14. Authenticate Complaint Owner

41 steps in total.

Similar automations