Automation library · Scheduling

Optimize daily schedules with Groq and Google Sheets

Started by a clock, and works across Gmail, Google Calendar and Google Sheets. It hands the judgement calls to Groq. 29 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Groq

29 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 3Model 2Logic 11Service 13

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

  1. 1When Run Every MidnightSchedule triggerStarts it
  2. 2Groq AI ModelLm Chat GroqModel
  3. 3When Run Every 15 MinutesSchedule triggerStarts it
  4. 4When Run Every Hour 6AM-7PMSchedule triggerStarts it
  5. 5Clear Today's Schedule SheetGoogle SheetsService
  6. 6Schedule Conflict Analysis AIChain LlmModel
  7. 7Read Latest Schedule SheetGoogle SheetsService
  8. 8Read Today's Schedule SheetGoogle SheetsService
  9. 9Read Processed Meetings SheetGoogle SheetsService
  10. 10Fetch Today's Calendar EventsGoogle CalendarService
  11. 11Clear Processed Meetings SheetGoogle SheetsService
  12. 12Calculate New Schedule LayoutCodeLogic
  13. 13Decide Communication MethodCodeLogic
  14. 14Aggregate Today's Schedule RowsAggregateLogic
  15. 15Aggregate Processed MeetingsAggregateLogic
  16. 16Set Key Calendar Event FieldsSetLogic
  17. 17Read Routine Template SheetGoogle SheetsService
  18. 18If AI Output ValidIfLogic
  19. 19If More Than 15 Minutes LeftIfLogic
  20. 20Merge Data for AI ProcessingMergeLogic
  21. 21Aggregate Calendar EventsAggregateLogic
  22. 22Append Template to Today's ScheduleGoogle SheetsService
  23. 23Split Meetings by StateSplit OutLogic
  24. 24Split Schedule Rows by RoutineSplit OutLogic
  25. 25Send AI Output Error EmailGmailService
  26. 26Send Email NotificationGmailService
  27. 27Post Call Request to TwilioHttp RequestService
  28. 28Append or Update Meetings LogGoogle SheetsService
  29. 29Update Daily Routine SheetGoogle SheetsService

How it's built

Starts on
A clock
Steps
29, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Calendar, Google Sheets
Model
Groq

Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 29 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 29 steps before you point it at anything that matters.