ixHello
ixHello Customer
ixHello Customer
  • About iX Hello
  • General
    • iX Hello: Create Account
    • iX Hello: Basic Mode
      • Webchat Assistant
        • Direct Chat Link
        • Embedded Chat Assistant
      • Digital Assistant
        • Digital Avatar
        • Kiosk Mode
      • Call/SMS Assistant
      • Administrative Purpose
    • iX Hello: Studio Mode
      • Prerequisites
      • Steps
        • App Creation
        • Data Source Configuration
        • AI Content Setup
        • Method Setup
        • Intent Setup
        • Slot Setup
        • Utterance Setup
        • Input Setup
        • Input Parameter Setup
        • Publish Setup
        • Test
        • Enable Call /SMS
    • Enterprise Connections
      • Generative AI
      • Internal Content
      • Microsoft Office 365
    • AI Contents
      • Add AI Content
    • Use cases
      • Contact Finder with Salesforce
        • Pre-requisites
          • An active Salesforce account
          • Lex Developer Account
          • Integrate Salesforce with iX Hello
        • Build Custom App
      • Contact Finder with REST API
        • Prerequisites
          • Integrate API Service with iX Hello
          • Lex Developer Account
        • Build Custom App
  • Apps
    • App Templates
    • NLP Custom App
    • Custom App Series - Step 1 - Building a Custom App
    • Custom App Series - Step 2 - Creating a Connection
    • Custom App Series - Step 3 - Publishing to a Channel
    • Lex Auto Publishing Setup
    • Office 365 SharePoint - Custom App
    • Office365 Exchange - Custom App
    • SalesForce Custom App
    • App Template Export & Import
    • IntentFeature BeforeAfterMethod
    • iX Hello Supported Periods Date Range
    • Shared App
    • ExecuteJS
  • Connections
    • Amazon Web Services
      • Amazon Kendra
      • Amazon Lambda
        • Amazon Lambda: Create Lambda Function
          • Amazon Lambda: iX Hello Integration
      • DynamoDB
    • Login with Amazon Setup
    • SalesForce
      • SalesForce: Create an account
      • SalesForce: Connect to iX Hello
    • Microsoft Office365 Integration Guide
    • Microsoft Office365 AAD
    • MS SQL Server
    • Twilio
  • Blueprints
    • Create App Using App Blueprints
    • Lex Bot using Appointment Blueprint
    • Domain App using Internal Data
    • Domain App S3 Data Source Setup
  • Channels
    • Amazon Alexa
      • Create Amazon Developer Account
      • Registering Alexa User Account
      • Alexa Account Linking to iX Hello
    • Amazon Lex
    • Amazon Lex Integration
    • Amazon Connect and Lex Bot Integration
  • JSON Methods
    • Internal Data JSON Methods
  • Solutions
  • AWS IAM users
  • Finding AWS Region
  • Glossary
Powered by GitBook
On this page
  • Objective
  • Pre-requisites - Azure Subscription
  • Application (Client) ID, Tenant ID, Client Secret, Permissions & Authentication
  • Connecting with iX Hello
  • Setup connection to Office 365 Exchange
  • Create a custom App in iX Hello
  • Creating a Data Source
  • Create Methods to fetch the data from Office 365 Exchange
  • Scenario/Use Case (Read Emails):
  • Create Intents
  • Create Slots
  • Create Utterance
  • Create Input
  • Publish to Lex
  • Test the App using Simulator

Was this helpful?

  1. Apps

Office365 Exchange - Custom App

PreviousOffice 365 SharePoint - Custom AppNextSalesForce Custom App

Last updated 5 days ago

Was this helpful?

Objective

This document will demonstrate how easy it is to integrate Office 365 Exchange to the iX Hello platform, create methods to pull data, and publish to Lex to test the Apps.

Pre-requisites - Azure Subscription

