Gallabox Docs
ChangelogHow To GuidesAPI DocsStatus pageVisit our websiteFeedback
Gallabox Docs
Gallabox Docs
  • Welcome to Gallabox Docs
  • 🆕Get Started
    • Pre-requisites
    • Signup
    • Explore Demo Account
    • Activate Free Trial
  • ✅Connect WhatsApp Channel
    • Connect your WhatsApp
    • Meta Business Verification
    • Apply for WhatsApp Blue Tick
    • Migrate to Gallabox
    • Messaging Limits & Quality Ratings
    • Gallabox Account Setup FAQs
  • 🈁CONVERSATIONS
    • Gallabox Conversations Glossary
    • Team Inbox
    • Initiate a New Chat
    • Compose Box
    • Inboxes
    • Manage Inbox
    • Views
    • Efficiently using inbox
    • Gallabox Conversations FAQs
  • 📘CONTACTS
    • Gallabox Contact Glossary
    • Add Contact
    • Contact Segments
    • Contact Management
    • Contact Updation
    • Contact Deletion
    • Export Contacts
    • Marketing Opt-In
      • Marketing opt-in on contact creation
      • Marketing opt-in Handling Methods
      • Marketing opt-out Management
  • 🤖BOTS
    • Gallabox Bot Glossary
    • Things to know before building your first bot
    • Bot Essentials
    • Bot in Gallabox
      • Create a Bot using AI
      • Create a Bot using Bot Templates
      • Create a Bot from Scratch
    • Flow in the Bot
      • AI Based Flow
      • CTWA Ad Based Flow
    • Send Card
      • Send Text
      • Send Media
      • Send Collection
      • Send Products
      • Send Voice
      • Send Template
      • Send Form
      • Send Location
      • Send Payments
    • Ask Questions
      • Ask Text
      • Ask Number
      • Ask Phone
      • Ask Email
      • Ask Date
      • Ask Location
      • Ask Address
      • Ask URL
      • Ask File
      • Ask Button Option
      • Ask List Option
      • Ask Keyword Option
      • Ask Collection List
      • Ask Form
      • Ask Payments
    • Bot Utilities
      • Send Button Option
      • Send List Option
      • Delay
      • Condition
      • Set Variable
      • Jump to
      • Switch
      • AI node - GPT Dialog
      • AI node - GPT Knowledge Base
      • Working hours
      • Hint
      • Wait for order
    • Bot Actions
      • Assign Conversation
      • Unassign Conversations
      • Resolve Conversations
      • Update Conversation Fields
      • Update Contact Fields
      • Update Company Fields
      • Push to Sequence
      • Add Note & Mention
      • Conversion Events
    • Bot Connectors
      • Connect your system with the WhatsApp chat bot using API
      • Connect WhatsApp and Google Sheets to Collect Responses
      • Send payment links via WhatsApp chatbot using Razorpay integration
      • Send your WhatsApp data to Zoho CRM using Chatbot
      • Connect Shopify and WhatsApp to collect orders using chatbot
      • Send your WhatsApp data to HubSpot using Chatbot
      • Send your WhatsApp data to Zoho Bigin using Chatbot
      • Send your WhatsApp data to Leadsquared using Chatbot
      • Send your WhatsApp data to WooCommerce using Chatbot
      • Connect ChatGPT with WhatsApp in Gallabox Chatbot
      • Zoom WhatsApp Integration - How to enable webinar registration on WhatsApp
      • Send your WhatsApp data to Sangam CRM using Chatbot
      • Send payment links via WhatsApp chatbot using PhonePe
      • Send Payment links via WhatsApp Chatbot using Stripe
      • Enhance Chatbot with ElevenLabs AI Voice Synthesis
      • Send your WhatsApp data to Pipedrive CRM using Chatbot
    • Set up Default Bot
    • Bot Management
    • Gallabox Bot FAQs
  • 🔊BROADCAST
    • Gallabox Broadcast
    • Select Template
    • Select Audience
    • Review and Send Broadcast
    • Broadcast Analytics and Report
    • Gallabox Broadcast FAQs
  • 🔢WHATSAPP DRIP CAMPAIGNS
    • Understanding Drip Marketing
    • Basics of Drip Campaign
    • Create New Drip Campaign
    • Drip Campaign Setup
    • Drip Campaign Message Management
    • Campaign Management Options
    • Drip Campaign Analytics
    • Gallabox WhatsApp Drip Marketing FAQs
  • 📈AD CAMPAIGNS
    • CTWA in Gallabox
    • Create your Campaign
    • Click To WhatsApp Analytics
    • CAPI Integration
    • Gallabox CTWA FAQs
  • 🛒WHATSAPP SHOP
    • Gallabox WhatsApp Shop Overview
    • Connect the Catalog with Meta
    • Connect Catalog with Gallabox
    • WhatsApp Order Summary
    • Gallabox WhatsApp Shop FAQs
  • 🪙PAYMENTS
    • Gallabox Native Payments Overview
    • Establish Connection
    • Sending Payment Links
    • Tracking Payments
    • Gallabox Native Payment FAQs
  • 🔃WhatsApp Forms
    • Gallabox WhatsApp Forms Overview
    • Create WhatsApp Forms
      • Create WhatsApp Forms in Gallabox
      • Create WhatsApp Forms with Template Builder
      • Create WhatsApp Forms using JSON
    • Sending a WhatsApp Form
      • Send WhatsApp Form in a Message Template
      • Send WhatsApp Form in a Bot
    • Receiving Response of WhatsApp Forms
    • Best Practices for WhatsApp Forms
    • Gallabox WhatsApp Forms FAQS
  • ℹ️WHATSAPP CHANNEL
    • Channel Settings
    • Manage your Connections
    • Widget for your website
    • Configuration Message Settings
    • Block List
    • User Mapping
    • Assignments Rules
    • Compliance Info
    • Account Profile Info
    • WhatsApp Channel FAQs
    • WhatsApp Business API Errors
  • 🚧INTEGRATION
    • E-commerce Platforms
      • Shopify
        • Shopify Template Variables for WhatsApp Messages
        • Workflows for Shopify
      • WooCommerce
        • Workflows for WooCommerce
      • WooCommerce Cart Abandonment Recovery
      • Shopflo
    • Customer Relationship Management (CRM) Systems
      • HubSpot
        • Workflows for HubSpot
      • Kylas
        • Workflows for Kylas
      • Zoho CRM & Signals
        • Workflows for Zoho
      • Leadsquared
        • Workflows for LeadSquared
      • Sangam
      • Pipedrive
      • Odoo
    • Shipping and Logistics
      • ShipRocket
        • Workflows for ShipRocket
      • Shipway
        • Workflows for Shipway
    • Payment Gateways
      • Cashfree
        • Workflows for Cashfree
      • Razorpay
        • Workflows for Razorpay
      • Stripe
        • Stripe Workflows
    • Marketing and Engagement Platforms
      • WebEngage
        • WebEngage WhatsApp Campaigns
      • MoEngage
      • Facebook Leads
        • Send Automated Messages on WhatsApp to Facebook Leads
        • Send Sequence of Messages to Facebook Leads
      • CleverTap
      • Fyno
    • Other Integrations
      • Generic Webhooks
      • Google Sheets
      • Pabbly
      • Zapier
      • Zoho Books
        • Zoho Books Notifications
        • Workflow for Zoho Books
      • Calendly
        • Workflows for Calendly
      • Miitel
    • Gallabox Integration FAQs
  • ⚙️ACCOUNT MANAGEMENT
    • Account Essentials
    • User Details
    • User, Teams, and Roles
    • Account Details
  • 💰Pricing & Billing Modules
    • Conversation Pricing
    • Message Credits
    • Billing & Subscriptions
    • FAQs
  • 🚾Web-Chat Channel
    • Web-Chat Channel
  • 🧰Basic Modules
    • WhatsApp Templates
      • Template Creation and Editing
      • Re-write with AI
      • Custom Marketing and Utility Templates
      • Product Marketing Templates
      • Authentication Templates
      • Limited-Time Offer Templates
      • Order Details Template
      • Coupon Code WhatsApp Template
      • Carousel Template
      • WhatsApp template URL tracking
      • FAQs - WhatsApp Template Messages
    • Contact Fields
    • Conversation Fields
    • Tags
    • Message Tracker
    • Canned Responses
  • 🔒Account Security Features
    • Allowed IPs
    • Activity Log
    • Two Factor Authentication
  • 👨‍💻DEVELOPER RESOURCES
    • API Key and Secret
    • API Docs
    • Webhook
    • Conversation Widget
  • 📊REPORTS & ANALYTICS
    • Dashboard
    • WhatsApp Failed Messages
    • WhatsApp Notification Messages
    • Conversation Report
  • Privacy and Security
    • Data Security and Infra
    • Subprocessors
    • Data Processing Agreement
  • 👾EXTRAS
    • WhatsApp Business API - Unsupported Messages
    • Understanding Message Delivery Issues on WhatsApp
    • WhatsApp’s New Per-user Messaging Limits
  • Frequently Asked Questions
