BizMagnets Docs
API DocsStatusVisit our websiteRaise Ticket
  • Welcome to BizMagnets
  • SET-UP BIZMAGNETS ACCOUNT
    • Create an account in BizMagnets
    • Requirements to get started with your own number
    • Activate WhatsApp Business API on your own number
    • Migration
  • WHATSAPP CHANNEL
    • Creating WhatsApp Channel
    • Meta Business Verification
    • Required Documents for Facebook Business Verification
    • Drive traffic to your WhatsApp number using Quick Links
    • Display Name
      • Display Name Rejection and Appeal
    • How to change your Display Name
    • Facebook Business Verification Grayed Out, Not Visible or Disabled
    • Messaging Limits & Quality Ratings
    • WhatsApp Business API Errors
    • Business Phone Numbers
    • Support with Meta
    • WhatsApp Chat Widget
    • Supported Media Types
    • Unsupported Messages
    • FAQs
  • BLUE TICK VERIFICATION
    • WhatsApp Blue Tick Verification
    • How to Apply for Blue Tick Verification?
    • What if Your Application Gets Rejected?
    • FAQs
  • Conversation
    • Initiate Conversation
    • Sales Inbox
  • Support Inbox
  • FAQs
  • Contacts
    • Add Contact
    • Export Contacts
    • Contact Deletion
    • Contact Management
    • Opt-in Management
    • Community
      • New Community
      • Existing Community
    • Companies
  • TEMPLATE
    • BizMagnets Template Messages
    • Template Categories
    • Create and Edit Template
    • Carousel Marketing Templates
    • Product Marketing Templates
    • Coupon Marketing Template
    • Limited Time Offer Templates
    • Order Details Template
    • Authentication Template
    • FAQs
  • BOT FLOWS
    • Things to Know Before Building Your First Bot
    • BizMagnets Chatbot
    • Chatbot Flows and Analytics
    • Creating Flow in BizMagnets
    • Send Card
      • Text
      • Media
      • Template
      • CTA URL
      • Flow
      • Location
      • Payments
      • Voice
    • Ask Questions
      • Text
      • Button Option
      • List Option
      • Address
      • Flow
      • Keywords
      • Location
      • Current Location
      • Number
      • Mail
      • Date
      • Link
      • File
    • Logic
      • Condition
      • Delay
      • Variables
      • Switch
      • Jump To
      • Replace Text
      • Check Geofence
    • Integrations
      • Connect Your System with the WhatsApp Chat Bot Using API
      • Send Your WhatsApp Data to Zoho CRM Using Chatbot
      • Send Payment Links via WhatsApp Chatbot Using Razorpay Integration
      • Connect WhatsApp and Google Sheets to Collect Responses
      • Connect Shopify and WhatsApp to Collect Orders via Chatbot
      • Send your WhatsApp data to Sangam CRM using Chatbot
      • Send your WhatsApp data to WooCommerce using Chatbot
      • Connect ChatGPT with WhatsApp in BizMagnets Chatbot
      • Send Your WhatsApp Data to Zoho Bigin Using Chatbot
      • Send Your WhatsApp Data to HubSpot Using Chatbot
      • Send Payment Links via WhatsApp Chatbot Using Cashfree Integration
      • Send Payment Links via WhatsApp Chatbot with Telr Integration
    • Catalogue
      • Send Products
    • Actions
      • Assign Conversation
      • Set Tag
      • Remove Tag
      • Update Chat Status
      • Update Contact Fields
      • Trigger Sequence
      • Add Notes
    • Ticketing
      • Tickets
      • Create Ticket
      • Ticket Media
      • Get Tickets
    • Appointments
      • Appointment Flow
      • Appointment Confirmation
      • Set Members
    • Set Up Default Bot
    • Bot Management
    • FAQs
  • CAMPAIGN
    • BizMagnets Campaign
    • Campaign set up
    • Check and Test the Campaign
    • Campaign Analytics and Report
    • FAQs
  • WHATSAPP DRIP CAMPAIGN
    • Understanding Drip Marketing
    • Basics of Drip Campaign
    • Create New Drip Campaign
    • Drip Campaign Message Management
    • Campaign Management Options
    • Drip Campaign Analytics
    • FAQs
  • CTWA
    • CTWA in BizMagnets
    • Create your Ad Campaign
    • FAQs
  • INTEGRATION
    • E-commerce Platforms
      • Shopify
        • Workflows for Shopify
      • WooCommerce
        • Workflows for WooCommerce
      • WooCommerce Cart Abandonment Recovery
    • Shipping and Logistics
      • ShipRocket
        • ShipRocket Workflows
    • Payment Gateways
      • Razorpay
        • Razorpay Workflows
      • Cashfree
        • Workflows for Cashfree
      • Stripe
        • Stripe Workflows
    • Marketing and Engagement Platforms
      • Facebook Leads
        • Send Automated WhatsApp Messages to Facebook Leads
      • WebEngage
    • Additional Integrations
      • Zoho Books
        • Zoho Books Notifications
        • Workflow for Zoho Books
      • Generic Webhooks
        • Generic Webhook Workflows
        • Connect Wix Using Generic Webhook
        • Connect Zoho Desk Using Generic Webhook
        • Connect Your Google Form Using Generic Webhook
        • Connect Contact Form 7 Using Generic Webhook
      • Calendly
        • Workflows for Calendly
      • Pabbly
    • FAQs
  • APPOINTMENTS
    • BizMagnets Appointment
    • Appointment Booking
    • Appointment Template Configuration
    • FAQs
  • TICKETING
    • BizMagnets Ticketing
    • Ticket Fields
    • SLA Policies
    • Configuration
    • FAQs
  • Field Force Tracking
    • Field Force Tracking in BizMagnets
    • Add Geofence
    • Geofence Report
  • PRICING
    • Conversation Pricing
    • Message Credits
    • Billing & Subscriptions
  • COMMERCE
    • Facebook Catalogue
    • Orders
    • Payments
      • Sending Payment Links
      • Tracking Payments
      • FAQs
  • WHATSAPP OTP
    • WhatsApp OTP Configuration
    • OTP Authentication
  • API DOCUMENTS
    • Authentication
    • Channel
    • Untitled
    • API Docs
  • ADDITIONAL DETAILS
    • Members
      • Teams
      • Roles
      • FAQs
    • Exploring Message Delivery Challenges on WhatsApp
    • New Per-user Messaging Limits on WhatsApp
    • Automations
      • Chat Inbox Assignment
      • Chat Inbox Configuration
    • Quick Replies
    • Tags
    • API Keys
    • Biz Catalogues
    • Custom Fields
    • Frequently Asked Questions
  • ANALYTICS
    • Dashboard
    • Conversation Report
    • View Insights
    • Failed Messages
  • Group 1
    • Knowledge Base
