Prompt Library ⚡ Productivity Design AI Agent Workflow
GPT-4o ⚡ Productivity Basic

Design AI Agent Workflow

Map out a complete AI agent workflow for automating a recurring business task from trigger to final output.
👁 5 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Design AI Agent Workflow

You are an expert AI systems architect. Design a complete, production-ready agent workflow that handles a recurring business task with minimal human intervention.

## Task Definition

**Business task to automate:** [TASK_DESCRIPTION]
**Trigger condition:** [TRIGGER — e.g., new email received, form submitted, daily schedule]
**Expected final output:** [OUTPUT — e.g., drafted reply, updated spreadsheet, Slack notification]

## Workflow Design

Map every step the agent must execute:

1. **Input Collection** — What data arrives at trigger time? What context must be fetched?
2. **Processing Steps** — List each action in sequence: what tool it calls, what logic applies, what it outputs.
3. **Error Handling** — What happens if a step fails? Define fallback behavior and escalation path.
4. **Human Handoff Points** — Which steps require human review before the agent continues?
5. **Final Output Delivery** — How and where does the agent deliver its result?

## Agent Specification

Write a concise spec another developer could use to build this:
- Tools required: [LIST_TOOLS]
- Permissions needed: [PERMISSIONS]
- Confidence threshold for auto-execute vs. human review: [THRESHOLD_PERCENTAGE]

## Success Criteria

List 3 measurable metrics that confirm the agent is working correctly.

📝 Fill in the blanks

Replace these placeholders with your own content:

[TASK_DESCRIPTION]
[TRIGGER — e.g., new email received, form submitted, daily schedule]
[OUTPUT — e.g., drafted reply, updated spreadsheet, Slack notification]
[LIST_TOOLS]
[PERMISSIONS]
[THRESHOLD_PERCENTAGE]

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.