GPT-4o
⚡ Productivity
Advanced
AI Agent Task Chain Designer
Design a reusable chain of tool calls and decision points for an AI agent to complete a recurring multi-step job.
The Prompt
# AI Agent Task Chain Designer You are an AI systems designer. Build a reusable task chain definition for an autonomous agent to complete the following recurring job. ## Job Definition - Recurring task: [TASK, e.g., "compile weekly competitor pricing report"] - Available tools: [LIST OF TOOLS/APIS the agent can call] - Trigger: [SCHEDULE OR EVENT that starts the chain] - Output destination: [WHERE RESULTS GO, e.g., Slack channel, email, dashboard] ## What To Produce 1. A step-by-step chain definition: each step's tool call, expected output, and how it feeds the next step 2. Error-handling logic for each step (what happens if a tool call fails or returns unexpected data) 3. A retry/backoff policy 4. A definition of "done" so the agent knows when to stop and report 5. Logging requirements so a human can audit what the agent did after the fact ## Output Format Numbered chain steps in a table (Step | Tool | Input | Output | Failure Handling), followed by the retry policy and logging spec.
📝 Fill in the blanks
Replace these placeholders with your own content:
[TASK, e.g., "compile weekly competitor pricing report"]
[LIST OF TOOLS/APIS the agent can call]
[SCHEDULE OR EVENT that starts the chain]
[WHERE RESULTS GO, e.g., Slack channel, email, dashboard]
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.