Codemagic

22 tools available

Codemagic is a CI/CD platform focused on mobile app development.

Connect Codemagic to Definable to triage issues, review pull requests, monitor builds. Personas call Codemagic's 22 tools directly from chat or scheduled flows. Wire it into a triage, review, or release-management persona — every action runs scoped, reviewable, and logged.

Common workflows with Codemagic

01

Triage incoming issues

  1. Webhook fires on every new issue
  2. Persona summarises and labels it
  3. Assigns the right engineer
02

Auto-review PRs

  1. Pull the diff
  2. Run a code-review persona
  3. Post structured feedback as PR comment
03

Failing-build alerts

  1. CI sends a failure event
  2. Agent inspects logs and stack trace
  3. Drops a debug summary in Slack
04

Release notes from commits

  1. Read commits since last tag
  2. Group by type with the model
  3. Post to a changelog channel

Codemagic actions 22

Every Codemagic action below is a callable tool any Definable persona can invoke.

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.

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.

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.

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 All Builds

Tool to list all builds with optional filters for appId, workflowId, and branch. Use when you need to retrieve build history or search for specific builds. Supports pagination via the skip parameter.

Get User API Key

Tool to retrieve the API key for the authenticated user from the server. Use when you need to fetch the API key via the Codemagic API.

Get Shorebird Meta

Tool to retrieve information about Shorebird integration. Use when you need to check supported Flutter versions or the current Shorebird version.

Get Authenticated User

Tool to retrieve information about the currently authenticated user. Use when you need to get user ID, avatar URL, or check user permissions.

List Variable Groups for App

Tool to retrieve paginated list of variable groups for an application. Use when you need to list or browse variable groups associated with a specific app.

List Variables for Group

Tool to retrieve paginated list of variables for a specific variable group. Use when you need to list or browse environment variables within a variable group.

Invite Team Member

Tool to invite a new team member to a Codemagic team. Use when you need to grant team access to a user. Requires team admin privileges. The 'developer' role corresponds to Member role and 'owner' role corresponds to Admin role in Codemagic UI.

Receive Webhook

Tool to receive webhook payloads from Git providers to trigger builds automatically. Use when repository events (commits, pull requests, tags) need to trigger Codemagic builds programmatically.

Remove Team Member

Tool to remove a collaborator or revoke a pending invitation from a Codemagic team. Use when you need to revoke team access for a specific user or cancel a pending invitation. Supports both active members (MongoDB-style IDs) and pending invitations (UUID-style invitation codes).

Retrieve All Applications

Tool to retrieve all applications added to Codemagic. Use when you need to list or browse all applications in the Codemagic account.

Retrieve an Application

Tool to retrieve a single application by its unique identifier. Use when you need to get application details including name, branches, and workflow configuration.

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.

Start New Build

Tool to start a new build for an application with specified workflow and branch or tag. Use when you need to trigger a build programmatically. Either branch or tag parameter must be provided.

Stop Preview

Tool to stop an app preview. Use when you need to stop a running app preview by its identifier.

Update Variable in Group

Tool to update an existing variable within a specified variable group in Codemagic. Use when you need to modify a variable's name, value, or secure status.

Frequently asked questions

What can I automate with Codemagic on Definable?

Anything Codemagic exposes through its API. Common developer tools workflows on Definable include triage issues, review pull requests, monitor builds. Personas can call any of the 22 Codemagic tools directly, then chain the result into another integration without you writing code.

How does Codemagic authentication work?

Codemagic uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Codemagic integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 22 Codemagic tools. You only need a separate Codemagic subscription if Codemagic itself charges per seat or per API call.

Is using Codemagic through Definable secure?

Every call from a persona to Codemagic is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Codemagic on Definable?

Sign up for Definable, open the integrations page, find Codemagic, and connect via OAuth or API key. You can immediately attach Codemagic to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Codemagic actions does Definable expose?

Definable exposes all 22 Codemagic actions as callable tools — including `Add Application from Private Repository`, `Add New Application`, `Get Meta Information`, plus 19 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Codemagic?

Wire it up in minutes. No coding required.

← All integrations