Bibliothek / E-Mail-Automatisierung
E-Mail-Automatisierung
Draft and approve Gmail replies with OpenAI, Cognee, Slack, and Google Sheets
When a new email arrives, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, Slack, Cognee.
Was sie bewirkt
## 📧 Cognee Agentic Email Reply Drafter – RAG-Powered Gmail AI ### How it works This workflow turns your Gmail inbox into a self-drafting AI assistant. When a new email arrives, it first filters out automated senders (newsletters, no-reply addresses). The remaining emails are classified by GPT-4o-mini — only emails that genuinely need a human reply are processed further. For those, a RAG-powered Draft Reply Agent (backed by GPT-4o-mini and a Cognee company knowledge base tool) generates a contextually grounded reply. The draft is saved to Gmail, then sent to Slack for human approval. An approver clicks Approve or Reject — approved drafts are marked ready to send, rejected ones are flagged for revision. Both outcomes are logged to Google Sheets. A global error handler sends any failure to Slack. ### Setup steps 1. Connect Gmail OAuth2 to New Email Received and Create Gmail Draft. 2. Connect OpenAI API to both OpenAI Chat Model nodes. 3. Connect Cognee API to Search Company Brain (Cognee) — configure your dataset. 4. Connect Slack API to Request Approval in Slack — replace YOUR_SLACK_CHANNEL_ID. 5. Connect Slack OAuth2 to Notify Error in Slack — replace YOUR_SLACK_ERROR_CHANNEL_ID. 6. Connect Google Sheets OAuth2 to Log to Google Sheet — replace YOUR_GOOGLE_SHEET_ID. 7. Activate the Gmail trigger.
Die Schritte
- Request Approval in Slack
- Approved?
- Mark Approved
- Mark Rejected
- Log to Google Sheet
- New Email Received
- Is Automated Sender?
- Skip - Automated Sender
- Classify: Needs Reply?
- OpenAI Chat Model (Classifier)
- Reply Classification Schema
- Needs a Reply?
- Skip - No Reply Needed
- OpenAI Chat Model (Drafting)
Insgesamt 20 Schritte.
Ähnliche Automatisierungen
E-Mail-AutomatisierungGenerate GoHighLevel deal follow-up actions with OpenAI and Cognee16 SchritteE-Mail-AutomatisierungDraft and approve Gmail replies and follow-ups with OpenAI31 SchritteSocial-Media-VeröffentlichungSocial-Media-Posts aus Google Sheets mit PostWire und Gmail entwerfen und per E-Mail freigeben lassen16 SchritteE-Mail-AutomatisierungMehrsprachige Gmail-Antwortentwürfe mit GPT-4o11 Schritte