Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots's Approach Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Platform
How to Access Bot Builder
Working with Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Bot Builder
Creating a Bot
Dialog Task
Working with User Intent & Dialog Node
Working with Entity Node
Supported Entity Types
Working with Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Working with Message & Confirmation Nodes
Working with Service Node
Implementing Custom Authentication
Enabling 2-way SSL for Service nodes
Working with Script Node
Working with Agent Transfer Node
Working with WebHook Node
Defining Connections & Transitions
Managing Dialogs
Prompt Editor
Context Object
Session and Context Variables
Action & Information Task
Working with Action Tasks
Working with Information Tasks
Establishing Flows
Alert Tasks
Working with Alert Tasks
Managing Ignore Words and Field Memory
Knowledge Tasks
Building Knowledge Graph
Importing and Exporting Bot Ontology
Knowledge Extraction
Natural Language
Machine Learning
ML Model
Fundamental Meaning
Knowledge Graph Training
Ranking and Resolver
NLP Detection
NLP Settings and Guidelines
Bot Intelligence
Dialog Management
Context Management
Amend Entity
Multi-Intent Detection
Default Conversations
Channel Enablement
Test & Debug
Talking to Bot
Utterance Testing
Batch Testing
Recording Conversations
Publishing your Bot
Analyzing your Bot
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Universal Bots
Enabling Languages
Smart Bots
Sample Bots
Travel Planning
Flight Search
Event Based Bot Actions
Sentiment Analysis
Tone Analysis
Sentiment Management
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
API Guide
API Overview
API List
SDK Overview
SDK Configuration
SDK Security
SDK App Registration Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Using the BotKit SDK
Installing the BotKit SDK
Events for the BotKit SDK
Functions for the BotKit SDK
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Web Socket Connect & RTM
Bot Administration
Bots Admin Console
User Management
Managing Your Users
Managing Your Groups
Role Management
Bots Management
Inviting Users
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Using Single Sign-On
Cloud Connector
Bot Store
Creating a Bot Account
Adding a Bot
Choosing a Channel for a Bot
Interacting with a Bot
Setting Up Web Service Alerts
Setting Up RSS Alerts
Setting Up the Webhook Bot
Custom Bots
Bots for your Customers FAQs
Bots for your Workforce FAQs
Adding Bots
Contacting Support
Setting Up Filters
Bot Store Settings
  1. Home
  2. Docs
  3. Bots
  4. Bot Store
  5. Adding Bots
  6. Adding a GitLab Bot

Adding a GitLab Bot provides integration for a built-in Gitlab Bot that you can use to display message notifications and execute tasks directly from your messaging channel such as Messenger. To use the Gitlab, you just need to add the Bot to your messaging channel, and then configure the settings for the Bot, such as authentication to access Gitlab, and the notification messages that you want. For more information about other Bots, see Adding Bots.

About the Bot for GitLab

DITGitLabLogoGitLab is a web-based Git repository manager with wiki and issue tracking features.GitLab offers hosted accounts similar to GitHub, but also allows its software to be used on third party servers. You can use this Bot to create new issues, receive notifications on pull requests, new commits, or issues created in Gitlab.

Integration Type Webhook – Connect to this Bot using a webhook integration where the web application pushes message notifications in near real time.
Web Service – Connect to this Bot using a web service integration where polls the service for updates based on a specified interval.
Category Developer Tools – This Bot is available in the application in the Developer Tools category.
Channels – This Bot is available in the Messenger application.
Spark – This Bot is available in the Cisco Spark messaging application.
Slack – This Bot is available in the Slack messaging application.
Skype – This Bot is available in the Skype messaging application.

Configuring GitLab

The Gitlab Bot supports webhook and web service tasks. Webhook tasks provide near real-time notification messages as events occur in Gitlab, while web service tasks are manually activated or explicitly scheduled end-user tasks.

Configuring Webhook Tasks

To configure a GitLab webhook for, you must have a GitLab account with administrator access as well as API access to configure a webhook. If you don’t, you’ll need to contact the GitLab system administrator for your company. For more information, see the GitLab Documentation.
To get started configuring the webhook in GitLab, you’ll need two things:

  1. The webhook URL provided when you set up an alert in your messaging channel for each alert that you want to enable in GitLab.
  2. A valid Username and Password for an account with GitLab API access.

The webhook URL is account-specific and cannot be transferred to any other account. This means that if you configure a GitLab webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in GitLab. The following URL is an example webhook URL.
This procedure describes the steps in GitLab to configure a webhook using a webhook URL endpoint.

  1. Log on to GitLab, select your project, click Settings, and then click Web Hooks. The Web hooks dialog is displayed.
  2. In the URL field, enter the webhook URL for the alert.
  3. In the Trigger section, select one or more events that you want to get alert messages for.
  4. Click Add Web Hook to save the webhook configuration and close the Web hooks dialog.

For more information, see Webhooks in the GitLab documentation.
To setup real-time notifications in your messaging channel using a Gitlab webhook, for example, in the Messenger channel, click , click Get notified when…, click Website Alerts, and then in the Setup Task dialog:

  • click the Activate button to generate a Webhook URL.
  • copy and save the URL, or click Email Instructions to send the URL to an email account. For more information, see Configuring Gitlab Webhooks.
  • optionally customize the Task Name 
  • optionally customize the Short Description
  • enable or disable Mute task notifications
  • and then click Finish.

Configuring Web Service Tasks

To configure web service tasks, you need to add the Gitlab Bot from the Bot Store in your messaging channel, and then setup the task. After you add a web service task and are connected, you can perform tasks for Gitlab and setup message notifications to get notified in your messaging channel when an event occurs in Gitlab.
To setup a Gitlab task in the Messenger channel, click the New Task icon, click Create Issue, and then in the Perform Task dialog:

  • select a Project
  • select an Issue Title
  • optionally enter a Description
  • optionally select a Milestone
  • optionally select Assign to
  • optionally enter the Labels for an issue
  • and then click Submit.

In a team room, you can enter the @gitlab createissue Bot command to invoke and configure this task.

Next Steps

After the task is configured, when any of the webhook events occur in Gitlab or the scheduled tasks run, a message is displayed in your preferred messaging channel.