Enhancing a Dialogflow Agent

You can provide a ServisBOT skin to a new or existing Dialogflow bot with a few simple steps. The main difference is that the process to create the bot should start in Dialogflow. Managing the intent will happen there too. The main benefit of wrapping a Dialogflow bot with a ServisBOT experience is the ability for the bot to use markup, and how quickly it is to get a front end up and running

  1. Create a brand new agent in Dialogflow Best instructions are here
  2. Create your DialogFlow Secret
  3. Build your bot.
    1. Navigate to the Bot designer and click “Create Bot”
    2. Select the “DialogFlow Bot” Blueprints
    3. Name your bot, enter your Dialogflow ProjectID and select the secret you created in the previous screen
    4. Build it!
  4. Test and adjust your bot
    1. On the confirmation screen you will find a button to test your bots
    2. Send the bot a message
    3. You can add additional intents directly in Dialogflow, the bot will immediately understand those UserIntents
  5. Use some markup
    1. For one of your intents, drop in some markup as a response
    <List selectable="true" title="Who is your favourite dwarf?" style="large-icon">
      <Item id="0" title="Grumpy" iconUrl="https://imgplaceholder.com/48x48/ffffff/333333/fa-image" />
      <Item id="1" title="Happy" iconUrl="https://imgplaceholder.com/48x48/ffffff/333333/fa-globe" />
      <Item id="2" title="Sleepy" iconUrl="https://imgplaceholder.com/48x48/ffffff/333333/fa-book" />
      <Item id="3" title="Bashful" iconUrl="https://imgplaceholder.com/48x48/ffffff/333333/fa-car" />
      <Item id="4" title="Sneezy" iconUrl="https://imgplaceholder.com/48x48/ffffff/333333/fa-building" />
  1. When you test that intent again, the bot should respond with a visual tile instead of text.