Prerequisites for Automated Cold Calling
Before diving into the steps, ensure you have the following:
-
Bland AI Account: Sign up for a Bland AI account to access their AI agent and calling capabilities.
A signup link offering a discount is available in the video description.
-
Python Installation: Have Python installed on your system to run the script.
-
Google Colab: Access to Google Colab, a free cloud-based platform for running Python code.
-
Excel Sheet: An Excel sheet containing the names and phone numbers of your leads. This data should be formatted correctly for the script to function properly.
Setting Up Your Excel Sheet
To begin automating your cold calling process, it's essential to set up your Excel sheet correctly. This sheet will serve as the data source for the Python script, which will then use Bland AI to make automated calls. Follow these guidelines to ensure your data is properly formatted:
-
Column Headers: Ensure your Excel sheet has two columns with the following headers:
-
Data Formatting:
- Ensure that the 'Name' column lists individuals that the AI will call.
- The 'Phone Number' column must include the country code followed by the ten-digit phone number without any spaces or special characters. For example, 15551231234 is the correct format.
-
File Format: Save the Excel sheet as a CSV UTF-8 (Comma delimited) file (.csv). This format is crucial for the Python script to read and process the data correctly.
Adhering to these guidelines ensures that the Python script can accurately access and utilize the information in your Excel sheet for automated cold calling.
Obtaining Your Bland AI API Key
An API key is required to connect your Python script to your Bland AI account.
This key acts as a password, ensuring that only authorized applications can access your account and its features. Here’s how to obtain your Bland AI API key:
- Log into Bland AI: Log in to your Bland AI account using the credentials you created during the sign-up process.
- Navigate to Account Settings: Click on your account icon, typically located in the top-right corner of the dashboard.
- Select API Keys: In the drop-down menu, click on 'API Keys'.
- Copy Your API Key: You will see your API key displayed on the screen. Click the copy button to copy the API key to your clipboard.
Note: Treat your API key like a password. Keep it confidential and avoid sharing it with unauthorized individuals. For security reasons, the API key shown in this video will be deactivated after publication. If someone gets access to your API Key, they can access your account and your credits and use it as their own.
Setting Up Google Colab and Python Script
Google Colab is a free, cloud-based platform that allows you to run Python code without needing to install anything on your local machine. This section will guide you through setting up Google Colab and integrating the Python script.
-
Open Google Colab: Open Google Colab using the link provided in the video description.
-
Access the Python Script: This link will direct you to a Google Colab notebook containing the Python script for automated cold calling.
-
Paste Your API Key: Locate the line in the script that says "YOUR"_BLANDAI"_API"_KEY" and replace it with the API key you copied from Bland AI. This step ensures that the script can authenticate with your Bland AI account.
-
Mount Google Drive:
- Click the 'Files' icon on the left sidebar to open the file explorer.
- Click the 'Mount Drive' icon (a folder with a play button) to connect Google Colab to your Google Drive.
- Follow the prompts to grant Google Colab access to your Google Drive. This will allow the script to access the CSV file containing your lead data.
-
Upload Your CSV File:
- Locate the folder in Google Drive where you want to store your CSV file.
- Drag and drop your CSV file into the selected folder in Google Drive, in the Colab file explorer.
-
Copy the File Path:
- Click the three dots next to your CSV file in the file explorer.
- Select 'Copy Path' to copy the file path to your clipboard.
-
Update the File Path in the Script: Locate the line in the script that says 'YOUR"_FILEPATH' and replace it with the file path you just copied. Ensure that the file path is enclosed in single quotes. This step tells the script Where To find your lead data.