Modern business applications require agent integrations on web/mobile devices to enable seamless customer communication via SMS/chats.
The Kore.ai XO Platform now helps a Google Business Messaging Partner to create rich and asynchronous messaging experiences within apps and during calls through the GBM channel enablement. This feature helps seamlessly integrate real-time business agents to Virtual Assistants.
Google Business Messaging (GBM) is a mobile conversational channel that combines digital customer touchpoints or entry points on Google Maps, Search, and brand websites.
How does it work?
The Kore.ai XO Platform registers each Business as a partner with Business Messages and the conversations between the customers and brands will be enabled by creating agents.
Customers can send messages to your brand or its locations through these agents. When a user finds a brand that Kore.ai manages with the business in Google Search or Google Maps.
When a customer clicks the button, a conversation is initiated with the brand’s virtual agent on the device. Businesses can receive and respond to customer messages through an agent, which is a conversational entity that represents business functions, such as website support, and brand locations. Google delivers the message defined as a JSON payload to the Webhook that Kore.ai provides. The agent uses this Webhook and the Conversational Agent API to receive and respond to the customer’s messages.
Set up on the GBM Channel
The important steps to set up the GBM channel are summarized below:
- Creating a Google Cloud Platform (GCP) project.
- Submitting the partner information to Google.
- Enabling the Conversational Agent API.
Prerequisites
- An active Google account.
- The Partner Name field appears in the Google My Business (GMB) Console for locations associated with the agents you manage.
- A webhook endpoint URL that can accept messages (Kore.ai generates the webhook URL, which will be associated with a virtual assistant built on the platform).
Create a Google Cloud Platform Project
You must create and register a Google Cloud Platform (GCP) project to enable the Learn more.
GBM Channel Enablement on the Platform
To set up the GBM channel on the Kore.ai XO Platform and launch the agent, follow the steps below:
- Register as a Google Business Messaging Partner.
- Create an agent for your account.
- Set up the Webhook for the agent.
- Create a Service Account Key.
- Configure the Virtual Assistant for the service account.
Step1: Register as a GBM Partner
To integrate with the GBM channel, you need to register as a partner for Google Business Messaging with the steps below:
- Open the Business Communications Developer Console.
- Under Business Messages, click Create partner account.
- Enter the values for the following fields in the Create a Business Messages partner account window:
- Your Name
- Partner Name
- Partner Website
- Region
- Click Create.
Step 2: Create an Agent for your Account
To create an agent for your GBM Partner account, you must submit information on the brand and the agent on the Business Communications Developer Console with the steps below:
Note: To manage multiple brands, you must create an agent for each brand.
- Sign in to your account on the Business Communications Developer Console.
- Click Create Agent.
- Enter the values for the Brand name and Agent name fields.
- Select Enable the Business Messages Helper Bot to activate the agent.
- Click Create Agent.
- Click your agent’s name when your agent is available.
Please ensure you have the following values before you create an agent:
- Brand name
- Brand website
- Agent name to appear in conversations with users.
- Agent logo as a publicly available URL.
- Agent welcome message
- Live chat hours
- A physical location of the brand for testing purposes. Please avoid the corporate headquarters or other locations not represented by the brand agent.
- Partner name
- Partner ID
- GCP project number
- (Optional) Business ID identifies the brand in messages the webhook receives.
- Escalation of contact name, email, and phone number.
Step 3: Set up the Webhook for the Agent
After creating the agent, you need to copy the Webhook URL from the Kore.ai Platform and generate the Client Token for the agent to integrate for messaging and events. To set up the agent webhook, follow the steps below:
- Open the Business Communications Developer Console and sign in with your Business Messages Google account.
- Click on the panel with your agent’s name.
- On the Business Communications page, click Integrations on the left menu.
- For the Webhook option, click the Configure link.
- Copy the Webhook URL from the Kore.ai XO Platform under Deploy > Channels > Google Business Messaging > Configurations.
- Paste the copied link for the Webhook endpoint URL field in the Configure your webhook window on the Business Communications Developer Console.
- Click the Refresh icon for the Client token field to generate the Client token.
- Click Verify.
The GBM platform sends a POST request to the Kore.ai XO Platform’s webhook with the ClientToken and Secret Key parameters for verification before sending/receiving messages.
Step 4: Create a Service Account Key
To send messages and events as your agent, you need to authenticate API calls with a service account key. The Business Communications Developer Console creates a service account for you, but you need to create a unique key to access your agent with the steps below:
- On the left menu, click Service account.
- Click the Create key button.
- Click Create on the confirmation window to download the JSON file with the service account key.
- Rename the downloaded file to rbm-agent-service-account-credentials.json.
- Store the key securely to recover it if required.
Step 5: Configure the Virtual Assistant for the Service Account
To configure the virtual assistant for the service account on the Kore.ai XO Platform, follow the steps below:
- Copy the client_email, client_id, token_uri, and private_key values from the downloaded JSON file.
- Paste the values in the respective fields under Deploy > Channels > Enterprise Channels > Google Business Messaging > Configurations.
- Select Yes for the Enable Channel option.
- Click Save
After enabling the channel and verifying all the configurations, you can test the new channel integration by publishing your virtual assistant. Learn more.
To learn more about working with messaging channels within the Kore.ai XO Platform, please see Channel Enablement.