Born Digital - Documentation
  • Welcome
    • Welcome to Digital Studio
  • Digital Agent
    • Introduction
    • Workspace
      • List of Projects
      • Project Details
      • Deploy Project
    • Conversation Flow
      • User Interface Basics
      • Nodes Explained
        • MESSAGE node
        • ANSWER node
        • DECISION node
        • FUNCTION node
        • AI node
        • TRANSFER node
        • REDIRECT node
        • START / END nodes
      • Training set
        • Overview
        • Best practices for writing training set
      • Launching project
      • Setting tab
    • Building new projects
      • Knowledge base project
        • Step 1. - Initializing Your Project
        • Step 2. - Integrating AI Node
        • Step 3. - Finalizing with Testing and Training
        • (Optional) - Integrating a Knowledge Base Index
      • Advanced project
        • Step 1. - Establishing Functions
        • Step 2. - Crafting Greetings
        • Step 3. - Adding the AI node
        • Step 4. - Managing Flow Scenarios
        • Step 5. - Finalizing the Project
        • Step 6. - Training and Execution
    • Advanced functions
      • Knowledge base
      • New AI node property variables
      • Recordings
      • Statistics
      • Code editor
      • Widgets
  • For advanced users
    • Conversation design tips
      • Customizing speech synthesis
      • Customizing text output
      • Customizing smart functions output
      • Randomizing message content
      • Alternative messages based on variable values
      • Setting time-based greetings
      • Personalised URL links
      • Custom business statuses with variables
      • String slicing
      • Implementing chat buttons
    • Intent recognition tips
      • Fine-Tuning Intent Recognition using Generative AI
      • Multi-step intent recognition
      • Recognition based on named entity extraction
    • Prompting cookbook
      • Basics
      • Prompting techniques
  • Product changelog
    • Product changelog
  • Initial setup
    • Starting up
    • My settings
  • Contacts
    • Contacts for you
Powered by GitBook
On this page

Was this helpful?

  1. Digital Agent
  2. Building new projects
  3. Advanced project

Step 1. - Establishing Functions

Let's dive in!

PreviousAdvanced projectNextStep 2. - Crafting Greetings

Last updated 1 year ago

Was this helpful?

In this initial step, our aim is to create a fundamental function - a counter to track the number of times a user interacts with the function node. Utilizing this information, we'll leverage the decision node to smoothly guide our users through the Conversation Flow.

  • When the Chatbot/Voicebot interacts with the user for the first time, the chatbot will initiate a query to identify the user's name.

  • Subsequent interactions (beyond the first) will redirect the flow to a generative AI node designed to assist the customer.

This specific use case serves as a foundational example within this guide.

By incorporating additional function nodes and integrating backend-connected functions, we can create a user authorization flow based on the principles laid out in this simple guide.

Let's break it down step-by-step:
  1. Click on the starting node and generate a function node.

  2. Establish a new variable named "County" using a smart function, specifically the counter function to track the flow's progression.

  3. Progress further by creating a decision node and define a basic condition.

    1. For the first iteration of the flow (when County variable == 1), focus on acquiring the customer's name.

    2. In subsequent iterations, follow the "Other" option to continue with the flow.

  4. Extend the decision-making process by creating a simple welcome message node.

  5. Craft a straightforward text introduction for the Chatbot/Voicebot and prompt the customer for their name.

Function nodes are incredibly versatile. They can be utilized to track specific use case information or retrieve data from your backend system, such as current date, time, user address, or numerical values.

Begin by creating a new project. If you require guidance, refer to the step-by-step instructions .

on this page
Step 1. - Esstabiishing Functions