Review Codemagic app caches from Gmail
Get cache details into the run report when a teammate asks for a Codemagic storage check.
Trigger
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Action
Retrieve Caches for Application
Tool to retrieve a list of caches for a specific application. Use when you need to view cached data, check cache sizes, or manage application storage.
Why this helps
Cache review requests can be easy to postpone when checking them means tracking down the right app in Codemagic.
- Retrieve cache listings in response to a clear request.
- Bring cache review results to the chosen report channel.
- Avoid guessing which application the request refers to.
Setup
Build it in a few focused steps.
- 1Connect Gmail and Codemagic once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name and prompt.
- 3In one instruction, tell Notis to retrieve caches for the specified Codemagic application and summarize returned cache information; report requests that do not identify an app.
- 4Choose New Gmail Message Received as the trigger and select where run reports should go.
- 5Test with one real cache review request and review the run report.
Questions about this workflow
Does this delete caches?
No. This workflow retrieves the list of caches for an application. Deleting caches requires a separate action and an explicit request.
What if the email does not identify the application?
Instruct Notis to report that the app identifier is needed before looking up caches.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Gmail to Codemagic. A trigger fires from one place; an action lands in another.
Gmail 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
Tool to create an application from a private repository using SSH key authentication. Use when you need to add a new private repository to Codemagic with SSH credentials.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Add New Application
Tool to add a Git repository to the applications list in Codemagic. Use when you need to add a new application to Codemagic from a repository URL.
Email Sent
Triggers when a Gmail message is sent by the authenticated user. It polls the 'SENT' label and emits metadata including sender, recipients, subject, timestamp, and thread ID.
Get Meta Information
Tool to get metadata about Codemagic including public IP addresses in use (in CIDR notation). Use when you need to retrieve IP blocks for whitelisting build machines or simulator network requests.
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Get Variable Group Information
Tool to retrieve information about a specific variable group including its name and configuration settings. Use when you need to get details for a variable group by its ID.
Update Variable Group
Tool to change a variable group's name and security settings. Use when you need to update an existing variable group by its ID. Returns success confirmation on 204 No Content response.
Delete All Application Caches
Tool to delete all caches for a specific application. Use when clearing all cached data for an app. The deletion process is asynchronous and will complete after the API response is returned.
Delete Specific Cache
Tool to delete a specific cache from an application. Use when a cached build artifact needs to be removed. The deletion is performed asynchronously and returns immediately with a 202 Accepted status.
Get Account Info for Over-the-Air Updates
Tool to retrieve account information for over-the-air updates. Use when you need to check the account status (enabled/disabled/pending) and associated team identifier.
Connect any two apps with Notis in the middle.
Gmail 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.