Import campaigns from Instantly or Smartlead

Bring Instantly or Smartlead campaigns into AY Inbox with an API key: steps, variants, schedule and settings as drafts, plus leads and suppressions.

Import campaigns moves your campaigns from Instantly or Smartlead into AY Inbox using that tool's API key. Each campaign you pick arrives as a draft with its steps, A/B variants, schedule and settings. Its leads become contacts, and the ones the old tool never emailed are enrolled. The block list, and the bounces and unsubscribes of every campaign in the account, picked or not, are added to your suppression list before any lead is enrolled.

Nothing sends until you start a campaign.

The import is rolling out workspace by workspace. When your Campaigns page has no Import button, it is not on for your workspace yet.

Import your campaigns

Connect the mailboxes the campaigns send from. Import mailboxes reads the mailbox exports of Instantly and Smartlead as they are.

Open Campaigns, choose Import, pick Instantly or Smartlead and paste an API key (see the key for the access it needs).

AY Inbox reads the account's campaigns. Pick the ones to import, and for each one still running in the old tool, choose how its leads come over (see campaigns still running).

Start the import. It runs on the server, so closing the import window or the tab does not stop it, and every teammate sees it move. Choose Import again to find it under Recent imports.

For more campaigns from the same account, choose Import more. AY Inbox reads the account again with the key it kept, and marks the campaigns already imported.

Open each new campaign, read its notes, check a few previews and start it.

Good to know

  • One import creates at most 20 campaigns, the most AY Inbox creates for a workspace in a day. Run another import for the rest.
  • A workspace has at most 3 imports open at once.
  • A campaign imported before shows Imported before with a link, so the same one is not brought over twice by accident.
  • Replies, sent mail and the old tool's statistics do not come over. Your mailboxes' own history arrives when they sync.
