Skip to content
Notis

Handle a requested build cache reset

When a company requests a cache reset, route the specific application request to Codemagic and report that deletion is asynchronous.

Trigger

Webhook received

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

Action

Delete All Application Caches

Deletes all cached data for an application.

Why this helps

A maintenance request can sit in a deal record while someone separately searches for the application cache controls.

  • Route a specific cache reset request from its company context.
  • Avoid deleting caches based on an ambiguous request.
  • Make the asynchronous operation clear in the run report.

Setup

Build it in a few focused steps.

  • 1Connect Affinity and Codemagic once in Notis.
  • 2Create an automation and describe the cache reset request.
  • 3Tell Notis to delete all caches only for the specified app when the request explicitly asks for a full reset.
  • 4Choose the webhook trigger and a report channel.
  • 5Test with one confirmed app identifier and an authorized maintenance request.

Questions about this workflow

Does the cache deletion finish immediately?

The deletion is asynchronous and completes after the API response, so the run report should not imply it has already finished.

Can this remove one cache only?

No. This workflow uses the action that deletes all caches for an application. A specific cache requires a different action.

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.

TriggerScheduled

Add Application from Private Repository

Adds an application from a private repository.

ActionInstant

Webhook trigger

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

TriggerInstant

Add New Application

Adds a Git repository as an application.

ActionInstant

Get Meta Information

Retrieves metadata, including public IP addresses.

ActionInstant

Get Variable Group Information

Retrieves information about a variable group.

ActionInstant

Update Variable Group

Changes the name and security settings of a variable group.

ActionInstant

Delete All Application Caches

Deletes all cached data for an application.

ActionInstant

Delete Specific Cache

Deletes a specific cached item from an application.

ActionInstant

Get All Builds

Lists builds for your applications.

ActionInstant

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.