Start a conversation

Sending notifications to external systems with endpoints

When integrating Kayako with other systems, you have several options. In addition to Kayako's API and Zapier integration, you can also define custom endpoints, which enable you to send data from Kayako directly to external systems. Each endpoint defines a specific destination outside of Kayako.

For example, let's say that every time a new conversation is created, you want to post the details to a particular Slack channel. You can define an endpoint for that channel and then build an automation that creates a post anytime a new conversation is created.

In this article, we'll walk you through the different types of endpoints you can create in Kayako, and then take you step-by-step through the process of building them.

Understanding how Kayako uses endpoints

Using endpoints in Kayako consists of two steps. First, you create an endpoint for your target destination. Then you specify that endpoint in an automation, which tells Kayako what data to send there, and when.

There are three types of endpoints you can create:

  • Email — You can use email endpoints to specify a particular email address, which Kayako can then send automated messages to.
  • Slack — Slack endpoints take advantage of Slack's incoming webhooks feature to enable you to post conversation information directly into a particular Slack channel.
  • Webhook (HTTP request) — The webhook endpoint type enables you to send information from Kayako to the external API of any other piece of software you like.

Before creating an endpoint, you'll need to have either an email address, a Slack webhook, or the URL for an API call. We'll walk you through how to get and what to do with each, below.

Creating endpoints

Although there are three different types of endpoints you can create — email, Slack, and webhooks for external APIs — the process for creating them is quite similar. Remember, that the endpoint simply defines a destination outside of Kayako. You won't add any details about the type or format of the information Kayako should send until you specify the endpoint in an automation.

NOTE: To create endpoints in Kayako, you will need an administrator account with the 'Manage endpoints' permission.

To create an endpoint:

  1. Sign in to Kayako and go to the admin area.
  2. Click the Endpoints link on the sidebar menu.
  3. Here you'll see a list of any endpoints that have already been created in your Kayako. Click the Add new endpoint button to create a new one.
  4. From here, your options vary based on the type of endpoint you're creating.
  5. To create an endpoint that will send data in an email, click Email, and then:
    1. In the Title field, add a descriptive title for your endpoint.
    2. In the Destination email address, add the email you'd like to send your data to.
    3. In the Email subject field, add a subject for the emails you'll be sending to this address.
      NOTE: You can use placeholders in your subject lines.
    4. Skip down to Step 8 below.
  6. To create an endpoint to post data to Slack, click Slack, and then:
    1. In the Title field, add a descriptive title for your endpoint.
    2. Go to http://my.slack.com/services/new/incoming-webhook/ and follow the instructions there for creating a new incoming webhook.
      NOTE: You'll choose your destination channel when creating the webhook.
    3. Copy the URL for your new webhook.
    4. Come back to Kayako and paste the URL into the Slack Webhook URL field.
    5. Skip down to Step 8 below.
  7. To create an endpoint that will push data to another API, click Webhook (HTTP request), and then:
    1. In the Title field, add a descriptive title for your endpoint.
    2. Pay a visit to the reference documentation for the API you're using.
    3. You'll need to find and copy the URL for the API call you'll be using.
    4. Come back to Kayako and paste that URL into the Request URL field.
      NOTE: Most API requests will have some code that needs to accompany the request, to tell the destination system what to do with the data we're sending it. You'll be able to specify and customize that code when you create an automation using this endpoint.
    5. In the Request method field, select the type of action you'll be taking, when pushing data to this endpoint.
    6. If the destination system requires you to sign in, before using their API, check the HTTP Authentication box.
    7. In the Username field that appears, enter your username for the destination system.
    8. In Password, enter the corresponding password.
  8. When you've filled in all the details for your endpoint, click the Save button to create it.

And you're all set! Now, when building automations, you can select your endpoint as an action and choose what information you wish to send, and what format to send it in. Head over to our article on automations to learn more.

Choose files or drag and drop files
  1. Kelly O'Brien

  2. Posted
  3. Updated
Was this article helpful?
Yes
No