Automation library · Content

Convert audio emails to Japanese transcripts with OpenAI

Started by an arriving email, and works across Gmail, Google Drive, Google Sheets and Slack. 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
4Services it connects to

The flow

Starts it 1Model 1Logic 6Service 12

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

  1. 1New Gmail with AudioGmail triggerStarts it
  2. 2Code in JavaScriptCodeLogic
  3. 3FilterFilterLogic
  4. 4Generate Year-Month Folder PathCodeLogic
  5. 5Create Folder If Not ExistsGoogle DriveService
  6. 6MergeMergeLogic
  7. 7HTTP RequestHttp RequestService
  8. 8Upload Audio to DriveGoogle DriveService
  9. 9Generate AI SummaryOpen AiModel
  10. 10Convert Transcript to TXTConvert To FileService
  11. 11Edit FieldsSetLogic
  12. 12Upload Transcript to DriveGoogle DriveService
  13. 13Convert Summary to MDConvert To FileService
  14. 14Share Transcript FileGoogle DriveService
  15. 15Upload Summary to DriveGoogle DriveService
  16. 16Prepare Sheets DataCodeLogic
  17. 17Share Summary FileGoogle DriveService
  18. 18Log to Google SheetsGoogle SheetsService
  19. 19Send Gmail NotificationGmailService
  20. 20Send Slack NotificationSlackService

How it's built

Starts on
An arriving email
Steps
20
Size
Medium: a working afternoon
Connects to
Gmail, Google Drive, Google Sheets, Slack
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on an arriving email.

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.