Automation library · Scheduling

Automate sprint planning with OpenAI and Google Calendar

Started by a clock, and works across Gmail, Google Calendar, Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 42 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

42 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
2Loops or waits
4Services it connects to

The flow

Starts it 3Model 8Logic 17Service 14

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3OpenAI Scrum Master EmailerLm Chat Open AiModel
  4. 4OpenAI Scrum Master Story FeedbackLm Chat Open AiModel
  5. 5OpenAI Scrum Master DoR CheckLm Chat Open AiModel
  6. 6Error TriggerError triggerStarts it
  7. 7OpenAI Sprint Goal Email AgentLm Chat Open AiModel
  8. 8Start Here: Set Environment VariablesSetLogic
  9. 9Draft Email for Sprint PlanningAgentModel
  10. 10Provide Scrum Master Feedback on the storyAgentModel
  11. 11Compare User Story to DoR CriteriumAgentModel
  12. 12Send Error EmailGmailService
  13. 13Draft Email for Sprint Goal SuggestionsAgentModel
  14. 14No Operation, do nothingNo OpLogic
  15. 15Ask Approval to Scrum MasterGmailService
  16. 16Update Scrum feedback in BacklogGoogle SheetsService
  17. 17Aggregate DoR check to User Story LevelAggregateLogic
  18. 18Send Email to POGmailService
  19. 19Load Calendar of Scrum MasterGoogle CalendarService
  20. 20If Email content is ApprovedIfLogic
  21. 21Loop Over Items for DoR checkSplit In BatchesLogic
  22. 22Add DoR feedback to User StoryMergeLogic
  23. 23Check for Upcoming Sprint Planning Project AFilterLogic
  24. 24Send Email to AttendeesGmailService
  25. 25Create Draft in Scrum Master EmailGmailService
  26. 26Append Stories with DoR feedbackMergeLogic
  27. 27Read DoR criteriaGoogle SheetsService
  28. 28If no event do nothingNo OpLogic
  29. 29Make aware the draft is ready to be adjusted manuallyGmailService
  30. 30Combine stories into one listAggregateLogic
  31. 31Take DoR link for further referralGoogle DriveService
  32. 32Take backlog link for further referralGoogle DriveService
  33. 33Check Open Stories in Current SprintGoogle SheetsService
  34. 34Aggregate Stories for Form CreationAggregateLogic
  35. 35Append Feedback to StoryMergeLogic
  36. 36Create Dynamic FormCodeLogic
  37. 37Keep stories that were not committedFilterLogic
  38. 38Ask Scrum Master for Current Sprint Stories CheckGmailService
  39. 39Wait until X days before the Sprint Planning1WaitLogic
  40. 40Process Feedback on IndexSplit OutLogic
  41. 41Combine Sprint Spill over with Ready for Sprint PlanningMergeLogic
  42. 42Select Stories Ready for Sprint Planning from BacklogGoogle SheetsService

How it's built

Starts on
A clock
Steps
42, with 1 branch, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Calendar, Google Drive, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Calendar, Google Drive 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 a clock.

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?

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