warmling.dev
All articles

From a prompt to a workflow: when should you configure AI, and when should you build a tool?

An agency needs to review a campaign before it goes out. A law firm needs to prepare a weekly update for a client. A retailer needs to quote a price based on what’s in stock today. In each case, someone can gather the relevant information, open an AI chat and ask for help. That works on any given Tuesday. The following Tuesday, someone has to do it all again.

That repetition brings two decisions into focus. How do you give the AI enough direction to do the job well? And how do you fit that work into the day of the person who needs it? Sometimes a few changes to a tool the team already knows can address both. In other cases, people still spend more time gathering inputs and moving results between tools than they spent on the task they hoped to automate.

Two ideas from software engineering help explain the difference. In StrongDM’s software factory, people describe how the product should behave and design scenarios to check what the agents deliver. Lauren Tan uses the image of a Michelin-starred kitchen. The chef sets the standard for a dish and organizes the kitchen so the team can reproduce it. Both ideas raise questions for a business looking to delegate work to AI. Who knows what a good result looks like? How can the team check that the work still meets that standard when that person stops overseeing every step? [1] [2]

A report due every Friday

Imagine a law firm that sends a corporate client a weekly update on its cases. Every Friday, a lawyer gathers the latest case developments, reads the team’s notes and updates last week’s report. The request sounds simple enough: have a first draft ready for review by Friday.

To understand the work, open the last report the firm sent and pick a paragraph. Where did that information come from? Why was it worth including? What did the lawyer have to add so the client would understand what it meant for them?

Suppose the report says, “The hearing has been rescheduled. The client’s operations team needs to confirm who will be available on the new date.” The first sentence came from a case update. The second came from a conversation with the client. Given only the case update, an AI assistant could summarize the date change accurately and still leave out the most useful part of the report. This is where knowing the work matters more than knowing how to write a prompt.

When configuring an existing tool is enough

A first version of this workflow could run in Claude. The firm could adapt the same approach to Codex or a Grok Bot, depending on its setup. Testing the idea takes one tool, a previous report and source materials the team has permission to use for this purpose.

The lawyer supplies the week’s case updates and notes. A reusable instruction sets out the report structure and explains how to handle gaps:

For each case, describe what changed, cite the source and include the next action if the materials identify one. If a date has changed, check the team’s notes for anything about the impact on the client. If a decision is still pending, flag it as a question for review.

On Friday, the lawyer opens the assistant, attaches the materials and gets a draft with open questions highlighted. If that saves time and gathering the files takes only a few minutes, the firm may already have everything it needs. The skill captures the firm’s method. Each week’s materials supply the facts. [3]

To check quality, the team can reconstruct a past week using only the information available at the time and set aside the report it actually sent as a reference. A second model call can evaluate the draft for unsupported claims, conflicting dates or outstanding tasks that dropped out of the summary. This use of a model as an evaluator is known as LLM-as-judge. The team also needs to compare its findings with the lawyer’s review. A judge that approves an incomplete report just makes the omission harder to spot. [1] [4]

When the team needs an integration

Now change one detail. The case updates are in one system, the team’s notes in another and the report template in a shared folder. Drafting takes two minutes, but someone still spends forty minutes looking for information. A better prompt would do little for those forty minutes.

The next step is to connect the sources, provided the firm can access them with the right permissions. For the lawyer, the workflow could be as simple as choosing a client and date range, clicking “Prepare report” and receiving a draft. Each item shows its source and any open questions. If a source is unavailable, the interface identifies what’s missing before the document goes to review.

Report preparationAvailable sources lead to a draft and review. When a source is missing, retrieve it and retry.Select client and datesGather authorized sourcesSources available?YesNoPrepare the draftShow missing sourceReview and releaseRetrieve source and retry

The agent now has a defined job: prepare a draft the lawyer can verify against that client’s sources. The application controls access, tracks versions and limits the report to the selected dates. The lawyer decides what the final document should communicate.

When a custom product makes sense

If one person prepares a handful of reports, a button may be enough. If twenty people manage different client portfolios, assign reviews and need to know which documents have been cleared for release, the problem changes. The firm now needs a work queue, access controls for each client and a version history. If its existing tools can’t accommodate that workflow, a custom application may make sense.

The firm can also delegate one stage at a time. The system could start gathering materials every Thursday and have drafts ready by Friday morning. The difference is tangible: the lawyer starts the day with three reports ready to review and a fourth waiting on a specific piece of information. The firm can delegate preparation while keeping the decision to send each report with the person responsible for that client.

These are the engineering decisions Warmling Tecnologia helps teams make. An agency might need a skill for reviewing promotional offers. A retailer might need an integration that checks price and availability before preparing a quote. A law firm might need an application that prepares reports for review. The right scope depends on where the user still has work to do. Finding that out means following a real task through to completion, understanding the decisions the person doing it makes and testing with that person which parts they can already delegate.

References

  1. StrongDM — Software Factories and the Agentic Moment
  2. AppDirect — The Factory Kitchen for AI Agents
  3. OpenAI — Skills
  4. Hamel Husain — Using LLM-as-a-Judge for Evaluation