Numbers and Apps

To setup IMIconnect platform, configure numbers and apps. Numbers are required to send and receive messages on telecom channels, that is, SMS and Voice. Apps are required to send and receive messages on IP channels such as, Real Time Messaging (RTM), Push, Facebook, Twitter, and WeChat.

All messages on IMIconnect are sent through a service. An administrator or a developer with appropriate permissions can create a service. Numbers and apps configured are mapped to a service before messages can be sent. The Admin, Developer, or an Asset Manager can allocate one asset per channel to a team/user within a service. Multiple Short codes, Phone Numbers, and Keywords can be allocated to a user within a service.

Following are the topics of this section:

Short codes

A Short code is a 5 or 7 digit number that is used to send and receive SMS.

Short codes are mostly useful for business groups that interact with customers through an SMS and expect to receive an SMS from their customers. A Short code allows you to send and receive large volumes of SMSes, using the same RESTful APIs as Long codes.
Short codes may be specific to one telecom service provider or common to all telecom service providers.

To get a Short code, Please reach out to the support team..

On successful request, the Short code is displayed on the numbers screen.

📘

Note:

Short codes may not be available immediately, as it involves back end verification process with telecom service providers. The verification process may take up to two working days.

Phone Numbers

A phone number is a 10-digit number that is used to send and receive a Call or an SMS. You can buy phone numbers for 84 countries using IMIconnect. In case you cannot find the country of your interest, you can place an offline request with us.

To get a number, follow these steps:

  1. From the IMIconnect menu, click Numbers . The numbers screen appears.

  2. Click GET NUMBERS and select PHONE NUMBER.

  3. Enter the name of the country and select the country name from the list that appears.

  4. Click NEXT. The Buy Phone Number screen appears.

  5. Select a number type from the options:

    • Multi-Function: Capable to make Voice calls and/or send SMS.
    • Landline: Capable to make Voice calls only.
    • Mobile: Capable to send SMS only.
    • Tollfree: Capable to make Voice calls and send SMS.
  6. Number (Optional): Enter a preferred number combination. For example 456 or 999.

  7. Click SEARCH. All the available numbers are displayed along with the monthly rental, inbound voice, and SMS rates.

  8. Select the number from the list and click BUY. A confirmation screen appears.

  9. Click CONFIRM AND BUY after verifying the details.

  10. On the second confirmation screen, click CONFIRM to buy the number.

📘

In case an address is required for purchasing a number for that country, an address form would be displayed to capture the information.

On successful request, the Phone Number is displayed on the numbers screen.

Sender ID

A Sender ID is the address from a SMS or text message can be sent. A Sender ID represents a meaningful word or brand of your business. These are useful to send hundreds of messages in few seconds and is used for one-way communication. The receivers cannot reply to a Sender ID.

Sender IDs are mostly useful for business groups that interact with customers through an SMS to promote their business.

To get a Sender ID, follow these steps:

  1. From the IMIconnect menu, click Numbers . The numbers screen appears.
  2. Click GET NUMBERS and select SENDER ID. The Sender Id request screen appears.
  3. Add the following details:
  •    Desired Sender Code: Enter the Sender ID you wish to buy.
    
  •    Country: Enter the country name in which the Sender ID will be used.
    
  1. Click Submit.

On successful request, the Sender ID is displayed on the numbers screen.

📘

Two-way conversations

If you want to engage in a two-way conversation with your customer over SMS, then you will need to buy a number and add the same as Sender ID including the country code. For example if the number you bought is +44771282790, then add 44771282790 as a Sender ID so that you can send messages from this number and your customers can respond

📘

In some countries, governments and telecom service providers have placed restrictions on the SMS and Sender IDs. You can view the restrictions from IMIconnect menu > Tools > SMS RESTRICTIONS.

Keywords

A Keyword is a short text that is associated with a Short code, relative to businesses or campaigns reserved by an organization. If you already own a Short code, you can request any number of Keywords for that Short code. On the contrary, if you are interested in getting only a Keyword and do not already have a Short code, then you will be given a default Short code along with the requested Keyword. The default Short codes may be shared with other users of IMIconnect and are subject to availability.

