Automation library · CRM

Lecture Intelligence Pipeline with OpenAI and Gmail

Started by an event in a connected app, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI. 19 steps, 1 branch, 5 loops or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

19 stepsMedium: a working afternoon
1Branch: places the flow splits
5Loops or waits
2Services it connects to

The flow

Starts it 1Model 1Logic 9Service 8

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

  1. 1Google Drive, Watch FolderGoogle Drive triggerStarts it
  2. 2Wait, Transcript Build BufferWaitLogic
  3. 3AssemblyAI, Submit TranscriptionHttp RequestService
  4. 4Wait, Transcription ProcessingWaitLogic
  5. 5AssemblyAI, Fetch TranscriptHttp RequestService
  6. 6IF, Context Notes Exist?IfLogic
  7. 7Set, Prompt With ContextSetLogic
  8. 8Set, Prompt Without ContextSetLogic
  9. 9Merge, Combine BranchesMergeLogic
  10. 10OpenAI, Generate SummaryOpen AiModel
  11. 11HTTP, Paste to Google Doc TemplateHttp RequestService
  12. 12Gmail, Send Review EmailGmailService
  13. 13Wait, Reviewer Response WindowWaitLogic
  14. 14HTTP, Export Doc as PDFHttp RequestService
  15. 15Google Sheets, Get This Week's RegistrantsGoogle SheetsService
  16. 16Loop Over Items, RegistrantsSplit In BatchesLogic
  17. 17HTTP, Send WhatsApp via WHAPIHttp RequestService
  18. 18Wait, Anti-Spam DelayWaitLogic
  19. 19Google Sheets, Log to Attendance TrackerGoogle SheetsService

How it's built

Starts on
An event in a connected app
Steps
19, with 1 branch, 5 loops or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

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. 19 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 19 steps before you point it at anything that matters.