# Reply to Arabic sales inquiries with Gmail and Ollama

> Quick overview This workflow monitors a Gmail inbox for unread messages from a specified sender, extracts and cleans the email content, uses an Ollama (Qwen) model to classify sales inquiries in Arabic and draft replies, and automatically replies in Gmail only when a reply draft is produced. How it works 1. Checks the Gmail inbox every minute for unread messages that match the configured sender filter. 2. Extracts sender, subject, headers, and body text, cleans the content, and flags basic attributes like attachments and reply/forward status. 3. Sends the cleaned email details to an Ollama chat model (qwen3.5:4b) to classify the message as actionrequired or followup and generate an Arabic reply draft when appropriate. 4. Parses the model output into structured fields (category and replyDraft) and merges it back with the original Gmail metadata. 5. Routes emails by category and continues only for actionrequired messages. 6. Checks that replyDraft is not empty and replies to the original

- **Domain**: `n8n-workflow-22755.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22755
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22755.n8n.io
- Documentation: https://n8n.io/workflows/22755
