Watch Step By Step Video Tutorial Below
1. Introduction to API and Barbly Integration
API integration is crucial for enhancing customer service using Barbly. By connecting Barbly with OpenAI, businesses can automate responses effectively.
This integration allows for real-time customer interactions through WhatsApp, making it easier for banks to address client inquiries. For instance, using the OpenAI GPT model, you can create a personalized assistant that responds to queries accurately.
2. Setting Up Your Barbly Account
To begin, you must create an account on Barbly. Open your browser and navigate to chatflow.paby.com. Once there, sign up to access your dashboard.
After logging in, follow these steps to set up your WhatsApp integration:
- Link your WhatsApp number to your Barbly account.
- Select the AI assistant option from the left menu.
- Follow the prompts to configure your assistant settings.
Now you are ready to create your AI assistant!
3. Configuring the AI Assistant with OpenAI GPT
Once you have set up your assistant, it’s time to configure it using OpenAI. Start by choosing the AI instruction type as “AI Agent.” This will determine how the assistant handles customer inquiries.
Next, adjust the temperature setting which affects the creativity of responses. A setting of 0.5 is recommended for balanced responses. Then, select the OpenAI GPT model, ensuring you choose the latest version available.
To link your assistant to OpenAI, you need an API key. Here’s how to get it:
- Visit the OpenAI API key page in the help center.
- Click on “Create new secret key” to generate your API key.
- Copy the generated key and paste it into your assistant settings.
This will enable your assistant to respond to customer messages via WhatsApp.
4. Customizing Your Assistant’s Knowledge Base
To enhance the effectiveness of your Barbly assistant, you should upload a knowledge base. This document should contain specific information about your services, allowing the assistant to provide accurate responses.
Upload a text or PDF file containing your business data. This will serve as the foundation for your assistant’s replies. For example, if you manage a bank, include details about loan applications, account types, and customer service protocols.
Once uploaded, ensure your assistant is configured to use this knowledge base by following these steps:
- Navigate to the Knowledge Source section.
- Upload your knowledge base file.
- Save the changes to link the knowledge base to your assistant.
This customization will allow your assistant to respond based on the specific details of your business.
5. Finalizing and Testing Your Assistant
After configuring your assistant, it’s vital to finalize its setup. You can do this by adjusting visual elements and ensuring everything is functioning correctly. Customize the chat window title and initial messages to match your branding.
Finally, test your assistant to ensure it responds accurately to various inquiries. Activate it by switching on the assistant toggle and saving your settings. Once live, you can embed the assistant on your website for customer access.
To embed, simply click on the “Embed” button and copy the provided code into your website. This integration allows customers to initiate conversations through WhatsApp, where your assistant will handle inquiries seamlessly.
Conclusion
Integrating API with Barbly and OpenAI GPT allows businesses to automate customer service efficiently. By following these steps, you can create a personalized assistant that enhances client interactions.



