Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Автоматизация эл. почты

Автоматизация эл. почты

Многоязычные черновики ответов в Gmail с GPT-4o

Когда новое письмо Gmail требует ответа, GPT-4o определяет его язык и пишет подходящий черновик ответа, сохраняемый как черновик Gmail.

Что делает

## Automated Multilingual Gmail Draft Reply with OpenAI GPT-4o in n8n ### Who is this for? This workflow is ideal for anyone who receives a high volume of Gmail inquiries, especially those providing multilingual customer support or handling diverse client communications. ### What problem is this workflow solving? Managing frequent emails in multiple languages can be overwhelming. This workflow reduces manual drafting by automatically generating context-aware replies using OpenAI GPT-4o, letting users focus on personalization and quality assurance. ### What this workflow does - Monitors your Gmail inbox for new emails with a specific label (e.g., "Inquiry"). - Uses OpenAI GPT-4o for message assessment and language detection. - Parses information using a JSON parser. - Generates an AI-powered draft reply in the detected language via OpenAI GPT-4o. - Converts the reply to HTML and saves it as a draft in the original Gmail thread for your review. ### Setup - Connect your Gmail account and set up relevant labels in both Gmail and the workflow. - Integrate your OpenAI credentials in n8n. - Configure the workflow trigger for your desired labels. ## How to customize this workflow to your needs - Adjust label names in both Gmail and the workflow for different email categories. - Define custom starting and ending phrases for draft replies per supported language. - Expand supported languages or modify AI prompt instructions to suit your brand’s tone.

Шаги

  1. If Needs Reply
  2. Gmail - Create Draft
  3. Switch based on email language
  4. Generate email for a Japanese client
  5. Generate email reply for an English client
  6. Gmail trigger
  7. OpenAI GPT-4o
  8. Assess if a message needs a reply and identify the language
  9. Parser Result
  10. OpenAI GPT 4o - For English
  11. OpenAI GPT-4o - for Japanese

Похожие автоматизации