Automation library · AI assistants

Generate a weekly meal plan in Tandoor with OpenAI

Started by a clock, and works across Email. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 12Service 9

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Simple MemoryMemory Buffer WindowModel
  3. 3Add to MealPlan1Http Request ToolService
  4. 4OpenAI Chat Model1Lm Chat Open AiModel
  5. 5Simple Memory1Memory Buffer WindowModel
  6. 6Add to MealPlanHttp Request ToolService
  7. 7OpenAI Chat Model2Lm Chat Open AiModel
  8. 8Simple Memory2Memory Buffer WindowModel
  9. 9Add to MealPlan2Http Request ToolService
  10. 10OpenAI Chat Model3Lm Chat Open AiModel
  11. 11Simple Memory3Memory Buffer WindowModel
  12. 12Add to MealPlan3Http Request ToolService
  13. 13Run weeklySchedule triggerStarts it
  14. 14Fetch Adult LunchHttp Request ToolService
  15. 15Fetch Adult DinnerHttp Request ToolService
  16. 16Fetch Kids DinnerHttp Request ToolService
  17. 17Fetch Kids LunchHttp Request ToolService
  18. 18AI Agent Kids DinnerAgentModel
  19. 19AI Agent Adult DinnerAgentModel
  20. 20AI Agent Kids LunchAgentModel
  21. 21AI Agent Adult LunchAgentModel
  22. 22Send summary emailEmail SendService

How it's built

Starts on
A clock
Steps
22
Size
Large: read it before trusting it with anything live
Connects to
Email
Model
OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Email account, 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. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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