For example, a bank can reserve a keyword as SAVINGS and Short code as 55555. The bank may ask the customers to SMS "Text SAVINGS to 55555" to receive a call on savings information. The SAVINGS keyword may also be requested by another bank without a Short code. IMIconnect will provide the requested keyword to the latter bank along with a default Short code.

To get a keyword, follow these steps:

  1. Login to IMIconnect.
  2. Click Numbers from the menu.
  3. Click GET A NUMBER and select KEYWORD.
  4. Enter the Desired Keyword.
  5. Select the Short code Type you wish to associate your Keyword. The options are:
    • Vanity
    • Random
  6. If you select Vanity, enter Desired Short Code.
  7. Choose the appropriate option from the Assign Random if desired short code unavailable drop down.
  8. Enter the following details:
    • Email ID
    • Company Name
    • Mailing Address
    • Primary Contact Name
    • Primary Contact Number
    • Service Name
    • Service Website
    • Is this an existing Website
    • Service Content Details

📘

A Keyword cannot be more than 50 characters and does not allow spaces.

  1. Click Submit.

On successful request, the selected Keyword is displayed on the numbers screen.

Mobile App

The IMIconnect iOS and Android SDKs provide a messaging framework for mobile app developers to integrate IMIconnect’s Real Time and Push messaging services into their mobile applications. The SDK also supports monitoring of device events. These events are reported back to IMIconnect and stored against the customer’s profile. These events are useful before sending messages to your customers.
For example, you may check the battery level before sending a message. You may ignore those customers whose current battery level is less than 5% while sending a message.

Add a Mobile Application


Before you add a mobile application, the following pre-configuration steps must be completed. The keys that are obtained from these steps are used to configure iOS, Android, and Web platforms.

To add a mobile application in IMIconnect:

  1. On the menu, click Apps. The Application screen appears.
  2. Click CONFIGURE APPS > MOBILE / WEB.
1034
  1. Enter the application name and click NEXT.

532

  1. Select the Mobile or Web platform and click NEXT. Based on the selected platform, supported mobile OS or supported browsers screen appears.
  2. Select OS or browser and click NEXT. The respective app configuration screen appears.
  3. Follow the below links to configure mobile and web configuration:
  1. When the configuration is complete, click SAVE.

A confirmation message is displayed when the application is created successfully.

📘

Before registering customers through app, a master profile has to be created using Create Profile API.

Registering on Apple Business Register

Create an Apple Business Chat application

A Business Chat application is automatically created within IMIconnect when you register on the Apple Business Register to create a business chat account and choose IMIconnect as your service provider (CSP).

Registering on Apple Business Register

Before your business can offer Business Chat to its customers, you must register with Apple. You will then need to select an approved Customer Service Platform (CSP) during registration to use Business Chat.

To register for a new business account, follow these guides by Apple

  1. Getting started with Business Chat
  2. On-boarding your account

Once your business account is approved, choose IMIconnect as your CSP platform

930

CSP Configuration

You will need an IMIconnect account to complete the linking process. Once successfully linked, you will find your business account under Apps in your IMIconnect account.

Note: If you do not have an IMIconnect account, you need to register for a free trial on IMIconnect.io and wait for the approval which takes about 2 hours on a business day.

Web Push Configuration

IMIconnect Web Push Notification feature allows you to send notifications to your customers' browsers, even when they are not on your website. The user must 'opt-in' and agree to receive notifications from your website. Once opted to receive notifications, your customers can receive notifications even when the browser is closed. Web Push notifications are supported only on HTTPS sites.

Some advantages of Web Push:

  • You can send push notifications to your customers without having any contact details.
  • Your customers can receive push notifications even when the browser is closed.
  • You can send push notifications to those customers that are not on your website.

Web push notification examples:

  • A bank can notify customers about their payments.
  • A notification can be sent when a particular request or process is complete.
  • A sports or news website can send timely updates to its subscribers.

