# Upload leads

> Send a sheet of leads to a destination or routing, now or on a schedule: match the columns, set the pace, pause or cancel.
> Source: https://www.eventsiq.io/docs/upload-leads


Upload leads sends a sheet of leads to one destination or one routing, either now or on a
schedule you choose. Use it for leads that came in somewhere else, or a batch you want to send a
little at a time. Open it from **Automation › Manual uploads**, then **New upload**.

## Check your file before anything is sent

Nothing is sent until you click **Start** on the last step, so you can drop in the whole file and
check it first.

1. Pick where the leads go, then click **Download sample CSV**. It has a header row with the field
   names the destination reads and two example rows. Lay out your sheet the same way, for example:

   ```csv
   firstname,lastname,email,phone,state
   Jamie,Carter,jamie@example.com,+15555550123,TX
   Priya,Shah,priya@example.com,,FL
   ```

2. Drop in your file. **First rows** shows the first five rows exactly as they are in the file.
3. On **Match fields**, check each field has a column. Then read the line under the matches:
   - **All 2 rows have what** the destination **requires.** means every row can be sent.
   - **1 row will be left out: a required field is empty.** means a row is missing something, here
     Priya's phone if the destination requires one. Click **Show rows** to see which. Rows left out
     are not stored and do not count against your plan.
4. Check **The first lead, as it will be sent** on the right. That is what the destination will
   receive.

If this is your first upload to a destination, start with a file of a few leads, then click **Open on Logs** on the
upload's page and check they arrived as expected before you send the rest.

:::warning{title="If the file is refused"}
The page says why in plain words, for example:
-   **That file is not a CSV.** Save the sheet as CSV (comma separated) and try again.
-   **This sheet is separated by semicolons.** Save it as CSV (comma separated) and upload it again.
-   **The first row should name the columns**: the header row is empty.
-   **The sheet has a header row but no leads under it.**
-   The file is over 5 MB, or has more than 5,000 leads. Split it and upload the parts.
:::

### Repeated rows

EventsIQ does not remove repeated rows. Each row is sent as its own lead, so a person who is in the
sheet twice is sent twice, and counted twice. Remove repeats before you upload. If a destination
turns a lead down because it already has it, the upload's lead list shows its reason, for example
`Refused: Duplicate`.

## The four steps

1. **Source and destination.** Pick where the leads go: one destination, or a routing (the leads
   then go through its presets and waterfall, as a lead from a form would). Drop in a CSV, or
   choose the file. **Download sample CSV** gives you a sheet with exactly the columns the
   destination reads: first name, last name, email, phone, then the rest of its fields.
2. **Match fields.** Each field the destination reads is matched to a column of your sheet, by name
   where the names agree. Change any match from the list. Required fields are marked; a row with a
   required field empty is left out, and the page lists those rows. On the right you see the first
   lead exactly as the destination will receive it. Nothing is sent at this point.
3. **Schedule.** **Send now**, or **On a schedule**. Send now goes **As fast as possible**, or
   **Spaced out**: one lead every so many seconds or minutes, with an optional most per day, so a
   destination is not sent the whole sheet at once. On a schedule:
   - **Start:** the date, time and time zone. Nothing goes before it. The zone starts as your
     account's.
   - **Pace:** **Spread evenly** sends a set number each day, spaced evenly across the sending
     hours. **Fixed gap** sends one every so many minutes, with an optional most per day.
   - **Sending hours** and **Days:** for example 9 am to 5 pm, Monday to Friday.
   The plan reads in plain words, such as "1,200 leads, 100 a day, 9 am to 5 pm Eastern, Mon to Fri,
   starts 17 Nov, finishes on 3 Dec", with a day by day preview under it.
4. **Review and start.** The totals and the plan, then **Start**.

## Limits

| Limit | Value |
| --- | --- |
| Leads in one upload | 5,000 |
| File size | 5 MB |
| File type | CSV, comma separated, with a header row |

Bigger sheets can be split and uploaded in parts.

## After you start

Each upload has its own page with what is scheduled, sent, sold, refused and failed, the leads one
by one, and what is still to go day by day.

- **Pause** stops sending. Waiting leads keep their place.
- **Carry on** plans the waiting leads again from that moment, at the same pace, so nothing goes in
  a burst.
- **Cancel upload** stops for good. Leads not sent yet are not sent; they stay on Logs as not sold.

Uploaded leads show on **Logs** like any other lead, under their own source ("Upload: the file's
name"). **Open on Logs** on the upload's page filters Logs to that upload.

:::note{title="The destination still decides"}
A paused destination or routing holds the upload: nothing is dropped, and it carries on at your
pace once it is switched back on. A destination's own daily cap still applies; when it is full the
rest wait for its next day.
:::

## How the leads are sent

- **To a destination:** the same way a held lead is sent: its daily cap, its request, its accept
  rule and its log rows. No routing events fire.
- **Through a routing:** exactly as a new lead from a form: presets, waterfall, holds for full
  caps, and the routing's events.

## The lead allowance

Each uploaded lead counts **once** against your plan's lead allowance, **when it is sent**. Rows
left out for a missing field, and leads cancelled before they go, are not counted. A lead you upload
that already came in through a form earlier is a new lead here and is counted again when sent.

## Timing

With the lead queue running, each lead goes at its planned time. On a server where the queue is
off, uploads go out with the scheduled-leads job every 15 minutes, so a lead can be up to 15
minutes after its time; the page says so before you start.