Powered by GitBook
On this page
  • Overview
  • Connect Open AI
  • Using Open AI Connector
  1. BOT FLOWS
  2. Integrations

Connect ChatGPT with WhatsApp in BizMagnets Chatbot

Elevate your conversational AI capabilities with the Open AI connector. Easily integrate and customize actions such as Create Completion and Chat Completion to craft a unique Open AI experience.

PreviousSend your WhatsApp data to WooCommerce using ChatbotNextSend Your WhatsApp Data to Zoho Bigin Using Chatbot

Last updated 6 months ago

Overview

Enhance your conversational AI with the Open AI connector. This guide walks you through the seamless integration process, allowing you to choose actions like Create Completion and Chat Completion for a tailored Open AI experience.

Connect Open AI

  1. To begin, navigate to the Integrations section and click on Open AI.

  1. Once you've entered the Connection name and API Key, click Create Connection.

  1. If the Open AI connection is already set up, simply choose Select Existing Connection and click Connect.

Using Open AI Connector

  1. Once the connection is created, click Connect next to the connection to start configuring the connector, which will take you to the selected action.

  1. After connecting, the selected action, Chat Completion, will open, and you'll need to configure fields such as Context, User Prompt, Model, Knowledge Base, Max Tokens, Temperature, and the variable.

  1. For the Context, you can use the following example: "If the Intent is either Feedbacks, Products, Product, Register, Hi, Main Menu, match the user input to the correct intent and return the intent as it is. If it doesn't match, return the default intent."

You can modify the intents according to your bot, but keep the rest of the context the same for the card to function properly. For example: "If the Intent is either Intent 1, Intent 2, Intent 3, Intent 4, Intent 5, Intent 6, match the user input to the correct intent and return the intent. If it doesn't match, return the default intent."

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

  1. For the Model, there is only one option available for the Chat Completion action that you need to select.

  1. Select the knowledge Base from the dropdown menu.

  1. Tokens represent pieces of words, and their length can be described as:

  • 1 token ≈ 4 characters in English

  • 1 token ≈ ¾ of a word

  • 100 tokens ≈ 75 words

  • 1-2 sentences ≈ 30 tokens

  • 1 paragraph ≈ 100 tokens

  • 1,500 words ≈ 2,048 tokens

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

The default temperature in Open AI is set to 0.8, which offers a good balance between creativity and consistency. You can experiment with different temperature settings to suit your needs.

  1. You also need to create or select a variable to store the AI's response.

  1. Once you’ve filled in the values for all fields in the action, click Save.

In BizMagnets bot-builder, the card will appear as shown in the picture below. The green and red marks represent the success and failure conditions.

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

After clicking on Open AI Connector, you will be prompted to either Add New Connection or Select Existing Connection. If you haven’t created a connection yet, review the Connection Name and proceed by pasting your API Key. You will find the guide to find the key .

Learn more about tokens .

here
here