Can I start builds directly from Slack using slash commands?
Last updated: July 10, 2026
Context
You may want to trigger Codemagic builds directly from Slack using slash commands, similar to how other tools like Linear allow you to create items with commands like "/linear create". This would eliminate the need to navigate to the Codemagic website to start builds manually.
Answer
Codemagic does not provide a built-in slash command integration for Slack that allows you to start builds directly from Slack channels.
However, you can create a custom solution using the Codemagic REST API to build your own Slack bot that provides this functionality. Here's how you can approach this:
Create a custom Slack bot that responds to slash commands
Use the Codemagic REST API to trigger builds programmatically
Configure your bot to authenticate with Codemagic using your API token
To get started with the Codemagic API:
Review the API documentation at https://docs.codemagic.io/rest-api/builds/
Obtain your API token by navigating to Account Settings > API token > Show
This custom integration would allow you to create the slash command functionality you're looking for, though it requires development work to implement.