Pages

A ChatFlow cat can be seen and understood as a finite-state machine. The pages in ChatFlow represent the states of this conversation.

Each ChatFlow can have several pages. At any given moment, there is a page considered the active page. This is the page that will be used to interpret the user's intentions. Each flow has a special start page (Start). When a flow is activated, this will be the page that becomes the active page.

During each conversation turn, the current page will be maintained or moved to another page based on the route transitions.

Add to each page the necessary intents to gather information from the end user that is relevant to the conversation state represented by the page. For example, in the following diagram, we can see that the initial page (Start) manages three possible user intentions: needs to request material, wants to make a suggestion for improvement, or has doubts about the benefits for employees.


Life cycle of a page

When a page is activated, steps are followed that may involve sending messages or saving parameters. These can be configured in the "Entry fulfillment" section of the page.

Once ChatFlow is activated, it awaits the user's response. Once the user writes, the text is analyzed and compared with each of the paths managed by this page. For one of the paths to be activated, two conditions must be met:

  1. The natural language analysis determines that the user's intention matches that of the path (if it has one)
  2. The saved parameters match the condition of the path (if it has one)

When a path is activated, steps are followed that may involve:

  1. Sending messages to the user
  2. Asking questions to complete the intention if it contained entities that were not present in the text that the user had sent
  3. Saving the user's text in a parameter
  4. Transitioning to a new page
  5. Transferring the conversation to a human

Still need help? Contact Us Contact Us