Feature Alert: Integrate Microtica Pipelines with Slack Notifications

Integrate Slack with Microtica and post notifications to a specific channel about your pipeline's execution status.

MNMarija Naumovska3 min read

Slack notifications are a great way to follow tasks without having to be signed in to an application all the time. This is especially great when you have automated work that could happen at any point in time, and you want to stay on top of it. 

In this article, we’ll show how to create a Slack App that will post notifications about the pipeline’s execution status in Microtica. We will do this using Incoming Webhooks and Messaging, which will post a custom notification to your specified channel.

Create a Slack App

To create an incoming slack webhook, you first need to create a Slack App. You can name the app Microtica Pipelines, so it’s describing the task it will perform. 

create-slack-app

Create Slack App

After you create your app, select the Incoming Webhooks card and activate the functionality by clicking the toggle button. 

incoming webhooks

Incoming webhooks

At the bottom of this page, click the Add New Webhook to Workspace button. 

webhook urls

Webhook URLs list

Create a Webhook

You need to authorize the app to post messages on your workspace channels. So this button will lead you to select the channel where you want to post your messages. 

webhook auth

Select Slack channel

Once you do this, you will see the webhook URL presented in the list. 

create webhook URL

Created webhook URL

Connect your Slack webhook to Microtica

In the Microtica portal, navigate to Settings → Notifications. In the integrations part, you will see the Slack integration and an input field. Copy the webhook URL created previously and paste it into the input field. Click on Add. 

microtica portal settings
An earlier Microtica interface. The current product looks different.

Microtica Portal Settings

Receive Notifications in Slack

You should see this message in your selected channel to ensure you’ve connected the webhook successfully. 

slack notifications connected
An earlier Microtica interface. The current product looks different.

Types of Microtica Notifications 

Microtica sends out notifications for: 

  1. Builds 
  2. Deployments 

Here is a preview of how the slack notifications look for build pipelines and which information you can see there. You have the status of the build here, as well as the git commit and branch that triggered this build, so you can see what kind of change is been made. 

slack notifications builds
An earlier Microtica interface. The current product looks different.

The notifications for environment deployments have the crucial information of which environment is being deployed and in which status it is. 

slack notifications deployments
An earlier Microtica interface. The current product looks different.

You also receive notifications for service deployments on Kubernetes clusters. Those look as follows: 

slack notifications service deployment
An earlier Microtica interface. The current product looks different.

The end 

Sign up to Microtica to start building your pipelines and deploying applications in minutes. Enable Slack notifications and follow the executions without leaving your workspace.

Put your first app online.

Paste a repository, approve the plan, and your app is live in your own cloud account.