From the old campaignIn AY Inbox
Steps, in orderSteps of the new campaign, joined in order
A blank follow-up subjectA follow-up that replies in the same thread
A/B variantsVariants of the same step, split evenly; a disabled one is kept inactive. Up to 5 beside the step's own copy
Waits between stepsEach step's wait, in whole days (see waits)
Sending days and hours, time zone, start and end dateThe campaign's schedule; a start date already past is left off
Daily limit, new leads per day, prioritize new leadsThe same settings
Stop on reply, open and link tracking, plain textThe same settings; a plain-text campaign tracks nothing
Unsubscribe headerTurned on when the old campaign had it; otherwise the workspace default
Provider matchingESP matching set to prefer
Keep running for new leads (Instantly's evergreen)Keep running for new leads
CC and BCCThe same copies
Sending mailboxesThe campaign's senders, for each one connected to AY Inbox by the same address
Leads and their variablesContacts with custom fields
Bounced and unsubscribed leads, the block listSuppressions

Settings AY Inbox does not have, such as subsequences, stopping a whole company on one reply, automatic winner selection or random extra waits, are not carried over. Each campaign's notes name the ones its old campaign used. AY Inbox keeps its own checks where the old tool was looser: risky addresses stay checked, and each mailbox keeps its own spacing between sends.

A lead is enrolled in the new campaign only when the old tool never emailed it in that campaign and the old tool can no longer email it. Everyone else becomes a contact without being enrolled:

Lead in the old campaignIn AY Inbox
Never contactedEnrolled, once the old tool can no longer email it
Part way through the sequenceContact; it finishes in the old tool
Finished, or repliedContact
Paused, skipped, or blockedContact
Unsubscribed or bouncedContact, and suppressed

Contacts already in your workspace are updated, not duplicated, and keep what they had: a blank value never erases one.

A never-contacted lead is also left out when an email of the campaign is made only of a variable and the lead has no value for it, for example a subject that is just {{s1}}. Enrolling it would send an empty email, so it is imported as a contact and counted as Missing copy.

For Smartlead, a lead counts as never contacted only when its campaign export says no email was sent to it. When the export does not say, its leads are imported as contacts only and the campaign's notes say so.

A campaign still running in the old tool could email the same never-contacted leads AY Inbox would enrol. The import refuses to enrol from it until one of these is true, and checks again just before enrolling:

  • Hand over new leads (Instantly only). Before the leads are read, AY Inbox asks Instantly to move every lead it has not emailed out of the campaign into a new Instantly list named Moved to AY Inbox: <campaign>, then enrols exactly the leads in that list. Instantly picks the leads, so one it is emailing at that moment stays behind. Instantly keeps sending follow-ups to the leads it already started and finishes them, and the campaign can keep running. Stop adding new leads to it there, though: a lead added after the move is Instantly's to email. The move needs the key's leads update, lead lists create and background jobs read access. If Instantly is slow to finish the move, the import enrols the leads already in the list and says so; check the list in Instantly afterwards.
  • Pause it in Instantly or Smartlead. One click pauses the campaign there. Its never-contacted leads stay in it, so keep it paused: resuming it later, even to finish follow-ups, emails the leads AY Inbox enrolled from both tools. Pausing also stops its follow-ups, so leads part way through do not finish anywhere; to let them finish, hand the new leads over instead. It needs the key's campaign update access. You can also pause it in the old tool yourself.
  • Contacts only. Every lead becomes a contact and nobody is enrolled. The old campaign keeps running untouched.

A draft, paused, stopped or completed campaign needs none of this. If a campaign is running again by the time its leads are read, nobody is enrolled and its notes say why.

When the bounces, unsubscribes or block list of an import cannot all be read with the key, nobody is enrolled in any of its campaigns, because AY Inbox could not be sure it would not email someone who opted out. The leads still come over as contacts.

Copy is rewritten into AY Inbox's template language:

InstantlySmartleadAY Inbox
{{firstName}}, {{lastName}}, {{companyName}}{{first_name}}, {{last_name}}, {{company_name}}{{.FirstName}}, {{.LastName}}, {{.Company}}
{{email}}, {{phone}}{{email}}, {{phone_number}}{{.Email}}, {{.Phone}}
Any other variable, {{b1}}Any other field, {{industry}}The custom field, {{.b1}}
{{firstName | there}}{{or .FirstName "there"}}
{{RANDOM | Hi | Hello}}{Hi|Hello}{Hi|Hello}
{% if title == "CEO" %}...{% endif %}{{#if title '==' "CEO"}}...{{/if}}{{if eq .title "CEO"}}...{{end}}
{{sendingAccountFirstName}}, {{accountSignature}}%sender-firstname%, %signature%{{.Sender.FirstName}}, the mailbox signature

Anything else, such as Instantly's date tags or Smartlead's {{sl_date}}, has no AY Inbox equivalent. It is left as written and the campaign gets a blocking note naming it, so it is rewritten before the campaign starts rather than sent as raw text.

Every variable a lead carries becomes a custom field on the contact. Variables hold per-campaign copy as often as facts about a person, so a variable that another imported campaign, or a field already in your workspace, also uses is given the campaign's own name, such as {{.q4_founders_b1}}, and the copy is rewritten to match. The campaign's notes list each one. Facts the same for a person everywhere, such as their website, keep their own name.

A value stored as HTML, such as Hi Ana,<br><br>..., is imported as the plain text it shows, with its line breaks. A plain-text campaign keeps those line breaks. An HTML campaign shows a value's line breaks as spaces, and its notes say so when one has them.

AY Inbox waits in whole days before each follow-up, from 0 to 60. A wait in hours or minutes is rounded up, never down, so no follow-up goes out sooner than it did before. A longer wait is cut to 60 days. Either way the step's note says what it was.

An Instantly campaign with several sending schedules gets one weekly schedule that combines their hours, in the first one's time zone. A time zone AY Inbox does not know falls back to the workspace's.

Each imported campaign lists what to check before starting it. A blocking note is something that stops the campaign from sending as intended until you fix it: no connected sender, copy AY Inbox could not translate, or a first email with no subject. The others say what was approximated or left out.

ToolWhereAccess it needs
InstantlySettings > Integrations > API Keys (an API v2 key)Read access to campaigns, leads, accounts, block list entries, subsequences and analytics. To hand over new leads: leads update, lead lists create and background jobs read. To pause from AY Inbox: campaigns update
SmartleadSettings > Profile > API KeyThe account key, not a client key

The key is checked when you paste it, then sealed with your workspace's key and used only by AY Inbox's servers. It is never shown again or written to a log. AY Inbox keeps it for 30 days after the last import that used it, so Import more can read the account again without it; each Import more moves the key to the new import and starts the 30 days again. It is forgotten sooner when you cancel the import, when you choose Forget the key, or when the tool rejects it.

While it is kept, any member who can manage campaigns and contacts, and any API key with WRITE_CAMPAIGNS and BULK_CONTACTS, can use Import more: read the account's campaigns, and hand over or pause campaigns there. Choose Forget the key when you are done. AY Inbox changes nothing in the old tool except the hand-over or pause you choose.

RouteDoesNeeds
GET /v1/campaign-imports/vendorsThe tools campaigns can be imported fromREAD_CAMPAIGNS
POST /v1/campaign-importsChecks a key and reads the account's campaigns. Body: vendor (instantly or smartlead), api_keyWRITE_CAMPAIGNS and BULK_CONTACTS
GET /v1/campaign-importsRecent importsREAD_CAMPAIGNS
GET /v1/campaign-imports/{id}One import with every campaign it found and how each wentREAD_CAMPAIGNS
POST /v1/campaign-imports/{id}/startImports the picked campaigns. Body: campaigns, each with source_id, mode (enroll or contacts_only) and hand_overWRITE_CAMPAIGNS and BULK_CONTACTS
POST /v1/campaign-imports/{id}/campaigns/{source_id}/pause-sourcePauses that campaign in the old tool, before the import startsWRITE_CAMPAIGNS
POST /v1/campaign-imports/{id}/cancelStops the import and forgets the key; campaigns already made stayWRITE_CAMPAIGNS
POST /v1/campaign-imports/{id}/againImport more: reads the account again with the key an ended import still holds, as a new importWRITE_CAMPAIGNS and BULK_CONTACTS
POST /v1/campaign-imports/{id}/forget-keyForgets the key an ended import holdsWRITE_CAMPAIGNS

Creating an import and Import more take an Idempotency-Key. The response never contains the key. Each import moves through scanning, ready, queued, running and then completed, failed or cancelled, and the workspace gets a CAMPAIGN_IMPORT_PROGRESS realtime event as it moves. Refusals carry the codes in error codes.

Frequently asked questions

Does an imported campaign start sending on its own?

No. Every imported campaign arrives as a draft. It sends nothing until a member starts it, after connecting its mailboxes and reading its notes.

Can a lead get the same email from both tools?

Not from the import. A lead the old tool already emailed is never enrolled, and a lead it has not emailed is enrolled only when the campaign is paused there or its never-contacted leads were moved out of it. A campaign imported while paused has to stay paused: resuming it in the old tool would email the same leads from both.

What happens to leads halfway through a sequence?

They finish in the old tool. AY Inbox imports them as contacts and does not enrol them, so nobody gets a follow-up twice or out of order.

Do my mailboxes come over too?

No. Neither tool shares mailbox passwords or sign-ins through its API, so connect the mailboxes first, from your vendor or with Import mailboxes. The importer matches each campaign's senders to them by address.

What does AY Inbox do with my API key?

It is sealed with your workspace's key and used only by AY Inbox's servers. It is kept for 30 days after the last import that used it, so Import more needs no key, and forgotten sooner when you cancel the import, choose Forget the key, or the tool rejects it.

On this page