The first and foremost prerequisite for a Microsoft Office365 Exchange App is to get an Azure Subscription. Please follow this document for .

  1. In Azure, you will need to add some Office 365 exchange permissions. To give these permissions, click on the Add a permission button.

  1. Click on the Microsoft Graph button option at top.

  1. Click on the Delegated permissions button option. You will be able to see the list of permissions that you can give to your registered application.

  1. Use the Select permissions field to narrow your search. Add the following permissions: Calendars.ReadWrite.Shared Mail.ReadWrite Notes.ReadWrite.All Notes.ReadWrite.All offline_access People.Read

  2. Click on the Add permissions button to complete the permission as shown in picture below:

  3. At the end, the permissions should look similar to:

  1. For authentication, you have to provide a redirect URL where Office 365 resides. Click on Authentication in the left menu. Then click Add a platform, Select Web in Configure platforms section.

  1. Provide the following URL to iX Hello as Redirect URL, so that Office365 can redirect to iX Hello after the authentication is done: https://bots.ixhello.com/OAuthCode/Redirect

  1. Once the platform is added, you should see redirect URIs as below:

Now you have successfully configured App on Azure.

Application (Client) ID, Tenant ID, Client Secret, Permissions & Authentication

  1. To be able to connect to Office365 from the iX Hello platform, one application registration is required, and the user should have permissions to view and execute Office365 functions. Once the application registration is successful, you can copy the information as described in the steps below:

  2. User will need to visit the newly created application and note the following information as highlighted with red marker. The Application ID and Tenant ID can be found inside the red contour.

  1. On the left navigation menu, click Certificates & Secrets. Click on New client secret:

  1. A popup will appear. Fill-in the necessary information as shown and press Next:

  2. App expiration can be customized as shown below:

  3. After user clicks Add, the application secret will appear as shown below. Copy the value and store it in a safe location. This information can only be seen once. If this value is lost, it will be necessary to create a new secret.

  4. User should now have Client ID, Tenant ID, and Client Secret.

Connecting with iX Hello

To proceed with these steps, you should have all the pre-requisites satisfied. If you are missing something, please go back and make sure you satisfy all of them.

Once done, you are ready to get started using iX Hello platform with Office 365 Exchange.

The following shows the general steps/activities that will be carried out in setting up this integration. Note: It is advisable to use same E-Mail for signup across the 3 channels below. Step 1 -3 below are compulsory.

  1. Sign up for iX Hello account

  2. Set up connection to Office 365 Exchange

  3. Create a custom App in iX Hello

  4. Publish the App

  5. Test the Lex App

Setup connection to Office 365 Exchange

  1. Click on the Studio Mode link at the top of the page:

  1. Studio Mode opens:

  1. Browse to: Integration > Connect System as shown below. Click Add New Connection.

  1. From the dropdown list, select Microsoft Office365 Exchange and press Next

  1. Click on Connect to Office365

  1. A Configuration page appears:

  1. You will be redirected to the Microsoft login screen. Enter your Microsoft Office 365 login credentials.

  1. Microsoft Office 365 will confirm your acceptance to allow SmartOffice connect to your Microsoft Office 365 Platform. Click Allow.

  2. You will be redirected to the SmartOffice integration confirmation page

  1. You have successfully configured SmartOffice integration to Microsoft Office 365. Now, you have successfully integrated Office 365 Exchange with the iX Hello platform. Now, you may click on Return to Integration Configuration button to come back to the connections page. You should see Microsoft Office 365 Exchange in the list as shown below.

Create a custom App in iX Hello

  1. To create an app, browse to Apps > Custom Apps and click on New Custom App, you should see a small popup screen as shown below.

Provide following details in the pop-up form.

Name: iX Hello Exchange 2025

Custom App Type: Search

Category: Default

Click: Save.

You should see a screen as shown below:

Creating a Data Source

A Data Source connects the app with the integration. Once you have an App created, click on the iX Hello Exchange 2025 name to open the App properties page. Open the Data Sources tab and click on Create New Data Source.

A popup screen appears:

Add DataSource by doing the following:

Name: Office Exchange DS

Integration Configuration: Select Microsoft Office365 Exchange: SharePoint Portal (created in Step 4)

Create Methods to fetch the data from Office 365 Exchange

Methods allows you to interact with Office 365 Exchange data.

As of the publication date of this document, iX Hello supports following Office 365 methods:

  1. Read Emails

  2. Read Emails from Email Addresses

  3. Send Email

  4. Search Messages

  5. Get All Calendars

  6. Get Calendar by Date Range

  7. Search Contact by Name

  8. Get my Notebook

  9. Create Notebook

