Automation library · Customer support

Route multilingual support requests with DeepL and OpenAI

Started by someone submitting a form, and works across Gmail. It hands the judgement calls to OpenAI. 20 steps: a working afternoon to understand properly.

MediumCalls a model: OpenAI

20 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 6Model 1Logic 6Service 7

The steps in the order they run, from what starts it.

  1. 1Form: Customer SupportForm triggerStarts it
  2. 2Extract & Validate Form DataCodeLogic
  3. 3Is Data Valid?FilterLogic
  4. 4DeepL: Customer → EnglishDeep LService
  5. 5Response: Validation ErrorRespond To WebhookStarts it
  6. 6Translation Success?FilterLogic
  7. 7Gmail: Validation ErrorGmailService
  8. 8OpenAI: Generate ResponseOpen AiModel
  9. 9Response: Translation ErrorRespond To WebhookStarts it
  10. 10AI Response Valid?FilterLogic
  11. 11Gmail: Translation ErrorGmailService
  12. 12DeepL: English → CustomerDeep LService
  13. 13Response: AI Generation ErrorRespond To WebhookStarts it
  14. 14Back-Translation Success?FilterLogic
  15. 15Gmail: AI Generation Error1GmailService
  16. 16Package Final ResponseSetLogic
  17. 17Response: Back-Translation ErrorRespond To WebhookStarts it
  18. 18Send Success ResponseRespond To WebhookStarts it
  19. 19Gmail: Back-Translation ErrorGmailService
  20. 20Gmail: Send Success ResponseGmailService

How it's built

Starts on
Someone submitting a form
Steps
20
Size
Medium: a working afternoon
Connects to
Gmail
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.