# The art of crafting effective prompts: n8n workflow template

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

Source: https://millionrounds.com/workflow/the-art-of-crafting-effective-prompts (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [AI assistants](https://millionrounds.com/workflows?category=AI+assistants#library)

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

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fthe-art-of-crafting-effective-prompts)

**29 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**1** Loop or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 2 Model 19 Logic 6 Service 2

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

- 1 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 5 **email** Set *Logic*
- 6 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 7 **When chat message received** Chat trigger *Starts it*
- 8 **Calculator** Tool Calculator *Model*
- 9 **Weather** Http Request Tool *Service*
- 10 **search** Tool Workflow *Model*
- 11 **Calculator1** Tool Calculator *Model*
- 12 **Weather3** Http Request Tool *Service*
- 13 **search1** Tool Workflow *Model*
- 14 **Structured Output Parser1** Output Parser Structured *Model*
- 15 **OpenAI Chat Model3** Lm Chat Open Ai *Model*
- 16 **supportRequest** Set *Logic*
- 17 **AI Agent** Agent *Model*
- 18 **Basic LLM Chain** Chain Llm *Model*
- 19 **Code** Code *Logic*
- 20 **Basic LLM Chain1** Chain Llm *Model*
- 21 **Old Way** Agent *Model*
- 22 **ReAct Way** Agent *Model*
- 23 **Auto-fixing Output Parser** Output Parser Autofixing *Model*
- 24 **AI Agent1** Agent *Model*
- 25 **OpenAI** Open Ai *Model*
- 26 **Loop Over Items** Split In Batches *Logic*
- 27 **strip** Code *Logic*
- 28 **OpenAI1** Open Ai *Model*
- 29 **vote** Code *Logic*

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

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fthe-art-of-crafting-effective-prompts)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Automatic LinkedIn engagement with OpenAI and Phantombuster** 29 steps · calls a model](https://millionrounds.com/workflow/automatic-linkedin-engagement-with-openai-and-phantombuster)
- [**Voice memos into daily journals & tasks with Gemini** 29 steps · calls a model · Google Drive](https://millionrounds.com/workflow/voice-memos-into-daily-journals-and-tasks-with-gemini)
- [**Wix chat auto-responder with OpenAI** 29 steps · calls a model](https://millionrounds.com/workflow/wix-chat-auto-responder-with-openai)
- [**Adaptive RAG strategy with Gemini and Qdrant** 30 steps · calls a model · Qdrant](https://millionrounds.com/workflow/adaptive-rag-strategy-with-gemini-and-qdrant)
- [**Adaptive RAG with Gemini and Qdrant:** 30 steps · calls a model · Qdrant](https://millionrounds.com/workflow/adaptive-rag-with-gemini-and-qdrant)
- [**Build an All-Source Knowledge Assistant with Claude and RAG** 30 steps · calls a model · Google Drive, Supabase vectors](https://millionrounds.com/workflow/build-an-all-source-knowledge-assistant-with-claude-and-rag)
