Automation library · AI assistants

The art of crafting effective prompts

Started by someone opening a chat with it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 29 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

29 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 2Model 19Logic 6Service 2

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3OpenAI Chat ModelLm Chat Open AiModel
  4. 4OpenAI Chat Model1Lm Chat Open AiModel
  5. 5emailSetLogic
  6. 6OpenAI Chat Model2Lm Chat Open AiModel
  7. 7When chat message receivedChat triggerStarts it
  8. 8CalculatorTool CalculatorModel
  9. 9WeatherHttp Request ToolService
  10. 10searchTool WorkflowModel
  11. 11Calculator1Tool CalculatorModel
  12. 12Weather3Http Request ToolService
  13. 13search1Tool WorkflowModel
  14. 14Structured Output Parser1Output Parser StructuredModel
  15. 15OpenAI Chat Model3Lm Chat Open AiModel
  16. 16supportRequestSetLogic
  17. 17AI AgentAgentModel
  18. 18Basic LLM ChainChain LlmModel
  19. 19CodeCodeLogic
  20. 20Basic LLM Chain1Chain LlmModel
  21. 21Old WayAgentModel
  22. 22ReAct WayAgentModel
  23. 23Auto-fixing Output ParserOutput Parser AutofixingModel
  24. 24AI Agent1AgentModel
  25. 25OpenAIOpen AiModel
  26. 26Loop Over ItemsSplit In BatchesLogic
  27. 27stripCodeLogic
  28. 28OpenAI1Open AiModel
  29. 29voteCodeLogic

How it's built

Starts on
Someone opening a chat with it
Steps
29, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenAI

Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

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 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.