Depending on your requirement, you will have to use an appropriate method. This document will explain one method with an example and rest of methods will be on the appendix section.

Let’s start with a use case.

Scenario/Use Case (Read Emails):

You want to fetch emails from your Office 365 inbox. For this, you can use the ReadEmails method as explained below.

  1. To create a new method, click on the Methods tab and press Manage Data Sources.

  1. Press Create New Method

  1. Select or enter the following in Method Inputs, Method Output, and Method Result tabs respectively.

a. Name: ReadEmailMethod

b. Request Type: ReadEmails

c. Result Type: ListOfRecords

d. Record JsonPath: $.value[*]

e. Valid Result Template: Here are your last few emails in your inbox: {{Records}}

f. Empty Result Template: I could not find any emails in your inbox

g. Record Template: {{subject}}

  1. Click on Save & Test after filling the above details.

You have to check the Test Result section to confirm if the integration with Office365 Exchange is successful and if the method build is correct.

Following screens demonstrate a successful method. If you are not getting the following results, there might be something missing in your app build. You might also want to test your integration configuration first.

Create Intents

In the top menu tabs, select Intents and Create New Intent.

Provide the following details and Click on Save.

Name: ReadEmailIntent

Intent Type: Search

Intent Action: Execute Method

DataSource: ixHello Exchange DS

DataSource Method: ReadEmailMethod

Create Slots

Slots are required when methods have parameters. Since, this method does not have any parameter, we can skip this step.

Create Utterance

In the top menu tabs, select Utterance and select Create New Utterance. Make sure that the selected Intent is the one we created in previous step. We are creating utterance to invoke the particular intent. Hence, we need to make sure that the correct intent is being selected.

Utterance are words spoken to launch specific intents. Now input or select the following:

Value: Read my email

Custom App: ixHello Exchange 2025

Intent: ReadEmailIntent

Click: Save

Create Input

In the top menu tabs, select Input and select Create New Input.

The Add New Custom Input screen opens:

Then input or select the following:

Name: ReadEmailInput

Description: Read contents of emails

Custom App: ixHello Exchange 2025

Custom Intent: ReadEmailIntent

Data Source: ixHello Exchange DS

Data Source Method: ReadEmailMethod

Publish to Lex

ixHello supports publishing to number of channels like Amazon Alexa, Amazon Lex, Teams, Slack etc. We will be publishing to Amazon Lex V2 for this document.

  1. To publish to Lex, select Publish in the top menu tabs then click Add App Publishing.

  1. In the Add App Publishing window, add an App Description, App Type, Channel, Lex Version, and press Save.

External App Name: ixHelloExchange 2025

Description: Use Office Exchange to read emails

App Type: Search

Channel: Lex

Version: V2

Auto Publish: Unselected

Messages: These fields shall be automatically populated and are used to greet and guide the user. You can modify it as per your interest as well

Optional: Replace all placeholder values in all “Message”. Uncheck all the settings shown in the second image below.

Click: Save.

  1. The App Publishing page reappears with a listing for the new App. Press the ellipses on the far right side and select Publish to Lex.

  1. The Publish app to Amazon Lex V2 screen appears. From the Select Amazon Lex Account dropdown, choose the Lex integration you will use. Press Publish To Lex V2.

Selected App: ixHello Exchange 2025

Select Amazon Account: Select the LWA account setup by your admin or one you set up earlier

  1. If everything is correct, you will see the Publishing Status with all green checkmarks:

  1. If not successful, return to the App to fix any issue shown in publishing result. If successful, press Test Lex Bot.

Test the App using Simulator

  1. To test the app using the Lex simulator, click Test Lex Bot.

  2. A test window will open.

  3. Type Read my email, and the console should show some emails from your inbox.

Congratulations! You have successfully completed building a Custom App and publishing to Lex.

.

.

Ensure you Login with Amazon (LWA) account is setup by your admin. If you are the account admin, you can follow this instruction to set it up.

Login to the iX Hello portal at

Sign Up for Amazon Web Services
Sign up for Lex developer account
https://developer.amazon.com/amazon lex/console/ask
https://bots.ixhello.com
MicrosoftOffice365 Integration