LeadPilot AI Live Beta

Help centre

3 · Importing leads, Google Sheets sync and duplicate prevention

Your existing files and sheets enter the system without flooding the queue or duplicating customers.

1

Two import paths: an ad campaign or a doctor's list (quiet time)

From “Leads” → “Import Excel (CSV)”. After uploading and mapping columns you choose the path: “ad campaign” puts rows into the queue as new leads with their natural priority; “former doctor's patient list” keeps them with a special badge and injects them to agents only when the queue is quiet (fewer than three urgent cards), under a daily cap. The golden rule: an urgent ad lead never waits behind a cold list.

The lead list with imported and platform leads
All names and numbers in the screenshots are fictitious sample data from the simulation environment (055000xxxx).
2

Share the Google Sheets file with the service account and connect it

On the Connections page, the “Live Google Sheets sync” card → “Manage sheets and import”. Copy the service-account address shown; in the Google file choose “Share” and add it as a viewer. Then paste the file link and press “discover tabs”: every tab (one per doctor, platform or site) appears with a preview.

We never ask for access to your Google account, and the system never writes to your file.
3

The “visible column mapping” window

For each tab the mapping window opens: you see the tab's first rows as they are, mark the header row, then pick the column for name, phone (required), service, date added and campaign details. Set the tab's source (Snapchat, Meta, TikTok, Google Ads, website), the routing, the doctor if it is a doctor's tab, and a default service. Save the mapping and enable the tab.

The column-mapping window for a Google tab
All names and numbers in the screenshots are fictitious sample data from the simulation environment (055000xxxx).
4

Automatic normalisation of 9-digit Saudi numbers

You do not need to clean numbers before importing: 9-digit 5XXXXXXXX, 05XXXXXXXX, +9665XXXXXXXX, 009665…, with spaces, dashes or Arabic numerals — all are read as valid Saudi numbers and stored in international format. An invalid number is not dropped: it is imported flagged “needs attention” and stays out of the queue until corrected.

5

Duplicate prevention with the (+2) badge

A customer who filled a Snapchat form and sent a WhatsApp message in the same minute, or appeared in the sheet and in the file, does not become two customers. The system matches the normalised number across all sources, folds the new arrival into the existing card and adds a “+2 (Snapchat + WhatsApp)” badge telling the agent this person is seriously looking. The responsible agent stays the same, and the first source stays recorded.

The deliberate exception: the same number from the same form days later (a new request) creates a new customer linked to the earlier one.
6

Sync: new rows only, automatically

Once enabled, the system automatically pulls new rows after the last one pulled (within an hour at most, usually every 10 minutes), with a “sync now” button for an immediate pull. Editing an old row in the sheet deliberately does not change the record. Each tab's state (last sync, row count, any error) shows on the file card.

7

Upload Excel or Google Sheets straight to the ad platforms through the CAPI hub

Have a file of “patients who attended last month” or “excluded numbers” and want Snapchat, TikTok and Meta to learn from it without going through the queue? In the CAPI hub's sheets bridge upload the file, paste its rows or link a Google Sheet: columns are detected automatically with A, B, C letters and a header-row choice, the status words found in your file (“حجزت”, “ما حجز”, “جيد”, “مو جيد”) are listed so you assign their meaning with one tap, or you apply one status to the whole file. The preview marks rows as ready, phone fixed, duplicate blocked or invalid; then “Dispatch N events & update audiences” sends them and reports per platform.

The CAPI hub sheets bridge: column detection, the status-word mapper and the preview table
All names and numbers in the screenshots are fictitious sample data from the simulation environment (055000xxxx).
Re-uploading the same file on the same day is safe: rows sent before are blocked as duplicates and never reach the platforms twice.