Docs
⌘K
portqii.com Get Support

Instance Cleaner settings

Set default dependency actions, Cruise Control folders, cleanup rules, and the safety guards that decide what Instance Cleaner may delete.

Supported MAPEloqua

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.

Open settings
Open Settings
In Agent Studio, go to Settings, then Agent context → Instance Cleaner (/settings/agents/adm).
Select a connection
The screen is gated until an Eloqua connection is selected. Auto actions and Safety guards are stored per connection. Default actions apply across your org.
Configure and save
Each section has its own Save button, so saving one section never changes another. You can also make these changes in chat, for example “protect folder 1024”.
Instance Cleaner settings on Default actions, with an Eloqua connection selected
Screenshot needed: /images/agent-studio/instance-cleaner/settings-overview.png
Settings, Agent context, Instance Cleaner (/settings/agents/adm) with an Eloqua connection selected and Default actions open. Use a demo instance.
Sections
SectionWhat you configure
Default actionsFor 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 actionsWhich 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 rulesInclusion 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 guardsRequire 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.
Auto actions with Allow all folders turned on
Screenshot needed: /images/agent-studio/instance-cleaner/settings-auto-actions.png
Auto actions with an Eloqua connection selected and Allow all folders turned on. Use a demo instance.
Cleanup rules

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.

Cleanup rules with Run now, Draft with AI, and inclusion rules listed
Screenshot needed: /images/agent-studio/instance-cleaner/settings-cleanup-rules.png
Cleanup 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.
Open Cleanup rules
In Instance Cleaner settings, choose Cleanup rules. The list is stored for the Eloqua connection you selected.
Add rules
Choose New rule, or Load Portqii defaults when the list is empty. Defaults are added disabled so you can review them first. Draft with AI turns a plain-language description into draft rules. Nothing is saved until you review each draft and choose Approve & save rule. Saved drafts stay disabled until you enable them.
Set the match
Pick Inclusion or Exclusion, an asset type, and a name. Add at least one condition. Every condition in a rule must be true. An inclusion rule can set Assets per package, or leave it empty to use the default.
Enable, then run
Turn a rule on, then choose Run now. Enabled rules are evaluated in the order shown, and new Packages appear in the Inbox when the run finishes. Last run shows what matched, what was excluded, what was already packaged, and what was packaged.
Review the Inbox
On the Instance Cleaner Packages tab, switch to Board. Accept moves a Package to New. Dismiss skips those assets on later runs of that rule. You can add an optional reason. Open an accepted Package and clear or delete it the same way as any other Package.
You can match onWhere it applies
NameAll four types. Starts with, ends with, contains, or exact name.
FolderAll four types. Nested folders are included.
Created by, Updated byAll four types. Match one or more Eloqua users.
StatusCampaigns: Draft, Active, Scheduled, or Completed. Forms: Draft or Active.
Last modified, CreatedAll four types. More than a period ago, or within the last period.
EndedCampaigns only.
DependenciesAll four types. How many other assets reference it.
ActivityForms (submissions) and landing pages (visits). See the note below before you use it on a campaign.
Used by a campaign selected for cleanupEmails, 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.

Campaign activity is not available. The editor lists an activity condition for campaigns, but Instance Cleaner cannot read how many contacts entered a campaign. A campaign rule that includes activity matches nothing. The Portqii default Inactive Campaigns Cleanup includes that condition, so review it before you enable it. For forms and landing pages, “no activity” is used only when history covers the whole period you asked about. If that history is missing, an inclusion rule leaves the asset out.
Auto package creation is coming soon. The schedule, including who is emailed when Packages arrive, is shown and cannot be turned on yet. Use Run now, or Create packages now on the Packages board, to fill the Inbox.
Asset exclusions

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.
Safety guards with the live-asset guard set to Block and Campaign Folders checked under Asset exclusions
Screenshot needed: /images/agent-studio/instance-cleaner/settings-asset-exclusions.png
Safety 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.
Approval in practice. When approval is required, no Package on that connection can run Clear & Delete until it has been submitted for review and approved. Ask the agent in chat to submit or approve a Package.
Related
Instance Cleaner
Packages, dependencies, clear and delete
Connections
Eloqua links settings are scoped to
Agents
All agent guides