Powered by GitBook
On this page
  • Overview
  • Connect Open AI
  • Using Open AI Connector
  1. BOTS
  2. Bot Connectors

Connect ChatGPT with WhatsApp in Gallabox Chatbot

Take your conversational AI to the next level with the Open AI connector. Easily integrate and tailor actions such as Create Completion and Chat Completion to create a unique Open AI experience.

PreviousSend your WhatsApp data to WooCommerce using ChatbotNextZoom WhatsApp Integration - How to enable webinar registration on WhatsApp

Last updated 4 months ago

Who can use this Card?

  • Gallabox Users having permission to either build and deploy bots or manage bots.

  • Available on Pro Plan.

Overview

Embark on a journey of enhanced conversational AI with the Open AI connector. This guide navigates you through the seamless integration process, helping you choose actions like Create Completion and Chat Completion for a customized Open AI experience.

Connect Open AI

  1. Choose the connector - Open AI from the list of connectors.

  1. After clicking on Open AI Connector, you will see the actions - Create Completion and Chat Completion.

Paste the API Key and click on Create Connection.

  1. If the Open AI connection has already created, go to Select Existing Connection and click on Connect.

Using Open AI Connector

  1. Once the connection is created, click on Connect besides the connection to start configuring the connector and it will take you to the action that you selected.

  1. After clicking on connect the selected the Action - Chat Completion opens and you will have to edit the value for Context, user prompt, Model, Max Tokens, Temperature, and the variable.

  1. For the context, you can write - If Intent is either Feedbacks, Products, Product, Register, Hi, Main menu, Match the user input to the correct intent give the intent as it is, If it does Match give as default.

