OpenAI Alert - Plug Sample #6: Reach maximum potential with SalesIQ Zobot and ChatGPT Integration

OpenAI Alert - Plug Sample #6: Reach maximum potential with SalesIQ Zobot and ChatGPT Integration

In recent times, AI-powered tools have seen a remarkable surge in usage due to their exceptional capacity to enhance overall performance across diverse industries and sectors. One such tool is ChatGPT which businesses have started to use predominantly for multiple purposes. ChatGPT is an AI-powered chatbot that can understand natural language and respond to queries in real-time. On the other hand, we already know that SalesIQ's Zobot is an excellent tool to automate customer engagement which helps businesses to engage with their customers and perform actions based on unique business needs. By integrating ChatGPT and SalesIQ's Zobot, businesses can create a seamless customer service experience that is not only efficient but also productive.

Notes
Note:
  • SalesIQ offers native integration with OpenAI, supporting several ChatGPT models, including Assistant, under the ChatGPT card.
  • If you're looking for a ChatGPT Assistant Plug sample for deeper customizations, click here.
  • In this post, we’ll explore how to integrate ChatGPT models that is not supported in the native SalesIQ-ChatGPT integration. 
  • Remember, this script cannot train the ChatGPT models according to your business resource. 

What can this plug do?
  • This plug is integrated with ChatGPT models (not assistants). 
  • You can use this plug to integrated with your choise of ChatGPT model.
Step 1 - Get API keys from the Open AI
  • Navigate to the OpenAI developer section.
  • Click "Log in" on the top right corner to log in with your account. 
  • If you belong to multiple organization, select your organization. 
  • Click on "Settings > API Keys > Create new secret key" to generate an API key for your account. 


Step 2: Import the Sample Bot

Click the below button to download the sample bot integrated with ChatGPT. Once downloaded, follow these steps to import it into your SalesIQ portal/account:
  1. Go to Settings > Bots > Add > Import.
  2. Select the downloaded .zip file and upload it.
  3. The bot will be automatically imported into your bot list.
Info
To learn more about importing bots, refer to our Import chatbot guide.

Step 3 - Configure the ChatGPT plug
  1. Aftet the bot is imported, navigate to Settings > Developers > Plugs and find the plug named "ChatGPT" and click on it. 
  2. Click on Edit code,
    1. In the line #1, replace the token with your API key like mentioned in the step 1. 
    2. In the line #2, replace the model name with your choise of ChatGPT models
    3. Click on publish. 

  1. Get to the imported bot, the plug will be used twice (card names - GPT First response & GPT Next response) in the bot's flow, click on bot the plugs and click save. 

  1. Once it's done, test the bot and publish it. 
Related links:
To know more about the features of Zobot, kindly visit our  Resources Section.  

Cheers, 
Sasidar Thandapani