LogicDialog
About UsLogicDialogChat PluginSDK
  • What is Logicdialog?
  • Creating your bot
    • Building a conversation flow
    • Finding and editing blocks
    • Selecting the block type
    • Reusing blocks
    • How to change a block type
    • Organising blocks by topic
    • Removing content
    • Buttons
    • Forms
    • Previewing your bot
    • How to write your content
  • Training
    • NLP
    • Creating Intents
    • Creating Entities
    • Using Intents
    • Review questions
    • Testing Intents
  • Look and Feel
    • Standard text
    • Bot Icon
    • Opening Hours
  • Live Agents
    • Agents & Departments
    • Department Routing
    • Live conversations
    • Notifications
  • Integrations
    • Webhooks
    • Zapier
    • WhatsApp
    • Google Business Messaging
    • MS Teams
    • Facebook
    • Analytics APIs
    • Importing knowledge
      • Importing Word Documents
  • Fundamentals
    • Blocks
    • Analytics
    • Utterances
    • Intents
    • Entities
    • Events
    • Forms
    • Webhooks
    • Chat Plugin
  • Support
    • Getting support
    • Raising Tickets
    • Changes to Authentication Provider
    • Enabling Browser Notifications
    • End of support for chat plugin installer
    • Important update: Action required for live agents
Powered by GitBook
On this page
  • Using a form in your flow design
  • Reusing form values
  • Resetting the form values
  • A Practical Example
Export as PDF
  1. Creating your bot

Forms

PreviousButtonsNextPreviewing your bot

Last updated 2 years ago

are the basis of requesting information from the user. You can create any number of forms you wish, and each form can contain any number of questions.

Creating a form is simple, just follow these few steps :

Using a form in your flow design

To ask the question, or series of questions via a form in a conversation you'll need to use a Function block. When editing this block, you'll see a field called Form which tells the block which questions to ask the user at this time. In the drop down list you'll see all the questions and forms available to use.

As you can also ask single questions, rather than just forms it makes sense to split your questions into reusable pieces. For example creating a question that asks for an email address will allow you to reuse it later, not just in a form.

Reusing form values

When testing your bot you may have noticed that sometimes it doesn't ask you questions in the form that are associated with a given block. This is deliberate because the bot remembers your details from a previous conversation you had with it. We have purposely designed logicdialog to do this, as from a user perspective - you expect the bot to remember your email address after you've input once in the conversation. For example, if your bot handles multiple use cases where a user might enter their email address then the second time they complete one of the use cases we can reuse the email address from before.

There are times however that you might want the bot to forget the details. For those times, you can use the Unset form function which will reset the form values.

Resetting the form values

If you want to make sure that the bot forgets any answers it has captured through a form, include the Unset form function when the bot has finished using the answers for what it needs. You can do this either from the Responses screen, or when on the Visual Builder.

From the Visual Builder add a Next Response to the block of content that finished processing the form. Choose the Unset form block type from the preset functions. Populate as normal and choose the form you wish to unset in the form field. When you're finished remember to set a next block for the block you just added if you want the bot to send anything else to the user.

A Practical Example

This video shows a form you could set up in your own bot in a matter of minutes.

Forms