---
title: Set up Instantly
description: Create the Instantly campaign, API key and webhook that let Distrosauce send approved email sequences and hear back about replies and unsubscribes.
canonical: https://distrosauce.com/docs/integrations/instantly
last_updated: 2026-11-14
---

# Set up Instantly

This page walks an owner or admin through connecting Instantly to Distrosauce: the campaign, the opt-out, the API key and its scopes, the reporting webhook and importing past unsubscribes. Do [Prepare your sending domains and mailboxes](https://distrosauce.com/docs/integrations/email-infrastructure) first.

What the connection does: [Distrosauce + Instantly](https://distrosauce.com/integrations/instantly).

## 1. Create a campaign in Instantly

Create one campaign for each sender account that sends email. Give it 3 sequence steps. Each step uses custom variables that Distrosauce fills when it pushes a lead:

| Step | Day | Subject | Body |
|---|---|---|---|
| 1 | 0 | `{{email_1_subject}}` | `{{email_1_body}}` |
| 2 | 5 | `{{email_2_subject}}` | `{{email_2_body}}` |
| 3 | 10 | `{{email_3_subject}}` | `{{email_3_body}}` |

Instantly uses double braces for variables. Single braces show the variable name instead of the value.

In the campaign settings:

- Assign the sender's connected mailboxes to the campaign. Instantly rotates between the mailboxes assigned to a campaign.
- Set the sending schedule, for example business hours in your target time zone.
- Turn on "Stop on reply", so no follow-up goes out after a response.
- Give the campaign one clear way to opt out (below).

## 2. Give every campaign a way to opt out

Each campaign needs at least one of these:

1. Instantly's unsubscribe link or header. Turn on "Insert unsubscribe link header" in the campaign's advanced options, or add a visible link to each step: in Instantly's sequence editor, put the cursor after `{{email_1_body}}` (and the other two), click "+" and choose "Insert unsubscribe link". A click arrives at Distrosauce as an Instantly unsubscribe event and adds the person to your **Do Not Contact** list.
2. An opt-out line that asks for a reply, which Distrosauce adds for you. See below.

Email laws such as CAN-SPAM require a working opt-out in commercial email, and some inbox providers expect a one-click unsubscribe header from high-volume senders. Check what applies to you.

### The opt-out line

When an email is pushed, Distrosauce adds your opt-out line to the end of each of the three emails, a few blank lines below the copy. By default the line is "Reply 'no' and I won't follow up." with 5 blank lines above it.

Owners and admins change it on **Settings > Integrations**, on the **Opt-out line** card: switch it off, change **The line** (at most 150 characters) or **Blank lines above it** (0 to 10). The line is never added to the copy you review; the lead page shows it under each email.

Do not also put your own opt-out line in the Instantly step after `{{email_1_body}}`, or recipients see it twice. Switch Distrosauce's off if you prefer your own.

### Replies that count as an opt-out

A reply such as "unsubscribe", "remove me" or "not interested, stop" adds the person to your Do Not Contact list. So does a reply that is exactly one of the phrases under **Replies that count as an opt-out** on **Outreach > Do Not Contact**, ignoring capitals and punctuation. The default phrases are:

- `no`
- `nope`
- `no thanks`
- `no thank you`
- `no thx`
- `no ty`

Match your opt-out line's reply word to a phrase in that list. If your line says "Reply 'pass'", add `pass` there.

> **Important:** Opt-out replies reach Distrosauce only through the Instantly webhook, set to all events and all campaigns ([step 6](#6-add-the-reporting-and-unsubscribe-webhook)).

## 3. Custom variables Distrosauce sends

When a lead is pushed to Instantly, these custom variables are included:

- `email_1_subject`, `email_1_body`, `email_2_subject`, `email_2_body`, `email_3_subject`, `email_3_body`
- `company_domain` and `signal_type`, which you can also use in Instantly templates

The lead's email, first name, last name and company name are sent as the lead's own fields.

## 4. Create the API key

1. In Instantly, open Settings, then API Keys (under Integrations in some versions of Instantly).
2. Create an API key with exactly the scopes below, never `all:all`, and copy it. Instantly shows the key only once.
3. In Distrosauce, open **Settings > Integrations**, paste the key into **API Key** on the **Email (Instantly)** card, and save.

### Key scopes

- `leads:create`
- `lead_lists:create`
- `lead_lists:read`
- `lead_lists:update`
- `campaigns:read`
- `workspace_billing:read`
- `block_list_entries:create`
- `block_list_entries:delete`

`workspace_billing:read` lets Distrosauce read your Instantly workspace's contact usage, so it can warn you at 80% of your Instantly contact limit and resume sending on its own once you have made room.

`block_list_entries:create` lets Distrosauce add a person to your Instantly block list when they reply on LinkedIn or opt out, which stops every campaign for them, including emails already scheduled. `block_list_entries:delete` removes that entry when an owner or admin resumes outreach from the lead page.

### If a scope is missing

- `leads:create` missing: emails cannot be pushed to Instantly at all. The push fails and the email stays approved, so it is sent once a working key is saved.
- `workspace_billing:read` missing: sending still works, but there is no early warning at 80% of your Instantly contact limit.
- `block_list_entries:create` missing: when someone replies on LinkedIn or opts out, the email stop fails. The lead page says the stop failed because the Instantly API key is missing the `block_list_entries:create` scope. Nothing new is pushed to that person either way.
- `block_list_entries:delete` missing: **Resume automated outreach** on the lead page fails and says the key is missing that scope; nothing is changed.

Failed stops retry by themselves, after 15 minutes, then 1 hour, 4 hours and once a day, so they go through once a key with the right scopes is saved.

### Replace your Instantly key

1. In Instantly, create a new API key with exactly the scopes above, never `all:all`.
2. Copy it right away. Instantly shows it only once.
3. In Distrosauce, open **Settings > Integrations**, paste it into **API Key** on the **Email (Instantly)** card, and save.
4. Check that the field shows `Current:` followed by the masked key ending in the last 4 characters of the new key, not the old one.
5. Only then delete the old key in Instantly. Deleting it first stops pushes until the new one is saved.

## 5. Set each sender account's campaign

Email is sent only from each sender account's own Instantly campaign. On **Settings > Sender Accounts**, enter the campaign's ID in **Instantly Campaign ID** for each sender account and keep **Email outreach enabled** on. The campaign ID is the ID in the campaign's URL in Instantly, after `/campaign/`.

The **Workspace campaign ID (not used for sending)** field on Settings > Integrations is not used for sending. How personas, sender accounts and campaigns fit together: [Sender accounts](https://distrosauce.com/docs/concepts/sender-accounts).

## 6. Add the reporting and unsubscribe webhook

The webhook sends send, reply, bounce and lead status events to Distrosauce. Reporting is built from them; without the webhook, reporting has no email data.

It must also deliver Lead unsubscribed. That event is how someone who unsubscribes in Instantly lands on your Do Not Contact list, which stops Distrosauce from writing to or contacting them again, on email or LinkedIn. Choosing all events includes it. Choosing all campaigns matters just as much: a webhook limited to one campaign never sends events from your other campaigns, including their unsubscribes.

1. In Distrosauce, copy the webhook URL from **Settings > Integrations**, under **Instantly Webhooks (Reporting)**. The URL ends in a secret query string (`?secret=...`).
2. In Instantly, open Integrations, then Webhooks.
3. Click "Add Webhook" and paste the URL.
4. For the event type, choose all events (`all_events`). If you pick events one by one instead, include Lead unsubscribed, plus Email sent, Reply received, Email bounced and the lead status events for reporting.
5. For the campaign, choose all campaigns, not a single campaign.
6. Save. If a webhook pointing at Distrosauce is already limited to one campaign or a few event types, edit it (or delete it and add a new one) so it covers all events and all campaigns.

### Check it's working

1. Reporting: within a minute of your next sends, events appear in reporting. If nothing shows, check that the URL was pasted complete, including the `?secret=...` query string.
2. Opt-outs: add your own email address as a lead in an active campaign and wait for the first email. If the campaign has an unsubscribe link, click it (the link in Instantly's preview test emails does not work); if it uses an opt-out line, reply "unsubscribe". Within a minute, your address appears masked on **Outreach > Do Not Contact** as "Unsubscribed from email" (a click) or "Asked to stop in an email reply" (a reply). You can leave it there; it only affects that address.

### Keep the URL safe

Treat the webhook URL like a credential: whoever has it can write events to your workspace. If it is exposed, click **Regenerate secret** under Instantly Webhooks (Reporting). The old URL stops working immediately, so paste the new URL into every Instantly webhook that points at Distrosauce. Leave webhooks for other tools alone.

### If the webhook stops working

Once a day Distrosauce checks that a workspace which pushed at least 10 emails in the last 14 days also received events from Instantly. If none arrived, owners and admins see an item on the **Alerts** page, and your Alerts Slack gets it. Five requests in an hour refused for a wrong secret, with none getting through, raise an alert too. Both clear on their own with the first event that arrives.

## 7. Import existing unsubscribes

The webhook reports unsubscribes only from the time it is set up. People who opted out before that, or who are on your Instantly block list, are not on your Do Not Contact list until you import them once.

> **Important:** Distrosauce also adds people to your Instantly block list when they reply on LinkedIn. A full block list download includes them, and importing it puts them on Do Not Contact, which cannot be resumed from the lead page. Import only the people who actually opted out, or import before anyone has replied on LinkedIn.

1. In Instantly, open Settings, then Blocklist. Under "AI Blocklist Triggers", switch on "Unsubscribed leads", so unsubscribed leads are added to the block list (this also keeps Instantly from emailing them again).
2. On the Blocklist, click "Select all", then "Download CSV".
3. In Distrosauce, open **Outreach > Do Not Contact**, choose the CSV under **Add many**, and click **Add all**. Emails and domains are both read; anything already on the list is skipped. Owners and admins can do this.

## Other settings on the Email (Instantly) card

| Setting | What it does |
|---|---|
| **Enabled** | Switches the email channel on or off for the workspace. |
| **Auto-push on approval** | Push to Instantly as soon as emails are approved. |
| **API Key** | Your Instantly API key. After saving, only a masked value is shown. |
| **Workspace campaign ID (not used for sending)** | Not used for sending; each sender account's own campaign is. |
| **Delay (days after approval)** | The number of days, counted from when the sequence is written, before an approved sequence can be pushed. |

Under **Instantly Webhooks (Reporting)** you also find **Stop emails when someone replies on LinkedIn** (on by default).

When someone replies by email, Instantly's "Stop on reply" ends that sequence, and Distrosauce also stops its other automated outreach to that person.