📘

Web push notifications are not supported in private browsing mode.

Web push notifications are supported on the following OS and browsers:

OSChromeFirefoxSafari
Windows Desktop (Version 7 ,8 ,10)YesYesNo
Mac OS X 10.11 (EI Captain)YesYesYes
Linux (Fedora 24)YesYesNo
iOS (9.x)NoNoNo
Android (5.x)YesNoNo

Click here to view the step-by-step instructions to configure Webpush platform.

Facebook

Prerequisites to create Facebook asset :

The client must have,

  1. A Facebook account. If not, create a user account with Facebook.
  2. A Facebook page. The page should also be created with the same account. To create a Facebook page, click create a page on Facebook.

Adding Facebook Asset to IMIconnect

  1. Login to IMIconnect with valid credentials.
  2. On the main menu, click Apps . The Apps page is displayed.
  3. Click CONFIGURE APPS and select FACEBOOK.
  4. Enter a name to identify the Facebook channel and click Next.
    If you are already logged into Facebook on your computer, all the Facebook pages available in your account are displayed. If you are not logged in, an authentication screen appears to enter username and password.
  5. Assuming that you are already logged into Facebook, select the Facebook page and click NEXT. The Facebook is now configured to IMIconnect. Already configured pages cannot be selected.
989

Facebook page details

FieldDescription
PAGE NameName of the Facebook Page that is configure to manage by IMIconnect
AUTHORIZED BYThe individual who created the page.
ADDED BYThe individual who configured the page to IMIconnect.
  1. Configure the Advance setting(optional) settings:

Option

Description

Messenger Plugin

Two plugins Send to Messenger and Message Us Plugin are provided. You can use these plugins on desktop and mobile web to access Facebook Messenger.

  • Send to Messenger: This plugin is used to trigger an authentication event on IMIconnect. You can configure the plugin to be displayed as a button on your webpage. When the button is clicked, a confirmation popup appears. For example, using this button you can authenticate your user with Facebook account to login your website.

  • Message-Us: This plugin is used to navigate a user to Messenger to start a conversion. On mobile, users are send to Messenger app.

  • Check box: The checkbox plugin is similar to the Send to Messenger plugin, but is optimized for forms, and can be used for just about any form-based flow on a site.

Follow these steps to add plugin in your desktop and mobile web:

  1. Click on GET CODE.

  2. Select Send to messenger Plugin or Message Us Plugin.

  3. Click NEXT and copy the code that appears on your screen.

  4. Add this code in your webpage or mobile app.

Welcome Screen

A welcome screen is displayed when a user visits your Facebook page for the first time. You can also configure Get Started button for users to start a conversation.

To configure Welcome screen and Get Started button, follow these steps:

  1. Click CONFIGURE.

  2. Enter the welcome message along with variables. When you configure a message with variables {{user_first_name}} and {{user_last_name}}, any user who visits your page will be displayed a welcome message with their firstname and lastname.

  3. Select Enable "Get started button" and enter a payload text.

  4. Click SAVE.

When a user visits your Facebook page, a welcome message and a Get Started button is displayed. When users clicks on the Get Started button, a postback event is triggered to IMIconnect with the payload that is configured. You can configure a rule and a subsequent action based on the payload such as sending a thank you message for visiting the page.

Persistent Menu

A persistent menu is a menu that appears next to the message typing screen. The menu can hold up to 5 menu items that can be configured to perform an action such as open a URL or add a payload. To configure persistent menu, follow these steps:

  1. Click CONFIGURE. The persistent menu configuration screen appears.

  2. Enter the text to be displayed on the menu.

  3. Select the Open URL or postback.

  4. Enter the URL or postback payload. You can enter up to 1000 characters.

  5. Click ADD MORE OPTIONS to add another menu item. You can add up to 5 menu items.

  6. Click SAVE.

When a user visits the page, a menu appears next to the message typing screen.

menu

Download messenger codeClick to download the messenger code. It can be used to redirect to the Facebook page on scanning the code from the messenger.

