# Agentic workflow

> An agentic workflow is an automated process in which a language model makes some of the decisions, such as choosing the next step, calling a tool or judging whether output is good enough, inside a structure that the builder defines in advance.

Also called: agentic automation, AI workflow, LLM workflow, agentic process. Category: Agents and automation. Source: https://aibuildindex.com/glossary/agentic-workflow

## In the index

- Custom AI agent: median $3,850, middle half $600 to $10,000, 2,831 priced briefs (https://aibuildindex.com/cost/custom-ai-agent)
- n8n: median $1,260, middle half $300 to $5,720, 3,548 priced briefs (https://aibuildindex.com/tools/n8n)
- LangGraph: median $4,400, middle half $500 to $14,100, 216 priced briefs (https://aibuildindex.com/tools/langgraph)

An agentic workflow sits between a fixed automation and a fully free agent. The overall path is designed by people, but at certain points a language model decides what happens: which branch to take, which tool to use, whether a draft needs another pass. For a business buyer this is often the practical middle ground, because it keeps most of the predictability of a normal workflow while handling the varied inputs that rule-based automations struggle with.

## How it works

Builders combine a few recurring patterns:

- **Routing.** A model reads the input and picks one of several fixed paths, such as sending a request to sales, support or billing.
- **Tool use.** At a given step, the model chooses and calls tools through [function calling](https://aibuildindex.com/glossary/function-calling) to gather what it needs.
- **Chaining.** The output of one model step feeds the next, such as extract, then summarise, then draft.
- **Review loops.** One step checks another's output against criteria and sends it back for revision if it falls short.
- **Approval gates.** A person confirms before high-impact actions. See [human in the loop](https://aibuildindex.com/glossary/human-in-the-loop).

Take an inbound lead process built in n8n. A form submission triggers the workflow, a model classifies the enquiry and pulls company details from the web, a fixed rule checks the result against the ideal customer profile, a model drafts a tailored reply, and a salesperson approves it before it is sent. Only some steps are agentic; the rest is ordinary automation.

## What it means for cost

Agentic workflows usually cost more than plain automations and less than open-ended agents:

- **Design time.** Deciding where the model should decide and where fixed logic is safer is the main design job.
- **Testing each decision point.** Every model step needs test cases and a defined fallback when it returns something unexpected. See [error handling](https://aibuildindex.com/glossary/error-handling).
- **Observability.** Logging the model's inputs and choices at each step makes problems traceable.
- **Running cost.** Model calls are spent only where they add value, which keeps usage predictable.

Ask a builder to mark which steps use a model and why, and what happens when a model step fails or is unsure.

## Common questions

### How is an agentic workflow different from an AI agent?

In an agentic workflow the builder fixes the overall sequence and the model fills in decisions at set points. A fully [autonomous agent](https://aibuildindex.com/glossary/autonomous-agent) chooses its own sequence of steps. Workflows are easier to test and audit; agents are more flexible.

### Can I build agentic workflows in no-code tools?

Yes. Tools such as n8n, Make and Zapier now include AI steps and agent nodes, which suit many business processes. Complex logic, heavy volumes or strict testing needs often push builds towards code-based [orchestration](https://aibuildindex.com/glossary/orchestration) frameworks.

## Related terms

- [AI agent](https://aibuildindex.com/glossary/ai-agent): An AI agent is software built around a language model that can plan steps, call tools such as APIs, databases or a browser, look at the results and keep going until it completes a task, rather than only replying to a single message.
- [Workflow automation](https://aibuildindex.com/glossary/workflow-automation): Workflow automation is the use of software to carry out a repeatable business process, moving data between systems and taking actions based on triggers and rules, so that people no longer do those steps by hand.
- [Orchestration](https://aibuildindex.com/glossary/orchestration): Orchestration is the coordination layer of an AI or automation system that decides which steps, models, tools or agents run, in what order, with what data, and what happens when a step fails.
- [Human in the loop](https://aibuildindex.com/glossary/human-in-the-loop): Human in the loop is a design approach in which an automated or AI system pauses for a person to review, correct or approve its work at defined points, so that judgement and accountability stay with people where mistakes would be costly.
- [Function calling](https://aibuildindex.com/glossary/function-calling): Function calling is a capability that lets a language model request that the application run a defined tool, such as a database lookup, an API call or a calculation, by returning the tool's name and structured arguments instead of plain text.
- [Multi-agent system](https://aibuildindex.com/glossary/multi-agent-system): A multi-agent system is a design in which several AI agents, each with its own role, instructions and tools, work together on a task by passing work and messages between them, usually under a coordinating agent or fixed workflow.
