Instance Cleaner settings
Set default dependency actions, Cruise Control folders, cleanup rules, and the safety guards that decide what Instance Cleaner may delete.
These settings live under Settings → Agent context → Instance Cleaner in the product (/settings/agents/adm). They decide how dependencies are handled by default and what Instance Cleaner may never delete.
/settings/agents/adm).
/images/agent-studio/instance-cleaner/settings-overview.pngSettings, Agent context, Instance Cleaner (/settings/agents/adm) with an Eloqua connection selected and Default actions open. Use a demo instance.
| Section | What you configure |
|---|---|
| Default actions | For each pair of asset types (the asset being deleted and the asset that depends on it), the action to apply by default: Remove, Replace, or Keep. Replace needs an alternate asset. Unset pairs are left for the user to decide in each Package. Select several rows to set Remove or Keep in bulk. |
| Auto actions | Which folders Cruise Control may pull Completed Campaigns and Programs from when they block a delete. Turn on Allow all folders, or pick folders from the tree or add them by ID. Parent folders include everything nested under them. Leave it empty to turn auto-include off. |
| Cleanup rules | Inclusion and exclusion rules for campaigns, emails, forms, and landing pages. Run now creates Packages in the Inbox for review. Rules never delete assets. Exclusions always win. Scheduled auto package creation is marked Coming soon. |
| Safety guards | Require approval before Clear & Delete (off by default; Clear-only runs are unaffected), the Live-asset guard for assets used by an active campaign (Off, Warn, or Block; Block by default), and asset exclusions. |

/images/agent-studio/instance-cleaner/settings-auto-actions.pngAuto actions with an Eloqua connection selected and Allow all folders turned on. Use a demo instance.
Inclusion and exclusion rules create cleanup Packages in the Inbox for review. Rules never delete anything, and exclusions always win. A rule can target Campaigns, Emails, Forms, or Landing pages. Other asset types are added to a Package by hand.

/images/agent-studio/instance-cleaner/settings-cleanup-rules.pngCleanup rules with an Eloqua connection selected, Run now, Draft with AI, New rule, Default assets per package, Auto package creation marked Coming soon, and inclusion rules listed. Use a demo instance.
| You can match on | Where it applies |
|---|---|
| Name | All four types. Starts with, ends with, contains, or exact name. |
| Folder | All four types. Nested folders are included. |
| Created by, Updated by | All four types. Match one or more Eloqua users. |
| Status | Campaigns: Draft, Active, Scheduled, or Completed. Forms: Draft or Active. |
| Last modified, Created | All four types. More than a period ago, or within the last period. |
| Ended | Campaigns only. |
| Dependencies | All four types. How many other assets reference it. |
| Activity | Forms (submissions) and landing pages (visits). See the note below before you use it on a campaign. |
| Used by a campaign selected for cleanup | Emails, inclusion rules only. That rule is marked Runs last, runs after the other inclusion rules, and is not offered under Create packages now. |
Inclusion rules run from top to bottom. Move them with the up and down controls. An asset matched by two inclusion rules goes only into the first rule’s Package. An asset that matches any enabled exclusion rule of its type is never packaged. Assets already in an open Package are skipped.
Default assets per package is 100 to 1,000, and starts at 100. A run splits a rule’s matches into Packages of that size, safest first (Batch 1 of n). A single rule can override the size. Markdown view is a read-only summary. Edit rules on Rules.
Exclusions are hard rules. Matching assets are never deleted, in any Package, Cruise Control run, or chat request.
- By folder: check folders in the tree, or add folder IDs one at a time or separated by commas. Assets in nested folders are protected too.
- By name: add a rule with a match type (Starts with, Ends with, Contains, or Exact name) and a pattern. Matching ignores case, so keep patterns specific.

/images/agent-studio/instance-cleaner/settings-asset-exclusions.pngSafety guards with the live-asset guard set to Block and Asset exclusions by folder, with a protected folder checked in the tree. Use a demo instance.