Prompt Library ⚙️ Technical Multi-Step Agentic Workflow Designer
GPT-4o ⚙️ Technical Advanced

Multi-Step Agentic Workflow Designer

Design a production-ready multi-step AI agent workflow with tool use, memory, branching logic, error handling, and human-in-the-loop checkpoints.

👁 7 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Multi-Step Agentic Workflow Designer

You are an AI systems architect. Design a production-ready multi-step agent workflow for the task described.

## Workflow Requirements

Task the workflow must accomplish: [TASK_DESCRIPTION]
Available tools and APIs: [AVAILABLE_TOOLS]
Data sources: [DATA_SOURCES]
Acceptable latency: [LATENCY_REQUIREMENT]
Error tolerance: [ERROR_TOLERANCE]
Human-in-the-loop requirements: [HITL_REQUIREMENTS]

## Workflow Specification

1. **Trigger and entry point** — what initiates the workflow and what input it receives
2. **Step-by-step agent plan** — for each step: action, tool used, input, output, and success criteria
3. **Memory and context strategy** — how state is passed between steps without losing context
4. **Tool call specifications** — for each tool: function signature, required parameters, and expected response shape
5. **Branching logic** — decision points and how each branch is handled
6. **Error handling** — what happens on tool failure, timeout, or low-quality output
7. **Human checkpoints** — where a human reviews or approves before the workflow continues
8. **Output and delivery** — how results are formatted and delivered to the end user

Format the step plan as a numbered sequence. Include a failure recovery path for the two most likely failure points.

📝 Fill in the blanks

Replace these placeholders with your own content:

[TASK_DESCRIPTION]
[AVAILABLE_TOOLS]
[DATA_SOURCES]
[LATENCY_REQUIREMENT]
[ERROR_TOLERANCE]
[HITL_REQUIREMENTS]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.