Skip to content
Skip to content
PGB Learn

Schedule it, add a webhook and set budgets

Beyond Run now

So far you started runs by hand. Triggers let agents work on their own, and budgets keep that safe.

Add a schedule

  1. Open the agent. In Triggers, tick On a schedule.
  2. Under Repeats choose Weekdays.
  3. Set Hour (0-23) to 9 and Minute (0-59) to 0.
  4. Choose your Time zone.
  5. In Input for scheduled runs, put the page address to summarise.
  6. Choose Save changes.

A sentence under the form describes the schedule in words and the Next run time appears below. Schedules can be hourly, daily, weekdays, weekly or monthly. Custom (cron) lets you type five fields (minute hour day month weekday). An invalid expression blocks saving. A schedule fires at most once every 5 minutes.

Add a webhook

  1. Tick When a web address is called (webhook) and Save changes.
  2. A Webhook URL (POST) appears. Show reveals it and Copy copies it.

A POST to that address starts a run, and the request body becomes the run input. Treat the address as a password: anyone with it can start runs. If it leaks, choose Rotate secret; the old address stops working. Webhook calls are rate limited, and the body is handed to the agent as untrusted data.

Pause an agent

Choose Pause (then save) at the top of the page, then Save changes. A paused agent shows a warning banner and its schedules and webhooks do nothing until you Resume (then save).

An agent that comes from Marketplace with a schedule starts paused, so you can read it before it runs.

Set budgets

Every run costs your AI provider money. In the Budget panel:

  • Per run (USD): the most a single run may use. Must be above zero; the page tells you the highest amount allowed.
  • Per month (USD, 0 = no limit): the most the agent may use in a month.

The panel shows how much you have used this month. When a run reaches its limit, it stops and shows Failed with a plain message. When the month is used up, new runs are refused until the month turns over or you raise the limit.

Set the per-run budget to a small number while testing, such as 0.10, then raise it when you trust the agent.

The other limits

  • A step limit per run.
  • A time limit for working in one go.
  • Limits on active runs per agent and per account, and on how many agents you can have.
  • Approvals expire if nobody answers in time.

Your account might also have daily run limits. If you hit one, the message names it.

Try it yourself

  1. Set a Per run (USD) of 0.10 and a monthly budget of 1.
  2. Add the weekday schedule and save. Check the Next run time.
  3. Turn the schedule off again so your tutorial agent does not keep running.

Recap

  • Triggers: manual, schedule (On a schedule), webhook.
  • Webhook addresses are secrets; use Rotate secret if they leak.
  • Pause (then save) stops all automatic runs.
  • Budgets and step limits give every agent a ceiling.

Open Access Course

Free

forever
  • 7 structured lessons across 4 modules
  • Interactive knowledge checks with instant feedback
  • Verifiable completion certificate & PDF