📕
Superwave User's Manual
  • Superwave User's Manual
    • Welcome! Onboarding: Deploying the first domain
    • Where should I get my domains from?
    • Self-Support Flowchart
    • Where's the DKIM?
    • 1. Introduction to best practices
    • 2. Integrating a domain into Superwave
    • 3. Generating your inboxes
    • 4. The importance of writing proper emails
    • 5. Warming up
    • 6. Sending schedules
    • 7. Bulk upload
    • 8. Tracking domain
    • 9. Is your domain alright?
    • 10. Other useful scripts
    • 11. Bulk uploading through Python
    • THE SAUCE: Superwave's operator playbook to handle and convert huge email traffic like an expert
Powered by GitBook
On this page
  • Introduction to the Python script:
  • Steps to get the script working in half an hour:
  • Final notes:
  • Advice for Windows users:
  1. Superwave User's Manual

11. Bulk uploading through Python

Introduction to the Python script:

Click on the word repository to be taken where the script is so you can download it.

This script has the following useful features:

  • It doesn't spam the screen with Chrome windows while it works. It does everything in the terminal window.

  • Has basic error checking and retrying for the same address in the .csv file until it's properly integrated to Smartlead.

  • Will skip any addresses that already exist in your Smartlead account based on your API key's retrievable information.

  • Counts progress per address so you can know when it's going to be done more or less.

Steps to get the script working in half an hour:

For this tutorial we are going to assume you're a macOS user. If you're on Windows, read until the end before doing anything.

  1. Open your terminal and insert this, then press enter:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. If asked, insert your computer's password. Then, insert this and press enter:

brew update
  1. Now, this:

brew upgrade
  1. You're now going to visit the Python website and download the corresponding installer for macOS:

  1. If your installation was correct, you'll be able to verify that it worked with the following terminal command:

python --version

Here's how it should look like normally:

  1. Now that Python is installed, install all of these one by one:

brew install chromedriver
pip install selenium
pip install colorama
  1. Now move the .csv file you want to upload to Smartlead into the downloads folder, by first entering this command:

cd Downloads
  1. Now if you type in the following command, you'll see that your file is there

ls
  1. Copy the path of your .csv file by doing the following and pasting with "cd + (path)"

  1. You will be asked the following things before the script starts:

  • API key: You get this from your Smartlead account's settings.

  • .csv path: See above.

  • Microsoft OAuth link: Below is shown how to get it.

Whatever link you see in the Microsoft screen that follows, you must copy into the script:

  1. Here's how the Python window should look after you type in the following command (You must make sure the script is also in the downloads folder) and insert the information from step 11:

python sl-python.py
  1. If you did everything correctly, it's going to start uploading your accounts to Smartlead and output something similar to this:

Final notes:

  • It takes around one hour and thirty minutes to complete. Better than most VAs, but you should dedicate an entire day to running this script before officially sending emails, especially if you have more than five.

  • If it outputs errors but it's still going, let it run and don't halt the process.

  • Make sure all your accounts exist in Smartlead after it's done.

Advice for Windows users:

  • No need to install brew. Instead, you install Chromedriver directly from this link and move on with installing Python and pip modules.

  • Here's how to copy your .csv file's path:

  • Besides the aforementioned, the process is the same.

Last updated 1 year ago