Feature Alert: Integrate Microtica Pipelines with Slack Notifications

feature-slack-notifications

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 SettingsNotifications. 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
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

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

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

slack notifications deployments

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

slack notifications service deployment

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. 

About the Author

User

Marija Naumovska

The Product Person in Microtica. Software Engineer turned Product Manager with 6+ years of experience. In love with product development and helping the developers community produce more with innovative solutions.

Related Articles

microtica-pricing-announcement

Introducing Microtica’s Developer Self-Service Pricing Model and Plans

In April 2022, Microtica will be creating a new self-service product category. The objective is to better align our service...

Kubernetes Namespaces

New Feature Alert – Create Kubernetes Namespaces from Microtica’s Dashboard

What are Kubernetes Namespaces? In Kubernetes, namespaces provide a mechanism for isolating a group of related resources (e.g. Pod, Deployment)...

Security-Misconfigurations-GitOps

Security Misconfigurations: How to Solve them with GitOps

Cloud security misconfigurations are the #1 incident type in cloud-native applications, according to the Cloud Native Application Security Report 2021...