Agents & automationCost-conscious designagent

Build a workflow that uses rules before AI

Cuts cost and errors by reserving model calls for genuinely ambiguous cases.

Editorial illustration for Build a workflow that uses rules before AI
Editorial illustration for this prompt; the prompt itself does not generate this image.

Ready to use

Prompt

Break [WORKFLOW] into steps. For each, decide whether a simple rule, search, template, database query or AI judgment is the smallest reliable solution. Give cost and failure trade-offs, where human review belongs, and how to route uncertain cases. Specify inputs, output contract and a test case for every model step. Do not add an LLM merely because one is available.