# Automations

Source: https://www.hyperagent.com/docs/concepts/agents/invocations/automations

> For AI agents: the documentation index is at https://www.hyperagent.com/llms.txt and the complete documentation in one file at https://www.hyperagent.com/llms-full.txt. Any docs page is also served as Markdown by appending `.md` to its URL.

Choose what starts work for your agent and how to check the result.

## Give your agent work that starts on its own [#give-your-agent-work-that-starts-on-its-own]

A Monday brief should start even if nobody asks for it. A new supplier bill is different: there’s nothing to review until the bill arrives. Choose what should start the work, then decide what the automation should do.

The right trigger starts the right job.

## Choose what starts the job [#choose-what-starts-the-job]

### Schedules [#schedules]

Start a job on a calendar cadence. Use a schedule for a brief you want each Monday, even if nobody updated a record.

[Explore Schedules](https://www.hyperagent.com/docs/concepts/agents/invocations/schedules)

### Webhooks [#webhooks]

Start a job when another app sends an event, such as a new supplier bill.

[Explore Webhooks](https://www.hyperagent.com/docs/concepts/agents/invocations/webhooks)

### Live Mode [#live-mode]

Check an ongoing situation at regular intervals. Keep the work in one thread and surface changes that need attention.

[Explore Live Mode](https://www.hyperagent.com/docs/concepts/agents/invocations/live-mode)

## Use code for repeatable work [#use-code-for-repeatable-work]

On a saved schedule or webhook, an optional **program** can do work that follows fixed rules. It can look up records, calculate totals, and use supported actions from an integration already connected to the agent.

Trigger

A Friday schedule runs

Program

Totals this week’s refunds

Within budget? Returns the total.

Agent

Investigates if over budget

Finish in code

When the rules produce the result, code can finish the job without an agent turn. That can cost less than running the model every time.

Hand off to the agent

When the result needs judgment, an explanation, or writing, pass it to the agent to take the next step.

## Browse Automations [#browse-automations]

### Guides [#guides]

[Put your agent on a schedule](https://www.hyperagent.com/docs/guides/put-your-agent-on-a-schedule)

Set the cadence and check a real run.

[Connect and test a webhook](https://www.hyperagent.com/docs/guides/manage-agent-automations#trigger-a-webhook)

Choose a source and verify what your first event produced.

[Add, test, and activate a program](https://www.hyperagent.com/docs/guides/manage-agent-automations#add-a-program-for-a-repeatable-check)

Ask your agent to write the program, review its test, then activate it.

[Save on recurring work](https://www.hyperagent.com/docs/guides/save-on-recurring-work)

Choose how to run recurring work without spending more than it needs.

[Manage an existing automation](https://www.hyperagent.com/docs/guides/manage-agent-automations#find-and-manage-an-automation)

Find the automation, check its history, or change how it runs.

## Common questions [#common-questions]

### Do I need code to use an automation? [#do-i-need-code-to-use-an-automation]

No. A saved request is enough for many schedules and webhooks. Add code when the job has repeatable work the program can do reliably.

### How can I tell whether the automation finished? [#how-can-i-tell-whether-the-automation-finished]

For schedules and webhooks, check **Run history**. A planned start or an event receipt isn’t a result. If it reached the agent, open the task and check what it produced. If you deliver elsewhere, check that destination too.

### Can an automation change records in a connected app? [#can-an-automation-change-records-in-a-connected-app]

Only if the run has access to that account and its write settings permit the action. For a first run, start read-only if the job just needs to report what it finds.
