diff --git a/workflows/ Smart Email Responder Workflow using AI-4807/smart_email_responder_workflow_using_ai.json b/workflows/ Smart Email Responder Workflow using AI-4807/smart_email_responder_workflow_using_ai.json new file mode 100644 index 000000000..6cc79c199 --- /dev/null +++ b/workflows/ Smart Email Responder Workflow using AI-4807/smart_email_responder_workflow_using_ai.json @@ -0,0 +1 @@ +{"id":"1RHsJldA8GlWFp1E","meta":{"instanceId":"c3caf872897344ae9095ede706e2c19a32f712f120ab7f143e26125462303491","templateId":"3277","templateCredsSetupCompleted":true},"name":"Smart Email Auto-Responder","tags":[],"nodes":[{"id":"e485ab21-6c33-4cb1-9bd1-3fea3a1d431a","name":"Gmail Trigger","type":"n8n-nodes-base.gmailTrigger","position":[1480,220],"parameters":{"simple":false,"filters":{"labelIds":["Label_43975351283257832"]},"options":{},"pollTimes":{"item":[{"mode":"everyHour"}]}},"credentials":{"gmailOAuth2":{"id":"cvHi0AAN9bE3lcij","name":"Gmail account"}},"typeVersion":1.2},{"id":"d52b02ce-95aa-495f-a6b4-d5dd791f2808","name":"Text Classifier","type":"@n8n/n8n-nodes-langchain.textClassifier","position":[1820,400],"parameters":{"options":{},"inputText":"={{ $('Gmail Trigger').item.json.subject }}\n{{ $('Gmail Trigger').item.json.text }}","categories":{"categories":[{"category":"Questions","description":"Use this category when the email is asking for information about our company, products, processes, pricing, timelines, legal terms or any other general inquiry that expects a factual explanation or guidance."},{"category":"Project Update","description":"Choose this category when the sender is notifying us about progress or changes: signing the agreement, submitting or revising scripts, updating requirements, sharing evaluation results, or any status report that moves an ongoing project forward"},{"category":"Feedback","description":"Select this category when the email contains compliments, complaints, suggestions, or any qualitative feedback about our service, product, communication or overall experience"}]}},"typeVersion":1},{"id":"adfca78f-9ce5-4345-baaa-017538e433be","name":"Google Gemini Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGoogleGemini","position":[1840,680],"parameters":{"options":{},"modelName":"models/gemini-2.0-flash-exp"},"credentials":{"googlePalmApi":{"id":"vNACKKKe3OF1uS3Y","name":"Google Gemini(PaLM) Api account"}},"typeVersion":1},{"id":"e7c91741-20d6-4c54-8dd5-efec164c29b3","name":"Youtube Video Inquiry","type":"n8n-nodes-base.emailSend","position":[2260,580],"webhookId":"120f4cfb-cfd3-4792-b5f5-146e9f495f73","parameters":{"html":"=\n\n
\n \n\n\n\n Hi {{ $json.from.value[0].name || $('Gmail Trigger').item.json.headers.from.split('<')[0].trim() || 'there' }},\n
\n\n\n Thank you for your recent update on the project. We’ve reviewed the information you provided and have logged it in our system.\n
\n\n\n If you have additional files or questions, feel free to reply directly to this email.\n
\n\n\n We appreciate your prompt communication and look forward to moving the project ahead smoothly.\n
\n\n\n Best regards,
\n Sophia Mitchell
\n Project Coordinator | syncbricks.com
\n WhatsApp: +1 \n
\n Hi {{ $json.from.value?.[0]?.name || $('Gmail Trigger').item.json.headers.from.split('<')[0].trim() || 'there' }},\n
\n\n\n Thank you for taking the time to share your feedback about SyncBricks. We truly value every comment—whether a\n compliment, suggestion, or concern—because it helps us improve.\n
\n\n\n If you need to add more details, simply reply to this email—your message wil\n","options":{"appendAttribution":false},"subject":"=Re: {{ $('Gmail Trigger').item.json.Subject }}","toEmail":"={{ $json.from.value[0].name }} <{{ $json.from.value[0].address }}>","fromEmail":"kulankur.work@gmail.com"},"credentials":{"smtp":{"id":"rSVeHz6kjwDIBOZ7","name":"SMTP account"}},"typeVersion":2.1},{"id":"a2542d02-4018-45e5-a8f2-875e669c77a3","name":"Mark as Read","type":"n8n-nodes-base.gmail","position":[2780,460],"webhookId":"a5bea8d3-719e-4b2b-a43d-4c6248796267","parameters":{"messageId":"={{ $('Gmail Trigger').all()[0].json.id }}\n","operation":"markAsRead"},"credentials":{"gmailOAuth2":{"id":"cvHi0AAN9bE3lcij","name":"Gmail account"}},"typeVersion":2.1},{"id":"0a1d79a3-91cf-4bf6-93bb-1482549a74dd","name":"Apply Label","type":"n8n-nodes-base.gmail","position":[2960,460],"webhookId":"c3a2fc4e-d90c-463a-a356-db530e1b91b0","parameters":{"labelIds":["CATEGORY_UPDATES"],"messageId":"={{ $('Gmail Trigger').all()[0].json.id }}\n","operation":"addLabels"},"credentials":{"gmailOAuth2":{"id":"cvHi0AAN9bE3lcij","name":"Gmail account"}},"typeVersion":2.1},{"id":"28467e9f-a730-4545-89cb-7d2c629edd71","name":"Emails from Existing Contracts","type":"n8n-nodes-base.if","position":[1640,220],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"or","conditions":[{"id":"7cffe101-333d-4ec2-a822-181fe421745b","operator":{"type":"string","operation":"contains"},"leftValue":"={{ $json.headers.from }}","rightValue":"@syncbricks.com"}]}},"typeVersion":2.2},{"id":"b150ab4d-dcbb-4ae6-9503-5914e39f41ac","name":"Reply","type":"n8n-nodes-base.if","position":[1640,460],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"07a6d5e2-ffc5-41d8-b69a-abd6860879c0","operator":{"type":"string","operation":"notStartsWith"},"leftValue":"={{ $json.subject }}","rightValue":"Re:"}]}},"typeVersion":2.2},{"id":"1f043246-cbd0-466d-bbfd-b13131a66f03","name":"QuestionsReply","type":"n8n-nodes-base.emailSend","position":[2720,160],"webhookId":"ed01c3d4-1fad-4098-b431-4bc3d5e05434","parameters":{"html":"=
\n Hi {{ $json.senderName }} <{{ $json.senderEmail }}>,\n
\n\nThanks for reaching out with your questions. I’d love to cover everything face-to-face.
\n\nLocation:
\n123 Main St
\nLos Angeles, CA 90089\n
We just sent you three calendar invitations for these time slots:
\n\n\n Click Yes on the invite that works best for you. \n Google will reserve that slot automatically; the other two will stay open.\n
\n\n\n If none of the times work, reply with a couple of alternatives and I’ll find something that fits.\n
\n\nLooking forward to meeting you!
— Corvin