Automation library · CRM

Restaurant daily insights with Gemini

Started by a clock, and works across Gmail and Google Sheets. It hands the judgement calls to Gemini. 27 steps, 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
0Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 12Logic 10Service 4

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

  1. 1Google Gemini Chat Model for summaryLm Chat Google GeminiModel
  2. 2Think for summaryTool ThinkModel
  3. 3Daily Report SchedulerSchedule triggerStarts it
  4. 4Google Chat ModelLm Chat Google GeminiModel
  5. 5Think ToolTool ThinkModel
  6. 6Chat Model For Food WasteLm Chat Google GeminiModel
  7. 7Think For Food WasteTool ThinkModel
  8. 8Google Gemini Chat Model For FeedbackLm Chat Google GeminiModel
  9. 9Think Tool For FeedbackTool ThinkModel
  10. 10AI-Generated Daily SummaryAgentModel
  11. 11Fetch Daily Sales DataGoogle SheetsService
  12. 12Fetch Daily Food Waste RecordsGoogle SheetsService
  13. 13Fetch Customer FeedbackGoogle SheetsService
  14. 14AI Sales Insights GeneratorAgentModel
  15. 15AI Waste Reduction Insights GeneratorAgentModel
  16. 16AI Feedback Summary GeneratorAgentModel
  17. 17Format Final Email ContentCodeLogic
  18. 18Normalize Sales RecordsCodeLogic
  19. 19Normalize Waste DataCodeLogic
  20. 20Normalize Feedback EntriesCodeLogic
  21. 21Format Sales AI OutputCodeLogic
  22. 22Format Waste AI OutputCodeLogic
  23. 23Format Feedback AI OutputCodeLogic
  24. 24Email Final Report via GmailGmailService
  25. 25Combine All InsightsMergeLogic
  26. 26Wait for All Data ProcessingWaitLogic
  27. 27Prepare Final Email InputCodeLogic

How it's built

Starts on
A clock
Steps
27, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
Gemini

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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.