# Integrating OptiMonk campaigns with Robly

Canonical URL: https://support.optimonk.com/en/articles/integrating-optimonk-campaigns-with-robly

Integrating [Robly](https://www.robly.com/) with OptiMonk lets you gather leads with your popups and reach them with Robly's email marketing tools — so the subscribers who signed up via OptiMonk also get your promotions and news.

**Where this is set up.** Robly is not offered in the new campaign builder's provider list, so the account connection — and Robly's own options such as the verification email, the welcome email and the autoresponder — live **in the classic admin**. Once the account is connected there, the connection is also available to campaigns you build here, under *Your connected accounts*.

**Before you start:** you need a campaign whose popup is already built (the field mapping is read from the input fields of your popup) and Robly API credentials.

---

## Step 1 — Request your API key and API ID

**IMPORTANT:** to integrate Robly with OptiMonk you need an **API key** and an **API ID**. These are not self-service: you must contact **support@robly.com** to request them. Once you have both, continue below.

---

## Step 2 — Connect Robly in the classic admin

1. In OptiMonk, click your name at the bottom of the left-hand menu and choose **Go to classic admin**. You are signed in there with the same account.
2. Open the campaign you want to use and go to its **Integrations** section.
3. Select **Robly** from the list that appears.
4. Copy and paste the API key and the API ID into their fields, then click **Test connection** to check that the credentials work.
5. Choose the **list** in Robly your subscribers should be added to. You can also pick the field in your Robly list where the *source* is stored, and switch on **Verification email**, **Welcome email** and **Autoresponder** for the leads coming from OptiMonk.
6. Scroll to the top of the campaign settings page and click **Save and Edit** to save your settings.

These three switches have no equivalent in the new campaign builder, so if you want to change them later, come back to the classic admin.

---

## Step 3 — Use the connection on a campaign built in the new app

The credentials belong to your OptiMonk account, not to one campaign, so you can attach the connection to campaigns you build here:

1. Open **Campaigns** in the left menu and click your campaign.
2. Open the **Integrations** tab and click **Add integration**.
3. In the **Provider** step, look under **Your connected accounts** — your Robly connection is listed there. Click it. (Robly is not in the provider grid below; that grid only holds providers you can connect from here.)
4. **List** step: pick the Robly list new signups should join, then click **Continue**.
5. **Field mapping** step: decide where each popup field goes (see below) and click **Save integration**.

**Draft vs. live:** if the campaign has not been published yet, the integration shows a **Draft** pill and the note *Saved as draft — it goes live when you publish the campaign.* On a published campaign it is applied right away and shows as **Active**.

---

## Field mapping

The mapping table has two columns: **Popup field** on the left (every input your popup collects) and **Robly field** on the right. OptiMonk pre-fills the mapping with its own suggestions.

- The **email** field is fixed.
- Pick **Don't sync** for any popup field you don't want to send.
- Under **Static fields** you can send a fixed value with every submission — for example a source label. Click **Add static field**, type the value on the left, and choose the Robly field on the right.

To forward a piece of data that isn't on the left, the popup has to collect it first: ask the agent in the design chat to add the field, let the popup rebuild, then reopen **Integrations → Edit mapping**.

---

## Check that leads actually arrive

Open **Leads** in the left menu. Every submission has a **Sync status** column: **Synced** means the contact reached Robly, **Integration issue** means the forwarding failed. Click the row for the reason (*Incorrect API key*, *Invalid list*, *Field mapping issue*, *Account issue*…) and press **Retry** once you fixed the settings.

---

That's it! Now, whenever a visitor signs up through the campaign you configured, they are automatically added to your list at Robly.
