Developer Platform
  • Home
  • Getting Started
    • General Information
    • Features Overview
    • Security
  • APPs
    • Public Apps
      • Shopify
      • Salesforce
      • Zendesk
      • Google Analytics
    • Build your App
      • Getting started
      • My Apps
      • App information
      • App Parameters
      • App Plugins
      • Add Webhooks
      • Submit your Apps
      • App security
      • Developer Policy
  • Use Cases
    • Copilots
      • Product Catalog sync through API
      • FAQ sync through API
    • Visitor experience
      • Integrating custom buttons into your site
      • Check availability before escalating to iAdvize
      • Authenticated Messaging
        • Introduction
        • Web client-side implementation
          • Authenticated Messaging overview
          • Brief timeline of the integration process
          • How to enable authenticated mode in the administration portal?
          • How to implement the customer authentication backend (token provider)?
          • How to authenticate with iAdvize in client's website?
          • How to deal with activation success or failure?
          • How to logout?
          • Compatibility with Mobile SDK
          • FAQ
        • Web backend implementation
          • Important information and recommendations
          • Signature and Encryption Detailed Process
          • Technical backend implementation
          • FAQ
      • Cross-domain Conversation Continuity
      • Customize replies with Markdown
    • Agent workspace
      • Custom App example and step-by-step tutorial
        • Get Started
        • Work with the Desk
        • Intent / Trigger
        • JWT
        • References
    • Administration
      • Users
        • SAML SSO Authentication - Implementation Guide
        • Create, update and delete users via API
        • Manage the availability of your users with the iAdvize API
        • Integrate the iAdvize conversation panel into an existing tool
    • Data & Analytics
      • Anonymize a conversation or visitor data
      • Create a custom dashboard
      • Find contact data using GraphQL
      • Retrieve conversations data
      • Retrieve messages exchanged within a conversation
  • Technologies
    • GraphQL API
      • Terminology
      • Reference
      • Authentication
      • Schema lifecycle
      • Error Management
      • Pagination
    • REST API (deprecated)
      • Statistic (deprecated)
      • Group (deprecated)
      • Call meeting (deprecated)
      • Operator (deprecated)
      • Skill (deprecated)
      • Transaction (deprecated)
      • Visitor (deprecated)
    • Webhooks
      • Reference
      • Guides
    • Desk events
      • Reference
    • Web & Mobile SDK
      • Javascript Web SDK
        • Reference
      • Javascript Callbacks
        • Reference
        • Guides
      • Mobile SDK
        • Fourme (latest)
        • Epoisses
        • Dauphin
        • Cantal
        • 🤝Support Policy
        • 🤔Frequently Asked Questions
    • Custom App
    • External Bot
      • Implementation
        • Configuration flow
        • Conversation flow
        • Conversation objects
      • Configuration
      • FAQ
      • Best practices
Powered by GitBook
On this page
  • Create the external bot application in the iAdvize dev platform
  • Install the external bot application in the iAdvize admin
  • Create a bot operator using the newly installed external bot application
  • Distribute your visitors' conversations to your external bot
  • Create a campaign
  • Create a targeting rule
  • Create a routing group
  • Create a routing rule
  • Check that everything is correctly setup
  • Chat with your bot

Was this helpful?

  1. Technologies
  2. External Bot

Configuration

PreviousConversation objectsNextFAQ

Last updated 1 year ago

Was this helpful?

To be able to configure a bot on the iAdvize platform, you will need to:

In order to be be able to complete this process you will have to implement the first (or you will be stuck at the “Create bot agent” step)

Create the external bot application in the iAdvize dev platform

First, you hav to be logged in. Then go to “My apps” section, and click on “Build”. In our case we will call it “My bot”. To build a bot, you need to go to “Plugins” then select “Bot”. You have just one URL to set: the base URL of your connector. All the requests will go to this URL.

Note that it has to be secured with HTTPS

Click on save and… congratulations! You created your bot application. Of course this is just a stub. If you want this to be fully functional you have to implement the .

Install the external bot application in the iAdvize admin

You just have to click on “Install” and go through the installation process. Finalise the installation by clicking on “Install” and you are done.

You just enabled some bot capabilities on the project you selected. It means that from now on, you can create an operator of type Bot 🎉.

Create a bot operator using the newly installed external bot application

In the Automation menu, then Bots, click on "Create a bot".

Select "External" then "Create a bot".

If you do not have any bot application installed on your iAdvize project, you will not see the “External” option in this window.

Fill in the different information of your bot:

A bot operator is associated with ONE and only ONE language. So, if you want your bot to answer several languages, you have to create multiple bot operators.

Make sure you specify the right language because you can't change the language of a bot.

Distribute your visitors' conversations to your external bot

To be able to chat on iAdvize you need to take several steps:

  1. Create a campaign

  2. Create a targeting rule

  3. Create a routing group

  4. Create a routing rule

Create a campaign

Create a targeting rule

Now we need to define “engagement rules” i.e. how to target the visitor. Click on the “➕” and create a rule “Bot”. In our case, we will define that the button is being displayed when the current url contains the name “bot”. Which means you can add ?bot to any url and it will display the notification.

Add the rule, and publish your campaign.

Create a routing group

It is no longer necessary to manually create a routing group since it is automatically created for each bot you create via the "Automation" section.

Create a routing rule

To finish, we need to create a routing rule. Go to “Routing”, in the upper left select picker, select “Routing rules” and create a rule “Bot targeting”, for the “Bot” notification, that will handover the conversations to the agents of group “[NAME OF YOUR BOT] chatbot routing group”. Such as:

Check that everything is correctly setup

Go to “Campaigns” and click on the “edit” button. If you did everything correctly you should see that your campaign is routed this way:

To sum up, you created a campaign that you associated some engagement rules (when the visitor will see the notification) with, some targeting rules (to which agents the conversations should be handed to).

Chat with your bot

Last but not least let's trigger the chat. Go to the website you installed the iAdvize tag on. Just append ?bot to the current URL and reload the page. You should see the chat.

You are ready to chat! 🎉

In the , go to “Apps” and mind to select the project you want to install your external bot app on. In the list, find your connector, in our case the “My bot” section. Click on the card. You should land on an installation page such as:

In the admin, go to “Engagement”. Create a new campaign such as:

Create a bot distribution rule
Check targeting rule
admin
Install the iAdvize tag on your website
Configuration flow
Conversation flow
Create the external bot application, in the iAdvize dev platform
Install the external bot application in the iAdvize admin
Create a bot operator using the newly installed external bot application
Distribute your visitors' conversations to your external bot