Automations Beta
Automations is in private beta for organizations on Foxglove Cloud and Foxglove Cloud, bring your own storage. It isn't available for on-premises Primary Sites. Contact Foxglove to join.
Foxglove runs an AI agent against your data, then records what it did. An automation is a saved prompt plus an optional trigger. Each time it fires is an automation run.
Automations belong to a Project. To create one and read an automation run, see Get started with Automations.
Concepts
- Automation. A named prompt saved on a project. The prompt applies to every automation run.
- Trigger. The condition that starts an automation run without someone clicking Run. An automation with no trigger runs only when you start it.
- Automation run. One firing. It takes the saved prompt and a separate Context for this firing, such as recording IDs or extra instructions, and has an agent do the work. Context doesn't change the saved prompt. For a triggered run, Foxglove fills Context with the event, recording, or session that fired the trigger. For a scheduled run, Context contains the cadence, scheduled UTC time, and project ID.
- Output. What the automation run produced. An automation run can finish with no output.
Triggers
You can start an automation run yourself. You can also attach one trigger so Foxglove starts the automation run when something happens in the project. Leave Trigger empty to run the automation only manually.
Trigger can be:
- On a schedule. Repeat every hour, day, week, or month. Hourly runs start at the top of the hour. Other schedules use a whole-hour UTC time; monthly dates are limited to days 1–28. Runs delayed by five minutes or more are skipped.
- Event is created or Event is updated. Event type limits the trigger to one event type, or Any event type.
- Recording is created. For a direct upload this happens as the recording finishes importing. Otherwise it happens when an Edge Site or a device running Foxlet reports a new recording.
- Recording is imported, when a recording finishes importing.
- Session is created, when a new session is created. A session groups recordings from one device.
A change an automation makes, or an automation run that it starts, can start that same automation or a different one. The chain allows 3 more runs after the first, including the same automation running again. Each run can start more than one run. The next trigger match is saved as a failed run. Its error says automations already started 3 runs in a row, and that the instructions should stop updating data that does not need a change. A direct launch past that depth is refused. Editing the data yourself, or starting a run yourself, starts again from the beginning.
Run limits
An organization can have 80 automation runs pending or running at once, and one owner's automations can have 40 between them. A run you start yourself, from Foxglove or the API, is refused while either limit is reached. A run started by a trigger or a schedule waits for an earlier run to finish, and runs start in the order they were created. A run that waits a full day is marked failed.
Each automation can run 1000 times in a UTC calendar month. A run counts toward the month it was created in. After that, a run you start yourself is refused, and triggers and schedules don't start runs until the 1st of the next month. The first trigger match after the limit is saved as a failed run that shows the reason.
A run that is let in but doesn't start within 60 minutes, for example because no automation worker was available, is marked failed. Start it again, or wait for its next trigger.
What an automation run can see and do
An automation run acts as the automation's owner and uses that person's access to the project. It can start another automation in the same project without asking for approval. The run it starts acts as that automation's owner and uses that person's project access and AI usage. Direct launches and triggers share the limit of 3 more runs in a chain, and each run can start more than one run. It follows the saved prompt. It can create and change events when it opens the recording in Context, and it doesn't ask for approval before it does that. When it can't open the recording, it doesn't create or change events. Only the owner can edit the automation, including which MCP servers it may call and whether each one is read-only or includes writes. A project member who can open it can start an automation run and read the run. When the owner allows all tools on an MCP server, that run can also create, change, or delete data on that server with the owner's connection, including when the member supplies custom input. The owner or an org admin can delete the automation or remove its trigger.
Models and billing
During the beta, Foxglove covers the cost of automation runs.