• Channels
    • Instagram DMs
    • Facebook Messenger
    • WhatsApp
    • TikTok
    • SMS
    • Website
    • Voice & Phone
  • Platform
    • Features & Integrations
    • CRM & Ticketing
    • Chatbot Templates
  • Services
    • Click-To-Message Ads
    • AI Agents
    • Chatbot Development
    • Industries
      • Restaurants
      • Real Estate
      • Influencers & Creators
      • Universities
      • Car Dealers
      • Gyms & Fitness
      • eCommerce & Retail
      • Consumer Goods
      • Law Firms
      • Museums & Attractions
      • Travel
      • Events & Entertainment
      • Hotels
  • Pricing
  • Contact
  • Log In
  • Create Bot

AI Functions

  • Home
  • Docs
  • AI Functions

Channels

24
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Assign a Conversation to an Admin or Team in app.chitchatbot.ai
  • How to Add a Note to a Contact in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Enable or Disable the Messenger Composer in app.chitchatbot.ai
  • Get Started with Telegram Automation on ChitChatBot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • ChitChatBot System Variables & Account Fields
  • Instagram DM Automation with ChitChatBot.ai
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • How to Automatically Reply to Instagram Comments
  • How to Set Up Instagram Story Reply Automation
  • Instagram Story Mention Reply Setup Guide
  • Triggers and Actions in app.chitchatbot.ai 
  • How to Send Broadcast Messages on WhatsApp Using app.chitchatbot.ai
  • How to Create and Send a WhatsApp Template Message on app.chitchatbot.ai
  • WhatsApp Business Chatbot Setup for ChitChatBot.ai
  • Custom Fields in app.chitchatbot.ai
  • How to Set Up a Poll

Webchat

12
  • How to Add Webchat to Your Website
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • How to setup bot Persistent Menu?

Facebook Messenger

22
  • Integrating Facebook Ads with Chitchatbot
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Use Personas in app.chitchatbot.ai
  • How to Enable or Disable the Messenger Composer in app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • Automatically Reply To Facebook Comments
  • How to get the JSON code for Click-To Message Adverts on Facebook & Instagram
  • Meta’s Guidelines and Policies for Using Automated Bots
  • Messenger Lists For Marketing Messages – Recurring Notifications on Messenger
  • How to setup bot Persistent Menu?
  • How to setup the greeting message?
  • How to set up Conversation starters?
  • How to setup Welcome Message for Messenger
  • Core Messenger Welcome Components

Instagram DMs

19
  • Integrating Facebook Ads with Chitchatbot
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Instagram DM Automation with ChitChatBot.ai
  • How to Automatically Reply to Instagram Comments
  • How to Set Up Instagram Story Reply Automation
  • Instagram Story Mention Reply Setup Guide
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • How to get the JSON code for Click-To Message Adverts on Facebook & Instagram
  • Meta’s Guidelines and Policies for Using Automated Bots
  • How to setup bot Persistent Menu?
  • How to set up Conversation starters?

Text Messages (SMS)

6
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai

WhatsApp

15
  • Integrating Facebook Ads with Chitchatbot
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • How to Send Broadcast Messages on WhatsApp Using app.chitchatbot.ai
  • How to Create and Send a WhatsApp Template Message on app.chitchatbot.ai
  • WhatsApp Business Chatbot Setup for ChitChatBot.ai
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 

Voice / Phone

6
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • ChitChatBot System Variables & Account Fields
  • Voice Automation with AudioCodes on chitchatbot.ai
  • Custom Fields in app.chitchatbot.ai

Email

5
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai

Telegram

8
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • How to Send a Broadcast Message to Telegram Contacts
  • How Telegram Premium Users Can Automate Conversations Using a Chatbot
  • Get Started with Telegram Automation on ChitChatBot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai

Integrations

42
  • How to Set Up and Use an AI Agent to Respond to Customer Messages
  • External Requests & Dynamic Content in Chitchatbot.ai
  • How to Extract Data from JSON
  • API Documentation For ChitChatBot.ai
  • QR Codes & Magic Links on ChitChatbot.ai
  • Pipedrive Integration
  • Integrating Facebook Ads with Chitchatbot
  • Klaviyo Integration with ChitChatBot.ai
  • Razorpay Integration with ChitChatBot.ai
  • HubSpot Integration with ChitChatBot.ai
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Connect PayPal with ChitChatBot.ai
  • How to Connect ChitChatBot to Zapier
  • How to Find and Connect the ChitChatBot Make.com (formerly Integromat) App
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • How to Generate Images Using xAI
  • How to Analyze an Image Using Claude Vision
  • How to Connect Google Gemini to Chitchatbot.ai
  • How to Connect Claude (Anthropic) to Chitchatbot.ai
  • AI Triggers: Connect ChatGPT to Automation & External Tools
  • 🗣️ How to Convert Speech to Text with OpenAI
  • How to Analyze an Image Using Google Gemini Vision
  • Generating Images Using Google Gemini
  • Editing an Image Using Google Gemini
  • CRM Pipeline Management in Chitchatbot.ai
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Appointment Scheduling Manager – Set Up Your Calendar
  • Enhance Customer Support with ChatGPT (OpenAI Integration)
  • Triggers and Actions in app.chitchatbot.ai 
  • Connect OpenAI ChatGPT to your ChitChatBot.ai Account
  • Voice Automation with AudioCodes on chitchatbot.ai
  • How to Generate Images Using OpenAI on Chitchatbot.ai
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • How to Analyse an Image Using OpenAI Vision
  • Google Sheets – Dynamic Gallery
  • Google Sheets
  • ActiveCampaign

