Developer Docs | Kommunicate

Developer Docs | Kommunicate

  • Book a Demo
  • Try For Free

›Integrations

Web

  • Installation
  • CMS Installation
  • Authentication
  • Conversation
  • Conversation Assignment
  • Customization
  • Localization
  • Logout
  • Troubleshooting

Android

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Migration
  • Troubleshooting

iOS

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Configuration
  • Localization
  • Logout
  • Troubleshooting

React Native

  • Installation
  • Expo Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Logout
  • Troubleshooting

Flutter Mobile

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Troubleshooting

Flutter Web

  • Installation
  • Authentication
  • Conversation

Ionic/Cordova

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Resolving Errors

Ionic/Capacitor

  • Installation
  • Authentication
  • Push notification
  • Customization

Rich Messages

  • How To Use
  • Types of Rich Messages

Bots

  • Bot setup
  • Dialogflow Integration
  • Lex Integration
  • Kompose Bot Builder
  • IBM Watson Integration
  • Custom Bot Integration
  • Import Kompose Bot
  • Bot Samples

Integrations

  • Zapier
  • WhatsApp
  • WhatsApp 360Dialog
  • WhatsApp Twilio
  • WhatsApp Cloud API
  • Instagram Integration
  • Telegram Integration
  • Sunshine Integration
  • Freshdesk Integration
  • Pipedrive Integration
  • Agile Integration

Platform APIs

  • Authentication
  • Endpoints

Dashboard Features

  • Analytics
  • Conversations
  • Users
  • Bot Integration
  • Helpcenter
  • Campaign Messaging
  • Settings

Configuration

  • Single Sign On (SSO) Setup
  • Webhooks
  • Access Token URL
  • Email Fallback

Sunshine Integration

Sunshine Integration

With Sunshine integration to Kommunicate, you can seamlessly incorporate Kommunicate's advanced GenAI chatbots into Zendesk's chat widget and, agents can efficiently manage assigned chats directly from the Zendesk dashboard.

Follow these steps to integrate Sunshine with the Kommunicate:

  1. Login to Zendesk -> Go to Admin Center -> Apps and Integrations -> Conversation Api -> Create Api Key-> Give a name to your Key and click on Next.

receive-message-change-color

Copy the Information displayed on the following sheet as you cannot access it later.

receive-message-change-color

  1. Login to Kommunicate -> Go to Integrations -> Sunshine Conversation -> Fill the Details.

receive-message-change-color

  1. Copy Integration ID from dashboard. sunshine-integration-id

Note the integration ID here to use in the below script.

  1. Use the following script in the Head tag.
<script>

    !(function (o, d, s, e, f) {
        var i,
          a,
          p,
          c = [],
          h = [];
        function t() {
          var t = "5";
          try {
            if (!f) throw new Error(t);
            var e,
              n = "https://cdn.smooch.io/",
              r = "smooch";
            e =
              "string" == typeof this.response
                ? JSON.parse(this.response)
                : this.response;
            var o = f.match(/([0-9]+)\.?([0-9]+)?\.?([0-9]+)?/),
              s = o && o[1],
              i = o && o[2],
              a = o && o[3],
              p = e["v" + s],
              c = e["v" + s + "." + i + ".patch"];
            if (e.url || p || c) {
              var h = d.getElementsByTagName("script")[0],
                u = d.createElement("script");
              if (((u.async = !0), a)) u.src = c || n + r + "." + f + ".min.js";
              else {
                if (!(5 <= s && p)) throw new Error(t);
                u.src = p;
              }
              h.parentNode.insertBefore(u, h);
            }
          } catch (e) {
            e.message === t && console.error(e);
          }
        }
        (o[s] = {
          init: function () {
            i = arguments;
            var t = {
              then: function (e) {
                return h.push({ type: "t", next: e }), t;
              },
              catch: function (e) {
                return h.push({ type: "c", next: e }), t;
              },
            };
            return t;
          },
          on: function () {
            c.push(arguments);
          },
          render: function () {
            a = arguments;
          },
          destroy: function () {
            p = arguments;
          },
        }),
          (o.__onWebMessengerHostReady__ = function (e) {
            if ((delete o.__onWebMessengerHostReady__, (o[s] = e), i))
              for (var t = e.init.apply(e, i), n = 0; n < h.length; n++) {
                var r = h[n];
                t = "t" === r.type ? t.then(r.next) : t.catch(r.next);
              }
            a && e.render.apply(e, a), p && e.destroy.apply(e, p);
            for (n = 0; n < c.length; n++) e.on.apply(e, c[n]);
          });
        var n = new XMLHttpRequest();
        n.addEventListener("load", t),
          n.open("GET", "https://" + e + ".webloader.smooch.io/", !0),
          (n.responseType = "json"),
          n.send();
      })(window, document, "Smooch", "integration-id", "5");
    </script>

Use the following script inside the body tag.

<script>
      Smooch.init({
        integrationId: "integration-id", // Add the integration id here
        canUserSeeConversationList: false,
        businessName: 'Kommunicate',
        businessIconUrl: 'https://static.zdassets.com/sunco-accounts/sunco-dashboard/v19/43f8f7a97a52a609c850cdbdfac3107a.svg',
      }).then(function (data) {
          Smooch.createConversation({
            metadata: {
              isFirstTimeCustomer: true,
            },
          }).then((conversation) => {
            console.log("Hello Sunshine");
          });
      });
