Remove one identified build cache
Keep cache cleanup precise by tying the request to both the application and the specific cache to remove.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Delete Specific Cache
Deletes a specific cached item from an application.
Why this helps
Broad cleanup requests can create unnecessary churn when only one cached item needs removal.
- Keep the cleanup request specific to one cache.
- Require both application and cache identifiers.
- Report that deletion is asynchronous.
Setup
Build it in a few focused steps.
- 1Connect Affinity and Codemagic once in Notis.
- 2Create an automation and describe the targeted cleanup outcome.
- 3Tell Notis to delete a cache only when both the application and specific cache are identified in the request.
- 4Choose the webhook trigger and a report channel.
- 5Test with one authorized request that names the exact application and cache.
Questions about this workflow
Can the workflow select a cache based on age?
Only if the returned cache data contains the needed details and your instruction defines the selection rule. Otherwise, name the cache explicitly.
Is deletion immediate?
The action returns after an accepted response while deletion happens asynchronously.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Affinity to Codemagic. A trigger fires from one place; an action lands in another.
Affinity triggers
Codemagic actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add Application from Private Repository
Adds an application from a private repository.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Add New Application
Adds a Git repository as an application.
Get Meta Information
Retrieves metadata, including public IP addresses.
Get Variable Group Information
Retrieves information about a variable group.
Update Variable Group
Changes the name and security settings of a variable group.
Delete All Application Caches
Deletes all cached data for an application.
Delete Specific Cache
Deletes a specific cached item from an application.
Get All Builds
Lists builds for your applications.
Connect any two apps with Notis in the middle.
Affinity and Codemagic, 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 Codemagic.