AI Features

20
  • AI Functions
  • How to Add Files to an AI Agent
  • Connect AI Agent to MCP servers
  • Rich Responses with AI
  • How to Set Up and Use an AI Agent to Respond to Customer Messages
  • How to Extract Data from JSON
  • How to Generate Images Using xAI
  • How to Analyze an Image Using Claude Vision
  • How to Connect Google Gemini to Chitchatbot.ai
  • How to Connect Claude (Anthropic) to Chitchatbot.ai
  • AI Triggers: Connect ChatGPT to Automation & External Tools
  • 🗣️ How to Convert Speech to Text with OpenAI
  • How to Analyze an Image Using Google Gemini Vision
  • Generating Images Using Google Gemini
  • Editing an Image Using Google Gemini
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Enhance Customer Support with ChatGPT (OpenAI Integration)
  • Connect OpenAI ChatGPT to your ChitChatBot.ai Account
  • Voice Automation with AudioCodes on chitchatbot.ai
  • How to Generate Images Using OpenAI on Chitchatbot.ai

Tools

37
  • How to Set Up and Use an AI Agent to Respond to Customer Messages
  • Managing Your Ecommerce Products on Chitchatbot
  • Setting Delivery Costs by Location
  • Adding Ecommerce Categories
  • How to Sell with the Webshop
  • How to Use Your Own Custom Checkout Page with Chitchatbot
  • 🛍️ Introduction to Chitchatbot’s Built-in eCommerce Module
  • 🛍️ eCommerce Settings on ChitChatbot.ai
  • External Requests & Dynamic Content in Chitchatbot.ai
  • How to Implement a Referral System
  • How to Add Webchat to Your Website
  • How to Extract Data from JSON
  • API Documentation For ChitChatBot.ai
  • How to Copy Flows & Entire Bot Builds Using Templates
  • QR Codes & Magic Links on ChitChatbot.ai
  • Entry Point Links & Referral Parameters
  • Integrating Facebook Ads with Chitchatbot
  • Analytics in ChitChatBot.ai
  • How to Connect PayPal with ChitChatBot.ai
  • How to Connect ChitChatBot to Zapier
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Set Up Keyword Automated Responses Across Channels
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • How to Import Contacts into app.chitchatbot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Appointment Scheduling Manager – Set Up Your Calendar
  • Triggers and Actions in app.chitchatbot.ai 
  • Add Admins & Agents To Your Account
  • Custom Fields in app.chitchatbot.ai
  • Bot Simulator Tool
  • How to Set Up a Poll

Platform

63
  • How to Add Files to an AI Agent
  • Connect AI Agent to MCP servers
  • How to Set Up and Use an AI Agent to Respond to Customer Messages
  • Managing Your Ecommerce Products on Chitchatbot
  • Adding Ecommerce Categories
  • How to Sell with the Webshop
  • How to Use Your Own Custom Checkout Page with Chitchatbot
  • 🛍️ Introduction to Chitchatbot’s Built-in eCommerce Module
  • 🛍️ eCommerce Settings on ChitChatbot.ai
  • Messenger Lists For Marketing Messages – Recurring Notifications on Messenger
  • ChitChatBot and GDPR Compliance
  • Dynamic Multiple Choice Options
  • How to Format Date and Time
  • Math Calculations Inside Your Chatbot
  • How to Enable Development Mode – Test Bot for Admins Only
  • External Requests & Dynamic Content in Chitchatbot.ai
  • How to Provide Your Own Language Translations for Built-in Flows
  • How to Implement a Referral System
  • How to Add Webchat to Your Website
  • How to Extract Data from JSON
  • How to Connect Your Google, Facebook, or Microsoft Account for Login
  • API Documentation For ChitChatBot.ai
  • How to Copy Flows & Entire Bot Builds Using Templates
  • File and Video Size Limits on ChitChatbot.ai
  • QR Codes & Magic Links on ChitChatbot.ai
  • Entry Point Links & Referral Parameters
  • HubSpot Integration with ChitChatBot.ai
  • Analytics in ChitChatBot.ai
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Connect PayPal with ChitChatBot.ai
  • How to Connect ChitChatBot to Zapier
  • How to Find and Connect the ChitChatBot Make.com (formerly Integromat) App
  • How to Block a Contact in app.chitchatbot.ai
  • How to Archive a Conversation in app.chitchatbot.ai
  • How to Delete a Contact in app.chitchatbot.ai
  • How to Assign a Conversation to an Admin or Team in app.chitchatbot.ai
  • Step-by-Step Guide: Mark a Conversation as Follow-Up
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Add a Note to a Contact in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Set Up Keyword Automated Responses Across Channels
  • How to Notify Admins on app.chitchatbot.ai
  • How to Use Saved Replies in the Inbox on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Use Personas in app.chitchatbot.ai
  • How to Enable or Disable the Messenger Composer in app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • How to Import Contacts into app.chitchatbot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • ChitChatBot System Variables & Account Fields
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • 🗣️ How to Convert Speech to Text with OpenAI
  • Editing an Image Using Google Gemini
  • CRM Pipeline Management in Chitchatbot.ai
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Appointment Scheduling Manager – Set Up Your Calendar
  • Enhance Customer Support with ChatGPT (OpenAI Integration)
  • How to Automatically Reply to Instagram Comments
  • How to Rename Your Account and Change Your Profile Image on app.chitchatbot.ai  