</script>

The following is an example of how to add the script.

receive-message-change-color

receive-message-change-color

Replace integration-id with the integration-id that you got from step 3.

  1. To handover the conversation to the Zendesk agent, add the handover action in the Default Fallback section as shown below:

receive-message-change-color

The following is what the chat widget looks like.

receive-message-change-color

  1. To modify the bot's name, adjust the "businessName" field, and to alter the icon, update the "businessIconUrl" accordingly.
businessName: 'Kommunicate',
businessIconUrl: 'https://static.zdassets.com/sunco-accounts/sunco-dashboard/v19/43f8f7a97a52a609c850cdbdfac3107a.svg',

Resolving Kommunicate Conversations from Zendesk

This guide provides the steps to automatically resolve Kommunicate conversations when they are marked as resolved in Zendesk.

1. Create a Webhook in Zendesk

  1. Navigate to Admin Center in Zendesk.
  2. Go to Apps and Integrations > Webhooks.
  3. Click on Create Webhook.

create-webhook

  1. Select Way to Connect: Trigger and Automation

way-to-connect

  1. Fill in the following details:
  • Name: Close Ticket
  • Endpoint URL: https://omni-channel.kommunicate.io/zendesk-sunshine/webhook/<KOMMUNICATE_APP_ID>
  • Request Method: POST
  • Request Format: JSON
  • Authentication: none

fiil-details

  1. Click on Create webhook to save webhook.

2. Get Zendesk API Token

  1. Navigate to Admin Center in Zendesk.
  2. Go to Apps and Integrations > Zendesk API.
  3. Enable Token Access if it is not already enabled.
  4. Click on Add API Token.
  5. Enter a name for the token and Copy the API token and store it securely. You will need it for the webhook configuration

api-token

  1. click Save.

3. Create a Trigger in Zendesk

  1. Go to Admin Center > Business Rules > Triggers.
  2. Click on Create Trigger.

create-trigger

  1. Fill in the following details:
    • Trigger Name: Resolve Kommunicate Conversation
    • Conditions:
      • Meet ALL of the following conditions:
        • Ticket | Ticket Status | Changed to | Solved

create-trigger

  • Actions:
    • Notifications > Notify Active Webhook:
      • Webhook: Close Ticket

While setting up the trigger, ensure you add the following JSON payload in the action:

 {
"events": {
    "ticketId": "{{ticket.id}}",
    "message": "CLOSE_TICKET",
    "userName": "<ZENDESK_USER_NAME>",
    "apiToken": "<API_TOKEN>",
    "subDomain": "<SUB_DOMAIN>"
   }
}

Note:

  • The value of the 'message' key in the JSON payload should always be 'CLOSE TICKET'.
  • Your <ZENDESK_USER_NAME> is the email address associated with your Zendesk account.

add-payload

This payload ensures that the correct conversation ID is passed to the Kommunicate API for resolution.

← Telegram IntegrationFreshdesk Integration →
  • Sunshine Integration
  • Resolving Kommunicate Conversations from Zendesk

Ready to automate more than 80% of your customer support?

Try for Free
  • support@kommunicate.io
  • United States
    (+1) (310) 402-2374
  • India
    (+91) 974-057-0196
  • Learn
    • iOS Chatbot
    • Amazon Lex Chatbot
    • Chatbot in Android
    • ChatGPT with Flutter
    • Document to Chatbot
    • React Native Chatbot
    • Create Flutter Chatbot
    • Whatsapp Business API
    • Integrate React Js Chatbot
    • Whatsapp Chatbot Using NodeJs
    • Integrate ChatGPT With Whatsapp
    • Integrate Dialogflow With Whatsapp
    • ChatGPT For Product Engagement
    • Product
    • AI Chatbot Builder
    • Generative AI Chatbot
    • Customer Experience
    • Chatbot Features
    • Dialogflow Integration
    • FAQ Chatbot
    • Live Chat
      Industries
    • Healthcare Chatbot
    • E-commerce Chatbot
    • Education Chatbot
    • Banking Chatbot
  • Integrations
    • E-commerce Chatbot Integration
    • Omnichannel Chatbot
    • Chatbot Integration
    • Chatbot for Website
    • Mobile Apps Chatbot
    • Chatbot for CRM's
    • Automation and Analytics
    • Zendesk Chatbot Integration
  • Resources
    • Chatbots Templates
    • Case Studies
    • Whitepapers
    • Chatbot Guide
    • Videos
    • Knowledge Hub
    • Comparisons
    • ROI Calculator
    • Blogs
    • Company
    • Partner Program
    • Affiliate Program
    • Pricing
    • About Us
    • Media
      Support
    • Contact Us
    • HelpCenter
    • Stack Overflow
    • API Status
  • Comapare
    • Kommunicate Vs Verloop
    • Kommunicate Vs Intercom
    • Kommunicate Vs Yellow
    • Kommunicate Vs Twak
    • Kommunicate Vs Ada
Arabic
Hindi
Spanish
French
German
Portuguese
Urdu
Software Advice Frontrunners for Live Chat Mar-22Software Advice Frontrunners for Live Chat Mar-22crozdesk badgeISO certificationHIPAA complianceGDPR compliant - GDPR Copy 12Created with Sketch.COMPLIANT
Copyright © 2025 Kommunicate.io.
T&C Privacy Policy Career SLA DPA Sitemap