You can change the Intents as per your bot, keep the rest of the text same for the card to work. The context would be - If Intent is either Intent 1, Intent 2, Intent 3, Intent 4, Intent 5, Intent 6, match the user input to the correct intent give the intent as it is, If it does Match give as default.

  1. In the User Prompt field, you have to add the variable as {{intent.text}}

  1. There is only one model for the action - Chat Completion that you have to select.

  1. The Token is pieces of words. In terms of length:

  • 1 token ~= 4 chars in English

  • 1 token ~= ¾ words

  • 100 tokens ~= 75 words

Or

  • 1-2 sentence ~= 30 tokens

  • 1 paragraph ~= 100 tokens

  • 1,500 words ~= 2048 tokens

  1. Sampling temperature controls the randomness of the text generated by Open AI. A higher temperature (e.g., 0.7) results in more diverse and creative output, while a lower temperature (e.g., 0.2) makes the output more deterministic and focused.

    The default temperature setting for Open AI is 0.7, which strikes a balance between creativity and consistency. You can experiment with different temperature settings to see what works best for you.

  1. You have to create or select a variable to store the AI response.

Once you have done pasting the values for all the fields in the action either Create Completion or Chat Completion, click on Save.

The Card will look like the picture below in the Gallabox bot- builder.

In the above picture, the highlighted part has Green and Red Circle. They depict the success and failure conditions.

Maximize the potential of your Open AI connector by carefully configuring actions - Chat Completion. Tailor the context, user prompts, model selection, and temperature settings to create an enriched conversational flow. With success and failure conditions visually depicted in the Gallabox bot-builder, you're set to unlock the power of AI in your chat-flow.

After you click on one of the Actions, it will ask you to Add New Connection or Select Existing Connection. If you haven't made any connection, see if the Connection Name is fine with you and proceed with pasting the API Key. You will find the guide to find the key .

Learn more about Tokens .

🤖
here
here