View Categories
  • Home
  • Docs
  • AI Features
  • AI Functions

AI Functions

3 min read

The AI Function lets you connect your AI integrations to automation processes and external tools. With it, your AI agent can:

  • Collect user data.
  • Trigger workflows.
  • Retrieve information from external systems.
  • Return results directly to the user.

Why Use AI Functions?

Normally, AI can’t access real-time or external data. With AI Functions, you can fill that gap:

  • Example 1: Real-time data
    User: “What’s the weather like in New York?”
    → AI Function triggers a Weather API → AI provides the answer.
  • Example 2: Lead qualification
    If you’re a real estate agent, AI Functions can automatically collect details from prospects (e.g., budget, location, property type) before handing them over to you.
  • Example 3: Human handoff
    Chitchatbot.ai includes a built-in AI Function (connect_user_to_human) that instantly transfers a conversation to a live agent. This is active by default for all accounts.

functions 1 - ChitChatBot - AI Bot Building Platform

How to Create an AI Function

  1. Go to AI Center → AI Tools → AI Functions.
  2. Click Add to create a new function.
  3. Fill in the following details:
functions 2 - ChitChatBot - AI Bot Building Platform

Name

  • Use clear, descriptive names (at least 2 words).
  • Example: Use get_current_weather instead of just weather.

What does this trigger do?

  • Describe the function starting with “Allows the user to…”
  • Example: “Allows the user to book an appointment.”

What data to collect?

  • List the exact data fields you want.
  • Use meaningful names (email, city, date) instead of random strings.
  • Example: For an appointment, collect date, email, and reason.

What flow is triggered? (Optional)

  • If needed, specify a flow to process the collected data.
  • Example: Trigger an external request to a Weather API.

What is the output message?

  • Define the result the user should see.
  • Example: “Your booking was confirmed.”
  • Important: AI will rewrite and send this message to the user.
    • ✅ Best practice: Store the message in a custom text field and use that field as the output.
    • ❌ Avoid sending it directly from the flow builder.

Example AI Functions

1. book_appointment

  • Does: Allows the user to book an appointment.
  • Data: date, email, reason
  • Output: “You have successfully booked an appointment.”

2. connect_user_to_human

  • Does: Allows the user to speak to a human agent.
  • Flow: Triggers an Inbox Action that transfers the chat to a human.
  • Output: “You are now connected to a human agent. We will get back to you soon.”

3. get_current_weather

  • Does: Allows the user to check current weather.
  • Data: city
  • Flow: Connects to a Weather API.
  • Output: {{data_from_api}}

4. join_email_list

  • Does: Allows the user to subscribe to an email list.
  • Data: email
  • Output: “Success”

5. request_shipping_quote

  • Does: Allows the user to request a shipping quote.
  • Data: origin_address, destination_address, dimensions, weight
  • Flow: Calculates a shipping quote.
  • Output: {{quote}}

Enabling/Using AI Functions

After creating a function:

  1. Edit your AI Agent or AI Action.
  2. Enable the function so it can be called during conversations. Agent > AI Tools > Select the function you just created to link it to that agent.
functions 3 - ChitChatBot - AI Bot Building Platform

Important Notes

  • Your prompt can strongly influence how an AI function behaves.
  • AI may try to fill in missing details automatically if the user doesn’t provide them.
    • Example: For a restaurant booking, include in your prompt:
    “It is crucial to ask the user for the date and number of guests when making a reservation.”

This ensures AI collects the right data before triggering the function.

Updated on 22 August 2025

What are your Feelings

  • Happy
  • Normal
  • Sad
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
How to Add Files to an AI Agent

Integrated AI. Infinite possibilities.

5
4
3
2
  • Log In
  • Sign Up
g2 reviews
Resources
  • Platform API
  • Documentation
  • Blog
  • FAQ
  • Agency Partners
  • White-Labeling
meta tech provider verified
Get in touch

Engage on any channel, connect with more people, and drive results - all in one chatbot platform.

Contact Us

Copyright © 2025 ChitChatBot.ai

Chit Chat Communications Ltd. is a limited company registered in England and Wales. Registered number: 13422957. VAT GB433681590.

  • Terms & Conditions
  • Privacy Policy
Your Cookie Preferences

We use cookies to optimise our website, personalise and measure the effectiveness of advertising and collect statistics on usage.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}