There are two ways of importing leads to Dashly:
Via the Dashly interface;
Via Rest API.
💡 Before importing users:
1. Check your unique visitors quota
Imported leads will be included in the unique visitors quota. Make sure that the import does not exceed the quota. You can see your unique visitors quota in the “Subscription” section.
In case your unique visitors quota is exceeded, a unique visitors overrun payment will be included with your next invoice, you can read about unique visitors overrun on different Dashly plans in this article.
2. Pre-verify the emails you’re importing
If you’re going to send emails to the leads you’re uploading, we recommend you to go through email validation.
Dashly has its own verification system so you don't have to worry about getting blocked for bounce rate. Nevertheless, remember that imported leads are counted in the quota and the overrun may affect the price. Don't import the leads you won’t use.
You can use any verification service. We prefer emaillistverify.com. Our experience with it has always led us to a bounce rate below 3%.
Import via the Dashly interface
You can find the import interface in the “Lead database” section:
You can import your lead base either with User IDs or with emails addresses.
Choosing either options will let you download a template import file. We recommend downloading the file and filling it with your lead database to make sure that the database is correctly prepared for uploading to Dashly.
❗ Please note:
🧐Which import option should I choose?
As it’s possible that your Dashly lead database may have several lead cards with similar emails, the lead data from the import file you upload will merge with the last active Dashly lead cards with the same emails.
Let’s say you want to upload a leads database, where your customers are divided into several categories such as “Current”, “New”, “Potential”. You can add custom properties into the import file to divide these leads. To do that, add a column with the name “Category” and place the values “Current”, “New” and “Potential” into the rows with the emails of corresponding leads. You might end up with a table like this:
Segmenting leads by properties will allow you to send a manual email campaign to a target audience.
Check whether the properties you’ve added into the import file are correct, upload it, see if the encoding of property names and values is correct as well and click “Import leads”.
Note: Before you click “Import leads”, you can add a tag to the leads you’re importing. You will be able to segment the imported leads by this tag later.
The import process runs in the background, so you can safely close the tab or go to another section of your Dashly dashboard without losing any data.
Once the import is over, you will receive a notification showing that the import process has been successfully completed in the notification menu (the “Bell” icon in the upper-right corner of your dashboard).
This notification will also show you how many of the new leads have been added, how many of the previously existing lead cards have been updated with the data from your import file and how many of the leads weren't uploaded due to errors in the import file.
⚠️Errors when importing?
When importing, you may receive an error like this:
Check if the file preview shows any leads with errors. It looks like this; when you hover over the text, it will show which lines have errors:
What can cause the error:
The preview doesn't show any errors in the leads, but the import error still appears? Check the following:
If the import still fails, contact support.
Import via REST API
You can import your lead base into Dashly via REST API as well. Read more about this method in our API documentation.
Important! Please refrain from synchronous API calls when importing leads, as it may overload our system and lead to your token getting blocked. The optimal call frequency is 2-3 calls per second.
Code example for leads import in PHP:
# List for import# The first element - User ID from your system$users = array(array('id' => 123,'email' => 'mail1@mail.ru','phone' => '891xxxxxx','name' => 'Test'),array('id' => 456,'email' => 'mail2@mail.ru','phone' => '891xxxxxx','name' => 'Test2'));$auth_token = 'xxx' # TODO: ADD YOUR AUTH_TOKEN, you can find it in Settings > API Keysfor ($i =0; $i < count($users); ++$i ) {$url = 'http://api.dashly.io/v1/users/'.$users[$i]['id'].'/props?auth_token='.$auth_token;$operations = json_encode(array(array('op' => 'update_or_create','key' => '$email','value' => $users[$i]['email']),array('op' => 'update_or_create','key' => '$phone','value' => $users[$i]['phone']),array('op' => 'update_or_create','key' => '$name','value' => $users[$i]['name']),));$result = file_get_contents($url, false, stream_context_create(array('http' => array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' =>http_build_query(array('operations' => $operations,'by_user_id' => 'true')),))));print $result;}
How to save Excel in Windows-1251 encoding
Go to “File”,
“Options” – “Advanced”,
Scroll down to "General",
Click "Web document options",
Open the “Encoding” tab,
In "Save document as" field choose the most preferable value and click OK.
There’s also an alternative way of doing this:
Go to "File",
Select "Save as...",
Click "Service". There, you will find the same "Web document options" button.