Sales & CRM

Emelia MCP

Manage Emelia cold-email and LinkedIn campaigns, contacts and lists, enrichment, LinkedIn scrapers, mailboxes, warmup, webhooks and blacklists through Emelia's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add contacts to list bulk

    Add up to 100 contacts to a list in one call (same behavior as add_contact_to_list for each row: campaign propagation, duplicate detection, updateIfExists). Flat object: field names as keys (contact fields like firstName/email/phone/linkedinUrlProfile, company fields like companyName/websiteUrl, or your custom variables — human-readable names work too). Any unrecognized key creates a new custom variable automatically. Rows are processed independently — the response reports created/duplicates/updated/failed counts and a per-row result.

  • Add contact to list

    Add a single contact to a list. If the list is used by one or several campaigns, the contact automatically enters those campaigns — this is the standard way to feed a running campaign. Flat object: field names as keys (contact fields like firstName/email/phone/linkedinUrlProfile, company fields like companyName/websiteUrl, or your custom variables — human-readable names work too). Any unrecognized key creates a new custom variable automatically. Duplicates (same email or LinkedIn URL already in the list) are not re-created: the response returns the existing leadId with duplicate: true. Set updateIfExists to true to update the existing contact instead (add-or-update).

  • Add to blacklist

    Adds an email address, a bare domain (domain.ltd) or a LinkedIn profile to the account blacklist. The blacklist is account-wide and applies to every current and future campaign.

  • Assign tracking domain

    Sets the tracking domain of one or more mailboxes, replacing the previous one. A `PENDING` domain can be attached: links keep using the shared Emelia domain until it is `OK`. A `DISABLED` domain cannot. Omit `domainId` to detach the domain from these mailboxes without deleting it. Mailbox ids that are not in the account are ignored. Returns `count`, the number of mailboxes changed.

  • Complete manual task

    Mark a pending manual task as completed ('ok') or failed ('ko') for a contact in a campaign.

  • Create account webhook

    Registers a URL that receives the events of the account. Sending a URL that is already registered updates its events. At most 10 URLs per account. **What is sent**: a `POST` with a JSON body `{ "event": "LINKEDIN_ACCOUNT_DISCONNECTED", "account": { "id", "name", "handle" }, "date" }`, once per disconnection. Emelia checks the accounts every 5 minutes; an account already disconnected when the URL is registered is reported once. There is no retry on an HTTP error and a single retry on a network error: read list_linkedin_accounts regularly if no event may be missed. Check the URL with test_account_webhook.

  • Enrich linkedin scraper

    Consumes credits. Looks for the professional email of every contact of a finished people extraction. Asynchronous: `status` becomes `enriching`, then `done` again when the emails are written into the CSV. An enrichment is closed after about one hour at most, with what was found by then. **Credits**: you need at least as many credits as `totalContact`. That amount is taken when the enrichment starts, then the credits of the contacts without an email are given back at the end: you pay 1 credit per email found. Your balance therefore drops temporarily during the enrichment. `country` is an ISO 3166-1 alpha-2 code (for example `FR`) used as a hint for the search. It is not validated. Conditions: `status` is `done` and the scraper was never enriched (`enrichEnabled` false). To enrich the first part of a long segmented extraction, split it first (split_linkedin_scraper). Only for people searches: an account (company) search has no person to look up. After completion: `enrichFound` is the number of emails found. Download with `format=1` to get only the contacts with an email, and read the columns `email_emelia`, `qualification_emelia`, `gender_emelia`, `domain_emelia`. No webhook is sent at the end of an enrichment: poll get_linkedin_scraper. Phone number enrichment of a scraper is not available in this API.

  • Filter linkedin scraper

    Removes from this scraper the LinkedIn profiles that already appear in your 10 most recent finished scrapers (comparison on the profile `id` column). Run it on a finished scraper before enriching it: fewer contacts, fewer credits. `filters` is a bit field. Only `1` exists today (remove profiles found in your other scrapers); use `1`. Asynchronous: the call returns at once and sets `processing` to true on the scraper. When the filter ends, `processing` is false again and `totalContact` and `scrapIndex` give the new count. Large files can take several minutes. Pitfalls: the CSV is rewritten and the previous version cannot be restored through the API. The filter is not restricted to finished scrapers: do not run it while an extraction is in progress. `filters: 0` is accepted but nothing runs and `processing` stays true.

  • Finish campaign

    Moves a RUNNING or PAUSED campaign to FINISHED and deletes its scheduled actions and pending conditions.

  • Pause campaign

    Pauses a RUNNING campaign: its scheduled actions, pending conditions and pending manual tasks are deleted. They are created again when the campaign is restarted and the contacts reach those steps again.

  • Pause linkedin scraper

    Pauses a large extraction split into chunks (`segmented: true`, Grow and Scale plans). Only allowed while `status` is `running`. Other scrapers cannot be paused. The pause is not immediate: the chunk being extracted goes to its end, only the next chunks are unscheduled. `status` becomes `paused`. Restart with resume_linkedin_scraper. A scraper can also be paused by Emelia when it runs on credits (no subscription) and the credits run out.

  • Reactivate campaign

    Moves a FINISHED campaign back to PAUSED so that it can be edited and started again.

  • Remove from blacklist

    Removes an email address, a bare domain or a LinkedIn profile (URL or handle) from the account blacklist.

  • Rename campaign

    Renames the campaign. Not allowed while the campaign is RUNNING.

  • Rename linkedin scraper

    Changes the name of a scraper. 1 to 100 characters, unique among your scrapers. Pitfall: renaming a scraper to its current name is refused (`A scrap with this name already exists`).

  • Rename list

    Rename a list.

  • Resume linkedin scraper

    Restarts a scraper that is: - `paused` (by you, or automatically when credits ran out); - `planified`: it starts now instead of at `plannedStart`; - in `error` with `INVALID_COOKIE`, `RATE_LIMIT`, `2FA_REQUIRED` or `PROCESS_ERROR`, once its LinkedIn account is valid again (refresh it first with update_linkedin_scraper_account, or reconnect the campaign account for a classic search). Other error codes are final: create a new scraper. A segmented extraction restarts with its remaining chunks. For Sales Navigator, a `RATE_LIMIT` stop is retried automatically about 12 hours later (`nextRetryAt` on the scraper gives the date). Checks: an active subscription or remaining credits; no other running scraper on the same account. Known issues: the running scraper check can refuse the resume with `You already have a running scrap` as soon as any other scraper of the workspace is running, even on another account. An unknown id is reported as `This scrap is in invalid state` (or as the running scraper message), not as not found.

  • Schedule campaign start

    Schedules an automatic start at `plannedStart` (ISO 8601 date in the future). The campaign must pass the start checks at scheduling time (same errors as start_campaign). Send `null` (or an empty value) to cancel a planned start.

  • Set campaign contact field

    Sets one field of a contact that belongs to the campaign, found by `email` OR `linkedinUrlProfile` (exactly one of them). Spaces are removed from `fieldName`. If `fieldName` is a native field of the contact (for example `firstName`, `jobTitle`, `companyName`) it is overwritten, otherwise a custom variable is created or updated.

  • Set warmup

    Enable or disable the email warmup for a provider (providerId comes from list_email_providers or get_warmup_status).

Page 1 / 2Next