Automation library · Research and reporting

Generate visual summary & knowledge graph insights for your email

Started by someone submitting a form, and works across Gmail and Telegram. It hands the judgement calls to Gemini. 27 steps, 6 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

27 stepsLarge: read it before trusting it with anything live
6Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 3Model 2Logic 13Service 9

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2User submits formForm triggerStarts it
  3. 3When clicking ‘Test workflow’Manual triggerStarts it
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Classify EmailsText ClassifierModel
  6. 6Assign Processing SettingsSetLogic
  7. 7Text field present?IfLogic
  8. 8Get Messages by Search CriteriaGmailService
  9. 9Aggregate from full email textsAggregateLogic
  10. 10Aggregate from email snippetsAggregateLogic
  11. 11Was label provided?IfLogic
  12. 12Clean text and organize into statementsCodeLogic
  13. 13Filter emails by labelFilterLogic
  14. 14Should analyze snippets?IfLogic
  15. 15Type of graph to buildSwitchLogic
  16. 16Should analyze snippets from filtered emails?IfLogic
  17. 17Should use AI to filter emails further?IfLogic
  18. 18Get Full Message ContentGmailService
  19. 19InfraNodus Build a Social Knowledge GraphHttp RequestService
  20. 20InfraNodus Build a Text Knowledge GraphHttp RequestService
  21. 21Message text or snippet present?FilterLogic
  22. 22Wait before generating questionsWaitLogic
  23. 23InfraNodus AI Summary & Graph LinkHttp RequestService
  24. 24InfraNodus Question GeneratorHttp RequestService
  25. 25Send an insight question via TelegramTelegramService
  26. 26Send the graph link and summary via TelegramTelegramService
  27. 27GmailGmailService

How it's built

Starts on
Someone submitting a form
Steps
27, with 6 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Telegram
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Gmail and Telegram accounts, and a key for Gemini. 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

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