Classify property support emails with Groq, Slack, Gmail and Airtable
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs when a new email arrives over IMAP. Along the way it connects Slack, Gmail, Airtable and Google Sheets. It also calls api.groq.com over HTTP.
How it runs
Trigger: When a new email arrives over IMAP.
- Cleanse Email Content (Code): runs custom JavaScript code
- Classify Email with Groq (HTTP Request): calls api.groq.com (POST)
- Extract Classification and Sender (Code): runs custom JavaScript code
- Handle Classification Errors (Code): runs custom JavaScript code
- Route by Team Type (Switch): routes items into 5 branches
- Alert Maintenance Team via Slack (Slack): uses Slack
- Alert Tenant Relations via Slack (Slack): uses Slack
- Alert Viewings Team via Slack (Slack): uses Slack
- Alert Enquiries Team via Slack (Slack): uses Slack
- Record and Ignore Spam (Code): runs custom JavaScript code
…plus 7 more steps. See the full node list below.
Services it uses
HTTP calls to: api.groq.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Airtable
n8n-nodes-base.airtable - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow monitors an IMAP inbox, uses Groq to classify property support emails and draft replies, then routes tickets to Slack channels, creates a Gmail draft, and logs the ticket to Airtable with a Google Sheets backup when Airtable…