Flochat
API DocumentsWebsiteLog in
  • Start Here
    • Welcome 👋
    • Getting Support
    • FAQ's
    • Pricing Plans
  • GETTING STARTED GUIDE
    • Introduction
    • Set your goals
    • Building your chatbot
    • Maintain success
  • CHATBOT GUIDE FOR BEGINNERS
    • Introduction
    • What is a chatbot
    • Channels
    • Benefits & importance
    • Use cases
  • PLATFORM
    • Introduction
      • Change Password
      • Forgot Password
      • Getting Started Checklist
      • Platform Overview
      • Workspaces & Members
      • Integrations
        • Stripe
        • PayPal
        • Cloudinary
        • Shopify
        • Facebook Business
        • Calendly
        • Slack
        • Google Sheets
        • Data Store
        • Twilio
        • Signalwire
        • Email (SMTP / Gmail)
        • MailChimp
        • VideoSdk
      • Ecommerce
        • Setup Ecommerce
        • Use Ecommerce in the Flow
    • Connect to Channels
    • Website Chat
    • WhatsApp + 360Dialog
    • Email Templates
    • WhatsApp Cloud
  • Flow Builder
    • Flow builder overview
    • Field variable
    • Steps
      • Steps
      • Question step
      • Variable Operation
      • JSON Operation
      • External Request
      • Send Notification
      • Condition Step
      • Split Step
      • Go To Step
    • Sub Flows
      • Sub Flow
      • Workflow
      • Function Flow
  • Artificial Intelligence
    • OpenAI | ChatGPT
      • Connect OpenAI
      • Chat with AI Basics
      • What are Functions
        • Functions in Flows
        • Capturing Data
        • Generate function with AI
        • Combine chat completions & Functions
      • What are Embeddings
        • Create Embeddings
        • Add Embeds to your Flow
        • Error Handling
        • Combine Embeddings with Functions
    • GitBook Lens AI
  • Mini Apps
    • Stealth Seminar
  • Users
    • Live Chat
    • Bot Users
  • Bot Automation
    • Keywords
    • Sequences
    • Triggers
    • Comment Keywords
  • Contents
    • Custom Fields
    • Tags
    • One Time Notification (Facebook)
    • Personas
    • Menus
    • Customer Feedback (Facebook)
  • Tools
    • Error Logs
    • Testers
    • Admins
    • Multi Languages
    • Inbound Webooks
  • Broadcasting
    • Broadcasts
  • Developers
    • Chatbot API
  • BETA LAUNCH
    • Day One
Powered by GitBook
On this page
  1. Artificial Intelligence
  2. OpenAI | ChatGPT
  3. What are Functions

Capturing Data

PreviousFunctions in FlowsNextGenerate function with AI

Last updated 1 year ago

Moving on from using Intent 'functions' to push users to specific flows. Here we will start capturing user data such as emails, name etc to create a free trial registration directly into the backend 'Your product, CMS, CRM' etc.

Adding Parameters

Previously we create a basic intent whereas we were using an empty intent to move users around the chatbot flows based on their query. What we are going to do now is start capturing data as shown below.

  • Name

  • Email

  • Learn more

You can add whatever parameters you require for that specific intent. Once you create a parameter and new box will display:

System message for parameters - This basically means if you want to add some kind of prompt to help capture the data. You could possibly add something like: Ask parameters in this order one at a time. This will encourage the AI to ask the questions one by one.

You may of observed the Learn More parameter has a green switch in the on position. What does this mean?

OK, here you're able to pre-define some options within the question. In this case we're asking the users what they would like to learn more of:

Each option must be comma separated as show above. When you have this type of parameter, the AI questions would look like this: "Great, to get you started in the right place, what would you like to learn more of: AI, automation, integrations or developer apps".

This makes the AI look more human like when asking questions. The user can reply with anything listed of even a different answer. This data will then be stored in the custom field "Save Result to"

within a flow