Skip to content
Notis

Clean up tagged assets when a Stripe subscription ends

When a subscription is deleted, remove its Cloudinary assets by tag if the correct cleanup tag is available and confirmed in the event context.

Trigger

Subscription Deleted Trigger

Triggered when a subscription is deleted in Stripe

Action

Delete Resources by Tags

Tool to delete cloudinary assets by tag. use when you need to remove all assets associated with a given tag.

Why this helps

Expired subscription media can accumulate when cleanup depends on someone remembering to find and remove it.

  • Automate cleanup for assets grouped by a specific tag.
  • Reduce manual maintenance after a subscription ends.
  • Keep run reports clear when the cleanup tag is missing.

Setup

Build it in a few focused steps.

  • 1Connect Stripe and Cloudinary once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and name it for the subscription asset cleanup.
  • 3Tell Notis to delete Cloudinary resources by tag only when the deleted subscription identifies the intended cleanup tag; otherwise report the missing tag.
  • 4Choose the Stripe Subscription Deleted trigger and select where run reports should go.
  • 5Test with one real deleted subscription and a known tag, then review the assets affected.

Questions about this workflow

Can the workflow infer which tag to delete?

No. The intended tag must be available in the event context or supplied in the instruction. If it is missing, Notis should report that rather than guess.

Is deletion reversible?

The delete-by-tag action removes matching Cloudinary resources. Verify the test result and tag scope before relying on it.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Stripe to Cloudinary. A trigger fires from one place; an action lands in another.

Stripe triggers

Cloudinary actions

Recurring trigger

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

TriggerScheduled

Create Folder

Tool to create a new asset folder. use when you need to organize assets into nested directories. use after confirming the folder path does not already exist.

ActionInstant

Webhook trigger

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

TriggerInstant

Create Metadata Field

Tool to create a new metadata field definition. use when extending your metadata schema with new fields.

ActionInstant

Charge Failed Trigger

Triggered when a direct charge fails in Stripe's legacy Charges API

TriggerInstant

Create Trigger

Tool to create a new webhook trigger for a specified event type. use after configuring your webhook endpoint and choosing the event type. example: "create a trigger for uploads to https://example.com/hooks/cloudinary"

ActionInstant

Checkout Session Completed Trigger

Triggered when a checkout session is completed in Stripe

TriggerInstant

Create Upload Mapping

Tool to create a new upload mapping folder and url template. use when you need to dynamically map external url prefixes to a cloudinary asset folder before uploading files.

ActionInstant

Invoice Payment Succeeded Trigger

Triggered when an invoice payment is successful in Stripe

TriggerInstant

Create Upload Preset

Tool to create a new upload preset. use when defining centralized upload options (tags, formats, transformations, etc.) before asset uploads.

ActionInstant

Payment Intent Failed Trigger

Triggered when a payment intent fails in Stripe

TriggerInstant

Delete Derived Resources

Tool to delete derived assets. use when you need to remove specific derived assets by their ids. example: "delete derived assets with ids [id1, id2]".

ActionInstant

Product Created Trigger

Triggered when a product is created in Stripe

TriggerInstant

Delete Metadata Field Datasource Entries

Tool to delete datasource entries for a specified metadata field. use when you need to soft-delete (inactivate) specific entries in a field's datasource. example prompt: "delete entries ['color1','color2'] from metadata field 'color id'"

ActionInstant

Subscription Added Trigger

Triggered when a subscription is added in Stripe

TriggerInstant

Delete Folder

Tool to delete an empty asset folder. use when the folder is confirmed empty and you need to remove it.

ActionInstant

Connect any two apps with Notis in the middle.

Stripe and Cloudinary, 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 Cloudinary.