Twitter

Login/Create Twitter Asset

  1. Login to a Twitter Account; If you have not registered, Sign up to create a Twitter profile.
  2. From Profile and settings, select Security and privacyand choose Privacy and safety Scroll down the page and enable Receive Direct Messages from anyone option.
891
  1. Click Save changes. Now your twitter account can receive messages from anyone.

Adding Twitter asset to IMIconnect Platform

  1. Login to IMIconnect.
  2. Click Apps from the menu. The Apps screen is displayed.
  3. Click CONFIGURE APPS and select TWITTER
  4. Enter the Name of the Twitter App you are creating and click Next
636
  1. Under Twitter Application Details, click ADD TWITTER ACCOUNT
    The page is navigated to twitter official page and requests for App authorization.
  2. Enter the Twitter handle details and click Authorize App
675 673
  1. IMIconnect is now configured to receive and send Twitter messages.

Twitter Application Details

FieldDescription
Account NameTwitter account name
Twitter HandleTwitter account handle code
Added byName of the user who created this Twitte assedt into IMIconnect.
CHANGE TWITTER ACCOUNTClick to remove the current Twitter account.

Advance Settings

GET CODEClick to get the Plugin code to use it with a Twitter button.
CONFIGURE (Welcome Screen)Click to configure a welcome screen in a chat window.This welcome message is displayed, when a user clicks on the Twitter button to start a chat for a very first time.
Write the welcome message here.Enter the welcome message that you want to display to the user when the chat window is open for the first time.
Attachment TypeSelect an attachment type you want to display in the chat windows.
Attachment URLEnter the URL of the attachment type you have selected.
Configure Quick Replies (toggle switch)Switch on to configure Quick Replies in the chat window.
LabelEnter the label of the quick reply.
DescriptionAdd a description to the quick reply.
MetaDataMetadata of the quick reply.
ADD MORE OPTIONSClick to add another quick reply option.

WeChat

📘

WeChat restricts the official accounts to initiate an interaction. An inbound message from customers is mandatory before sending a WeChat message. WeChat also limits the official accounts to push messages only within 48-hours of the incoming message from the customers. The limit extends by 48-hours when a new message is received from the customer.

Prerequisites for WeChat Asset Configuration

Follow these steps to create assets on WeChat:

  1. Go to Wechat and create an Account.
  2. Navigate to Developer Center and make a note of the following. These are used in IMIconect to configure WeChat.
    • AppID
    • AppSecret

550

WeChat Asset Addition

  1. Login to IMIconnect.
  2. Click Apps from the menu. The Apps screen appears.
  3. Click CONFIGURE APPS and select WECHAT.
  4. Add the following details in the screen that is displayed:

WeChat Official Account Details

  • App ID: Enter App ID that is generated in the WeChat website.
  • App Secret: Enter App Secret that is s generated in the WeChat website.

Configurations in WeChat Official Account

  1. Make a note of the CALLBACK URL AND CALLBACK TOKEN. These are used in WeChat OA settings in WeChat website.

Customer on-boarding setting (Optional)

  1. Enter a Keyword to on-board a customer. The default keyword is #start.
  2. From the drop-down Select Unique Identifier.
  3. Enter a Keyword to off-board a customer. The default keyword is #stop.
  4. From the drop-down Select Unique Identifier.
  5. Select Sender Id from the drop-down. The Sender ID is used to send OTP to on-board a customer.
  6. Click Save.

A confirmation message appears when the application is created successfully.

📘

The auto-generated call back URL and token for every asset must be configured in the ‘server settings’ within the developer section of the WeChat official admin portal.

Sharing of Channel Assets

Any users with the role as Admin, Developer or Asset Manager can allocate the added assets to a specific group, where all the teams or a team within the group can use the asset within their services. Only apps can be allocated to groups and teams.

