Kore.ai provides integration for a built-in Assembla Bot that you can use to display message notifications and execute tasks directly from the Kore.ai application. To use the Assembla Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access Assembla, and the notification messages that you want. This topic describes the Assembla built-in Bot for Kore.ai. For more information about other Kore.ai Bots, see Adding Bots.
About the Kore.ai Bot for Assembla
Assembla saves time by streamlining collaborations with developers, designers, and clients. This bot enables you to create tickets and get updates.
Integration Type | Webhook – Connect to this Bot using a webhook integration where the web application pushes message notifications in near real time. |
Category | Developer Tools – This Bot is available in the Kore.ai application in the Developer Tools category. |
Configuring Assembla
To configure an Assembla webhook for Kore.ai, you must have an Assembla account with administrator access as well as API access to configure a webhook. If you don’t, you’ll need to contact the Assembla system administrator for your company.
To get started configuring the webhook in Assembla, you’ll need two things:
- The Kore.ai webhook URL provided when you set up an alert in your Kore.ai account for each alert that you want to enable in Assembla.
- A valid Username and Password for an account with Assembla API access.
- Installed the Webhook Tool
The webhook URL is account-specific and cannot be transferred to any other account. This means that if you configure an Assembla webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in Assembla. The following URL is an example webhook URL.
https://app.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c
Configuring Webhook
This procedure describes the steps in Assembla to configure a webhook using a Kore.ai webhook URL endpoint.
- Log on to Assembla and then in the Spaces section, select the space that you want to add a Kore.ai webhook to. The Space Details page is displayed.
- If the Webhook tab is displayed on the top menu bar for your space, the webhook tool is already installed and you can skip to step 6.
- If the Webhook tab is not displayed on the top navigation bar, click Admin.
- In the Tools section, click More.
- In the list of tools, for Webhooks, click Add to install the webhook tool.
- On the Webhook tab, click New Webhook. The New Webhook page is displayed.
- In the Title field, enter the name for the webhook used in the Assembla application.
- Select Enabled to enable the webhook after it is configured.
- In the External URL field, enter the Kore.ai webhook URL for the alert.
- Set the Http method field to POST and the Content type field to application/json.
- In the Content text box, copy and paste the following code:
{ "author":"%{author}", "space":"%{space}", "title":"%{title}", "link":"%{link}", "repository_suffix":"%{repository_suffix}", "commit_id":"%{commit_id}", "object":"%{object}", "action":"%{action}", "body":"%{body}", "repository_url":"%{repository_url}", "branch":"%{branch}" }
- In the Post updates about section, select the events that you want to get Kore.ai alerts for, and then Click Add or Update.
You can customize this webhook configuration to provide additional information in the Kore.ai Alert using other available variables in the Content text box, and selecting additional events in the Post updates about section. For more information, see the Configuring the Webhooks Tool Tutorial in the Assembla documentation.
Configuring Web Service
To configure web service tasks, you need to add the Assembla Bot using the Bot Store link in Kore.ai Messenger on the Bots page, and then setup the task.
To setup an Assembla task, click Connect to Assembla, enter your username, your password, and then press Enter.
After you are connected, you can perform tasks for Assembla directly from the Kore.ai application and setup message notifications to get notified in the Kore.ai application when an event occurs in Assembla.
The following table describes Assembla tasks that you can integrate with Kore.ai.
TASK | TO CONFIGURE THIS TASK… |
---|---|
Create Comment | In the Perform Task dialog,
In a team room, you can enter the @assembla createcomment Bot command to invoke and configure this task. |
Create Space | In the Perform Task dialog,
In a team room, you can enter the @assembla createspace Bot command to invoke and configure this task. |
Update Comment | In the Perform Task dialog,
In a team room, you can enter the @assembla updatecomment Bot command to invoke and configure this task. |
Revise Ticket | In the Perform Task dialog,
In a team room, you can enter the @assembla updateticket Bot command to invoke and configure this task. |
Create Ticket | In the Perform Task dialog,
In a team room, you can enter the @assembla createticket Bot command to invoke and configure this task. |
You can setup message notifications to your Kore.ai account using a Assembla webhook. Click , click Get notified when…, click Ticket Updates, 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 Assembla Webhooks.
- Optionally, click the gray box in Filters to setup one or more filters to prevent message notifications for specified criteria. You can filter on one or more of the following:
- Object – Exact Match for:
- File
- Message
- StandUp Report
- Ticket Tool
- Wiki Page
- Click Done to save the filter.
- Object – Exact Match for:
- Optionally customize the Task NameÂ
- Optionally customize the Short Description
- Enable or disable Mute task notifications.
Next Steps
After the webhook is configured in Assembla, when any of the defined events occur in Assembla, a message is displayed on the Bots page for the Kore.ai Messenger account.]]>