# AI agent procedures and workflows

> With Hourzero procedures, you write down how your team handles a request, and your AI agent follows the same steps in every conversation.

**Your way, every time.** Write down how your team handles a request. Your agent follows the same steps in every conversation.

For example, you write a procedure called Refund request, for when a customer wants to return a purchase:

1. Ask for the order number and the reason.
2. Find the order with `@look_up_order`.
3. If it was delivered in the last 30 days, start the return with `@create_return`. Otherwise, offer store credit instead.
4. Confirm what happens next.

Customers get the matching chat: the agent asks a customer returning a jacket for the order number, checks the 30-day window, and starts the return.

## Instructions set the tone. Procedures get it done.

### Instructions: how it talks

Tone, rules, and limits. They apply to every conversation.

### Procedures: what it does

Steps for one kind of request, like a refund. They start only when needed.

## Describe it. Get the steps.

Explain the process in your own words and it becomes a flow you can edit. Or start from a template.

For example, a delivery address change is described in plain words and turned into a step-by-step flow.

[How to write a procedure](https://hourzero.dev/docs/ai-agent-management/procedures/overview)

## Questions about procedures

How they work once they're live.

[Talk to our team](https://hourzero.dev/enterprise#contact)

### Do I need to code or draw a flowchart?

No. Write each step as a sentence, or describe the whole process and let it draft the steps for you.

### What if a customer changes the subject?

The agent drops the procedure and answers the new question, or starts another procedure that fits.

### When do customers see my changes?

You can test them in the Playground right away. Customers get them when you publish.

## Keep exploring

- [Channels](https://hourzero.dev/features/channels): Your website and the apps customers use.
- [Skills](https://hourzero.dev/features/skills): Add specialist abilities when you need them.
- [MCP](https://hourzero.dev/features/mcp): Plug in tools from any MCP server.
- [Analytics](https://hourzero.dev/features/analytics): See what customers ask and how they feel.

## Ready when your customers are

They're already asking. Train an agent on your site and have it answering by this afternoon. Free plan, no credit card needed.

- [Start building free](https://hourzero.dev/sign-up)
- [Read the quick start](https://hourzero.dev/docs/quick-start/your-first-agent)
- [Talk to sales](https://hourzero.dev/enterprise#contact)
