This workflow follows the Emailreadimap → Emailsend recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"id": "1",
"name": "Email Trigger",
"type": "n8n-nodes-base.emailReadImap",
"typeVersion": 1,
"position": [
200,
300
],
"parameters": {
"mailbox": "INBOX",
"downloadAttachments": false
}
},
{
"id": "2",
"name": "Analyse IA",
"type": "n8n-nodes-base.aiTextClassifier",
"typeVersion": 1,
"position": [
450,
300
],
"parameters": {
"text": "={{$json[\"text\"]}}",
"categories": "commande, remboursement, question"
}
},
{
"id": "3",
"name": "Switch Type",
"type": "n8n-nodes-base.switch",
"typeVersion": 1,
"position": [
700,
300
],
"parameters": {
"value1": "={{$json[\"category\"]}}",
"rules": [
{
"operation": "equal",
"value2": "commande"
},
{
"operation": "equal",
"value2": "remboursement"
},
{
"operation": "equal",
"value2": "question"
}
]
}
},
{
"id": "4A",
"name": "R\u00e9ponse Commande",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 1,
"position": [
950,
150
],
"parameters": {
"subject": "Concernant votre commande",
"text": "Bonjour,\n\nMerci pour votre message \ud83d\ude0a\nVotre commande est bien en cours de livraison.\nVous recevrez votre num\u00e9ro de suivi tr\u00e8s bient\u00f4t.\n\nBelle journ\u00e9e !",
"toEmail": "={{$json[\"from\"]}}"
}
},
{
"id": "4B",
"name": "R\u00e9ponse Remboursement",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 1,
"position": [
950,
300
],
"parameters": {
"subject": "Votre demande de remboursement",
"text": "Bonjour,\n\nNous avons bien re\u00e7u votre demande de remboursement.\nNotre \u00e9quipe va la traiter sous 24 \u00e0 48h.\n\nMerci pour votre patience.",
"toEmail": "={{$json[\"from\"]}}"
}
},
{
"id": "4C",
"name": "R\u00e9ponse Question",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 1,
"position": [
950,
450
],
"parameters": {
"subject": "Merci pour votre message",
"text": "Bonjour,\n\nMerci de nous avoir contact\u00e9s.\nNous avons bien re\u00e7u votre message et nous reviendrons vers vous tr\u00e8s vite.\n\nBelle journ\u00e9e \ud83e\udd0d",
"toEmail": "={{$json[\"from\"]}}"
}
},
{
"id": "5",
"name": "Enregistrer dans Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 1,
"position": [
1200,
300
],
"parameters": {
"operation": "append",
"sheetId": "VOTRE_SHEET_ID",
"range": "A:C",
"value": "={{[$json[\"from\"], $json[\"subject\"], $json[\"category\"]]}}"
}
}
],
"connections": {
"Email Trigger": {
"main": [
[
{
"node": "Analyse IA",
"type": "main",
"index": 0
}
]
]
},
"Analyse IA": {
"main": [
[
{
"node": "Switch Type",
"type": "main",
"index": 0
}
]
]
},
"Switch Type": {
"main": [
[
{
"node": "R\u00e9ponse Commande",
"type": "main",
"index": 0
}
],
[
{
"node": "R\u00e9ponse Remboursement",
"type": "main",
"index": 0
}
],
[
{
"node": "R\u00e9ponse Question",
"type": "main",
"index": 0
}
]
]
},
"R\u00e9ponse Commande": {
"main": [
[
{
"node": "Enregistrer dans Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"R\u00e9ponse Remboursement": {
"main": [
[
{
"node": "Enregistrer dans Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"R\u00e9ponse Question": {
"main": [
[
{
"node": "Enregistrer dans Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Workflow Email. Uses emailReadImap, aiTextClassifier, emailSend, googleSheets. Manual trigger; 7 nodes.
Source: https://gist.github.com/iozadoihfi/ac45efd35f33cf4ea8ba4312a960c47e — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
AI HRD Screening Automation. Uses emailReadImap, httpRequest, emailSend, googleSheets. Manual trigger; 9 nodes.
If you are a postmaster or you manage email server, you can set up DKIM and SPF records to ensure that spoofing your email address is hard. On your domain you can also set up DMARC record to receive X
This automated n8n workflow automates AWS S3 bucket and file operations (create, delete, upload, download, copy, list) by parsing simple email commands and sending back success or error confirmations.
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
AI-Powered Multi-language Customer Support