To allocate an asset to a group or team, follow these steps:

  1. After you create an asset, click MANAGE against the asset.

  1. The manage screen appears. Scroll down the page and select appropriate option.
  • Share to a group only: Select this option to share an asset to a group.
  • Share to a team: Select this option to share an asset to a team within a group.
  • Share to all groups and teams: Select this option to share an asset to all groups and teams.

  1. To share an asset to a group, select Share to a group only. The ADD NEW is enabled.
  2. Click ADD NEW and select the group name from from the drop-down. To share the asset to all teams within the group, select the checkbox "Share to all teams under this group".
  3. To share an asset to a team, select Share to a team. The ADD NEW is enabled.
  4. Click ADD NEW and select the group name and team from from the drop-down.
  5. Click UPDATE.

RTM

RTM is a high performance IP messaging platform that powers the messaging capabilities on the RTM channel exposed on IMIconnect. Clients are provided with Android / iOS SDKs to facilitate two-way messaging between the SDK embedded applications installed on their customer handsets and the RTM gateway of IMIconnect.
Key components of the RTM gateway include:

  • MQTT Broker: A cluster of MQTT Broker Nodes responsible for distributing messages between RTM Apps and IMIconnect services via RTMS.
  • Application Server: Webserver used for hosting RTMS admin web console and HTTP(S) REST API exposed by RTMS for RTM SDK, OTT APP call-back and IMIconnect.
  • OTT handler: A set of modules used by Processors (MO / MT and DR) to interface with OTT App provider API and normalize OTT specific messages to RTMS message format. The RTM gateway processors comprise of the following:
    -- MO processor - Configured to process and dispatch MO messages to IMIconnect MO queues. All transactions are logged in RTMS database.
    -- MT processor - Configured to process and dispatch MT messages to MQTT brokers and OTT Handlers. All transactions are logged in RTMS database.
    -- Retry processor - Configured to process and dispatch failed MT messages (stored on Queues by MT processor) tagged for retry to MQTT brokers and OTT Handlers. The number of times to retry and time interval between retry are configurable. In case all retry attempt fails, a message will be stored in IMIconnect DR queue with failed status and reason code.
    -- DR processor - Configured to process and dispatch DR messages (stored on Queues by MQTT
    broker and OTT handler) to IMIconnect DR queue. It also updates RTMS MT transaction logs with status delivered. Expiry Monitor in DR processor periodically query RTMS MT transaction logs for messages with expiry time did not receive DR message, for each of this message it update the transaction logs as expired and store a message in IMIconnect DR queue with status expired.
  • Queues: A cluster of Message Queue nodes with high availability responsible to store messages in queues for being picked up the Gateway processors (MO/MT/DR/Retry Processors).
  • Application profile: Must be created prior to any message exchange between RTM App and IMIconnect services via RTMS. For each application profile, a unique AppId is generated and a profile is created in RTMS database. RTMS uses profile manager API to create a separate collection to store customer’s attributes on boarded via RTM App. All message exchanges via RTMS mandatory include AppId attribute. RTMS provides two interfaces to create and manage Application profiles.

Threads

A stream is used to route messages from customers to one service (one stream, per service), which limits the conversations that can be established on multiple threads via the same service.
For example, if a customer sends a message for a credit card query and another message for account settings related query, both the messages will be received on IMIconnect via the same stream. It is not possible to route the messages to two different support agents. In order to overcome this problem, a thread ID is used for all incoming and outgoing messages to identify which conversation that particular message is a part of.
Application developers can use this combination of thread and conversation stream, to segregate the messages into conversation view within the application.

Conversation Streams

Only one conversation stream can be added to a service, but the same stream can be used in multiple services.

Device Sync

All outbound messages from IMIconnect are sent to the devices that are registered with a destination user ID, but the incoming messages and the message receipts are not synced across user's devices.

Topic Based Messaging

In order to sync all incoming messages and message receipts received from a device, all the subscribed user IDs will receive the message that have the destination type as topic.

Announcements and Conversations

An RTM message is disintegrated into two thread types:

  • Announcements: These messages are one-way and they do not expect a customer's reply.
  • Conversations: These messages are two-way, which means that the customer can send a reply.

Both announcements and conversations can be delivered to a topic.