Skip to content
Notis

Clean up a campaign after its source file is deleted

Keep campaign storage aligned with deliberate file cleanup.

Trigger

OneDrive Item Deleted Trigger

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

Action

Delete Campaign

Tool to delete a saved campaign by id. use when you need to remove a campaign after confirming its id.

Why this helps

Deleting a source file can leave an obsolete campaign behind.

  • Reduce stale campaign clutter
  • Tie cleanup to a clear source event
  • Require confirmation before destructive action

Setup

Build it in a few focused steps.

  • 1Connect OneDrive and Campaign Cleaner once in Notis.
  • 2Create an automation and state that deletion requires an exact campaign ID.
  • 3Tell Notis to confirm the deleted file identity, then delete the matching campaign only when the ID is unambiguous.
  • 4Pick the OneDrive Item Deleted trigger.
  • 5Choose a report channel and test with a disposable example.

Questions about this workflow

Will it delete on a vague file name?

No. The prompt should require an exact campaign ID or a confirmation request.

Can I keep the campaign for records?

Yes. Instruct Notis to report the deletion event without calling Delete Campaign.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link One drive to Campaign cleaner. A trigger fires from one place; an action lands in another.

One drive triggers

Campaign cleaner actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Delete Campaign

Tool to delete a saved campaign by id. use when you need to remove a campaign after confirming its id.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Get Campaign List

Tool to list all campaigns in the account. use when you need to retrieve campaign listings for reporting or management.

ActionInstant

Onedrivebasetrigger

Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.

TriggerPolling

Download Campaign PDF Analysis

Tool to download a pdf analysis report for a processed campaign. use after a campaign has been processed.

ActionInstant

OneDrive File Created Trigger

Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Get Campaign Status

Tool to check the processing status of a submitted campaign. use after submitting a campaign to monitor its progress.

ActionInstant

File Updated

Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.

TriggerPolling

OneDrive Folder Created Trigger

Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

OneDrive Item Deleted Trigger

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Item Moved or Renamed

Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.

TriggerPolling

Connect any two apps with Notis in the middle.

One drive and Campaign cleaner, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Campaign cleaner.