Volver al catálogo

Emelia MCP

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.

Acciones
96
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (96)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add contacts to list bulkEMELIA_MCP_ADD_CONTACTS_TO_LIST_BULKAcción

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.

Parámetros de entrada

  • listIdstringObligatorio

    List ID

  • contactsobject[]Obligatorio

    The contacts, one flat object each (max 100)

  • updateIfExistsboolean

    Update existing contacts when duplicates are found

Parámetros de salida

Sin parámetros.

Add contact to campaignEMELIA_MCP_ADD_CONTACT_TO_CAMPAIGNAcción

Adds ONE contact to a multichannel campaign. The contact is stored in a list named "<campaign name> contacts from API" (created if needed) attached to the campaign. If the campaign is FINISHED it is started again automatically (all start checks apply); if it is RUNNING the contact is scheduled immediately. A contact already present in that list (same email or LinkedIn URL) is rejected. For many contacts, use the list tools (add_contacts_to_list_bulk) and update_campaign_recipients instead.

Parámetros de entrada

  • contactobjectObligatorio

    Contact to add. At least one of `email` or `linkedinUrlProfile`. Only `email`, `linkedinUrlProfile`, `phone`, `firstName` and `lastName` are stored as native fields; every other key becomes a custom variable usable as `{{key}}` in messages. ALL VALUES MUST BE STRINGS: a number, an object or an array makes the whole request fail with a 400 error. Empty strings are ignored.

  • campaignIdstringObligatorio

    Campaign id.

Parámetros de salida

Sin parámetros.

Add contact to listEMELIA_MCP_ADD_CONTACT_TO_LISTAcción

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).

Parámetros de entrada

  • listIdstringObligatorio

    List ID

  • contactobjectObligatorio

    The contact fields, flat key → value

  • updateIfExistsboolean

    Update the existing contact when a duplicate is found

Parámetros de salida

Sin parámetros.

Add linkedin scraper webhookEMELIA_MCP_ADD_LINKEDIN_SCRAPER_WEBHOOKAcción

Registers a URL that Emelia calls when this scraper finishes or stops on an error. Register it right after creating the scraper. Several URLs can be registered on the same scraper; the same URL cannot be added twice. **What is sent**: a `POST` with a JSON body `{ "event", "id", "name", "error" }` (see `ScrapperWebhookEvent`). `FINISHED` is sent when the extraction ends (`status` `done`, all chunks included). `ERROR` is sent when the scraper stops with an error code, at most once per hour for the same scraper and code. **Current behavior to know**: every registered URL receives every event, whatever its `events` list; `ERROR` is only sent if at least one registered URL asked for `ERROR`. One attempt only: no retry, no signature, no custom header, so check the scraper with get_linkedin_scraper when you receive a call. Nothing is sent at the end of an enrichment. `events` must contain `FINISHED` or `ERROR`; other values are accepted and ignored. Known issue: the success response is currently an empty JSON object `{}` (no `success` field). Treat HTTP 200 as success.

Parámetros de entrada

  • eventsstring[]Obligatorio

    At least one of `FINISHED`, `ERROR`. Today every registered URL receives every event anyway.

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

  • webhookUrlstringObligatoriouri

    Public URL that accepts a POST with a JSON body.

Parámetros de salida

Sin parámetros.

Add to blacklistEMELIA_MCP_ADD_TO_BLACKLISTAcción

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.

Parámetros de entrada

  • typestringObligatorioenum

    `email`: an email address or a bare domain. `linkedin`: a LinkedIn profile.

    emaillinkedin
  • valuestringObligatorio

    For `email`: an email address or a bare domain (e.g. acme.com). For `linkedin`: a full profile URL (https://www.linkedin.com/in/...) or a bare handle, normalised to the handle.

Parámetros de salida

Sin parámetros.

Archive campaignEMELIA_MCP_ARCHIVE_CAMPAIGNAcción

Sets the status to ARCHIVED (hidden from list_campaigns). A running campaign must be paused first (pause_campaign).

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Assign tracking domainEMELIA_MCP_ASSIGN_TRACKING_DOMAINAcción

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.

Parámetros de entrada

  • domainIdstring

    Tracking domain id (`_id` from list_tracking_domains). Absent: detach.

  • providerIdsstring[]Obligatorio

    Mailbox ids (`_id` from list_email_providers).

Parámetros de salida

Sin parámetros.

Check custom variableEMELIA_MCP_CHECK_CUSTOM_VARIABLEAcción

Tells whether a name is already taken for a schema, either by one of your custom variables (`reason: custom_variable`) or by a standard field (`lead_field` or `company_field`). The name is normalized with the same rule as create_custom_variable and the normalized `technicalName` is returned.

Parámetros de entrada

  • schemastringObligatorioenum

    `lead` for contact variables, `company` for company variables.

    leadcompany
  • technicalNamestringObligatorio

    Name to check.

Parámetros de salida

Sin parámetros.

Check mailbox healthEMELIA_MCP_CHECK_MAILBOX_HEALTHAcción

Asks for a new DNS, sending and blacklist diagnosis of a mailbox. Asynchronous: the result appears a few minutes later in `health` of get_warmup_status. `warmupId` comes from get_warmup_status; it is not the id of the mailbox. A missing `warmupId` returns `{"success": false, "message": ...}`, not the usual error format.

Parámetros de entrada

  • warmupIdstringObligatorio

    Warmup id, from get_warmup_status (not the mailbox id).

Parámetros de salida

Sin parámetros.

Complete manual taskEMELIA_MCP_COMPLETE_MANUAL_TASKAcción

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

Parámetros de entrada

  • statusstringObligatorioenum

    'ok' = completed, 'ko' = failed

    okko
  • taskIdstringObligatorio

    The step ID of the manual task

  • contactIdstringObligatorio

    Contact ID

  • campaignIdstringObligatorio

    Campaign ID

Parámetros de salida

Sin parámetros.

Connect linkedin scraper accountEMELIA_MCP_CONNECT_LINKEDIN_SCRAPER_ACCOUNTAcción

Connects a LinkedIn account for Sales Navigator scraping by sending the cookies of a browser session where the user is logged in to LinkedIn and Sales Navigator. No password is involved. The Emelia browser extension does this for you; use this tool to automate it. `li_at` is required. Strongly recommended: `li_a` (Sales Navigator session), `ua` (user agent of the browser the cookies come from), `additionnalsCookie` (the other linkedin.com cookies, as objects `{ name, value, domain }`), `viewport` (that browser window size) and `country` (ISO alpha-2 code: Emelia browses LinkedIn through a proxy located in this country; default the workspace country, then FR). Returns `authId`, to use in `authes` of create_linkedin_scraper. The same `li_at` cannot be registered twice. When a session expires, update the existing account with update_linkedin_scraper_account instead of creating a new one. Emelia stores these cookies and refreshes them after each scraping session. There is currently no tool to remove a connected scraping account. Pitfall: `JSESSIONID` goes inside `additionnalsCookie`. Fields not described here are reserved for Emelia apps.

Parámetros de entrada

  • uastring

    User agent of the browser the cookies come from.

  • li_astring

    Value of the `li_a` cookie (Sales Navigator session).

  • li_atstringObligatorio

    Value of the `li_at` cookie (LinkedIn session). Required.

  • countrystring

    ISO 3166-1 alpha-2 code of the country the account is used from (for example `FR`). Emelia browses LinkedIn through a proxy located in this country.

  • viewportobject

    Window size of the browser the cookies come from. Both values required when the object is sent.

  • additionnalsCookieobject[]

    Other linkedin.com cookies of the same session, as objects `{ name, value, domain }` (spelling with two n is the real field name). `li_at`, `li_a` and `JSESSIONID` entries are dropped (the latter is then lost): send `JSESSIONID` here.

Parámetros de salida

Sin parámetros.

Create account webhookEMELIA_MCP_CREATE_ACCOUNT_WEBHOOKAcción

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.

Parámetros de entrada

  • urlstringObligatoriouri

    Public HTTPS URL that accepts a POST with a JSON body. A local or private address is refused.

  • eventsstring[]Obligatorio

    Events sent to this URL.

Parámetros de salida

Sin parámetros.

Create campaignEMELIA_MCP_CREATE_CAMPAIGNAcción

Create a new draft campaign with the given name. The campaign is created empty: set its sequence with update_campaign_steps, its schedule with update_campaign_settings, its sending identities with update_campaign_identities and its contact lists with update_campaign_recipients, then start it with start_campaign. Attach contacts by adding them to a list that the campaign uses.

Parámetros de entrada

  • namestringObligatorio

    Campaign name

Parámetros de salida

Sin parámetros.

Create custom variableEMELIA_MCP_CREATE_CUSTOM_VARIABLEAcción

Declares a custom variable on the account, so that contact keys with this name (technical or display name) land in it instead of being guessed. Declare your variables before loading contacts. This is the only way to create a COMPANY custom variable: add_contact_to_list and add_contacts_to_list_bulk only create contact (`lead`) variables. Naming rule: a technical name that is already a clean identifier (letter first, then letters, digits or `_`) is kept, with its first letter lowercased (`basile_gmb_name` stays `basile_gmb_name`). Anything else is camelCased with accents and symbols dropped (`Ice breaker` becomes `iceBreaker`). The stored name is returned. The call is refused (422) when a variable with the same name already exists for this schema (comparison ignoring case, spaces, `_` and `-`) or when the name is a standard field of the schema: it is therefore safe to call it every time and treat 422 as already existing. Variables are shared by all your lists and cannot be renamed or deleted through the API.

Parámetros de entrada

  • schemastringObligatorioenum

    `lead`: stored on the contact. `company`: stored on the company row of the contact.

    leadcompany
  • displayNamestring

    Label shown in the app. Defaults to the technical name.

  • technicalNamestringObligatorio

    Name used as the contact key and in `{{variables}}`. Normalized (see the tool description).

Parámetros de salida

Sin parámetros.

Create email providerEMELIA_MCP_CREATE_EMAIL_PROVIDERAcción

Adds a mailbox after testing its SMTP and IMAP credentials. The number of mailboxes is limited by your subscription (1 plus the additional mailboxes you pay for). The credentials are tested before saving. For Google and Microsoft accounts prefer the OAuth connection in the Emelia app.

Parámetros de entrada

  • imapobject

    IMAP server of the mailbox.

  • smtpobject

    SMTP server of the mailbox.

  • emailTypestringObligatorioenum
    GOOGLEOFFICEEXCHANGESMTPGOOGLEIMAP
  • signaturestring
  • domainNamestring

    Optional custom tracking domain to attach.

  • senderNamestring
  • senderEmailstringObligatorio

    Email address of the mailbox.

  • senderPasswordstring

    Used when `smtp.password` is empty.

Parámetros de salida

Sin parámetros.

Create linkedin connect linkEMELIA_MCP_CREATE_LINKEDIN_CONNECT_LINKAcción

Creates a secure link to connect a LinkedIn account to the workspace, without handling its credentials: the person opens the link, logs in to LinkedIn on an Emelia page and answers the verification if LinkedIn asks for one. Returns `url` (give it to the user, who forwards it), `token` (follow it with get_linkedin_connect_link) and `expiresAt`. The link is valid for 7 days; asking again for the same `email` returns the same link with a new expiry date. Add `authId` to reconnect an existing account instead of adding a new one, so its campaigns keep it. Each new account takes a LinkedIn slot of the subscription: without a free slot the link is refused with `LINKEDIN_ACCOUNT_LIMIT_REACHED`. With `sendEmail: true`, Emelia emails the link to `email` instead and the link does not expire; a second request for the same address is then refused with `LINKEDIN_INVITATION_PENDING`.

Parámetros de entrada

  • emailstringObligatorio

    Address of the person connecting the account. It identifies the link; nothing is sent to it unless `sendEmail` is true.

  • authIdstring

    Id of the account to reconnect (`id` from list_linkedin_accounts).

  • sendEmailboolean

    `true`: Emelia emails the link to `email`. Only when the user asked for the email to be sent. Default `false`: the link is only returned.

Parámetros de salida

Sin parámetros.

Create linkedin scraperEMELIA_MCP_CREATE_LINKEDIN_SCRAPERAcción

Starts extracting the people (or companies) of a LinkedIn search into a CSV. The extraction runs in the background on Emelia servers: this call only creates the scraper and returns its id (`scrapId`). Follow it with get_linkedin_scraper or with a webhook (add_linkedin_scraper_webhook). **Accepted URLs and accounts** - Sales Navigator people search (`https://www.linkedin.com/sales/search/people...`), lead list (`.../sales/lists/people/...`) or account search (`.../sales/search/company...`, companies instead of people). `authes` must contain ids of LinkedIn accounts connected for scraping (the `authId` returned by connect_linkedin_scraper_account). - Classic LinkedIn people search (`https://www.linkedin.com/search/results/people/...`). It runs on a LinkedIn account connected for campaigns: `authes` must contain ids of LinkedIn accounts connected for campaigns, not of accounts connected for scraping. - Any other `https://linkedin.com/sales/...` URL is accepted here but the scraper then stops with the error `BAD_SALES_NAV_URL`. **Volume limits** (applied during the extraction, not at creation) - Sales Navigator never returns more than 2,500 results per search (100 pages of 25). Lead lists and saved searches are capped at 2,500, searches filtered on your network (`CONNECTION_OF`) at 1,000, account searches at 1,000 companies, classic searches at 1,000 people. - Grow and Scale plans: a search with 3,000 results or more that contains filters is split automatically into chunks of at most 2,500 (`segmented: true`) and extracted over several days, at 2,500 contacts per day per LinkedIn account (5,000 for an account with a Sales Navigator Advanced seat). Give several accounts in `authes` to go faster. Above 80,000 results the scraper stops with `TOO_MUCH_RESULT`. - Start plan and free use: capped at 2,500, no automatic split. - `max_contacts` stops the extraction early. On Sales Navigator it is applied per page of 25 (you can get up to 25 more) and it is ignored for segmented searches. On classic searches it is exact. **Rules checked by this call**: the name is unique among your scrapers; with a single account and no `plannedStart`, that account must not already run a scraper; every account exists, belongs to you and is valid; `plannedStart` is at least one hour ahead; your workspace has an active subscription, or has not used its free extraction yet, or still has credits (without subscription, extraction costs about 1 credit per 2 contacts and pauses when credits run out). Fields not listed in the schema are rejected.

Parámetros de entrada

  • urlstringObligatoriouri

    Sales Navigator people search, lead list or account search URL, or classic LinkedIn people search URL, copied from the browser address bar.

  • namestringObligatorio

    Unique among your scrapers. Keep it at 100 characters or less (the rename limit).

  • authesstring[]Obligatorio

    LinkedIn account ids. Sales Navigator URL: ids of accounts connected for scraping (`authId` returned by connect_linkedin_scraper_account). Classic search URL: ids of the LinkedIn accounts connected to your campaigns. All must be valid and yours. Several accounts share the chunks of a segmented extraction; otherwise one of them is picked at random.

  • max_contactsinteger

    Optional maximum number of contacts. Approximate on Sales Navigator (page of 25), ignored on segmented extractions, exact on classic searches.

  • plannedStartstringdate-time

    Optional ISO 8601 start date, at least one hour ahead. The scraper stays `planified` until then.

Parámetros de salida

Sin parámetros.

Create listEMELIA_MCP_CREATE_LISTAcción

Create an empty contact list. Then add contacts with add_contact_to_list or add_contacts_to_list_bulk. Attach the list to a campaign with update_campaign_recipients to have its contacts flow into the campaign automatically.

Parámetros de entrada

  • namestringObligatorio

    List name

Parámetros de salida

Sin parámetros.

Create tracking domainEMELIA_MCP_CREATE_TRACKING_DOMAINAcción

Adds a custom tracking domain to the account, without attaching it to a mailbox (use assign_tracking_domain). The user must then create a CNAME record from this subdomain to `emelia.link` at their DNS host: Emelia checks it about a minute later, then every 15 minutes, and generates the HTTPS certificate. After about 6 failed checks the domain goes `DISABLED` and the user receives an email. Adding a domain that is already in the account returns it; if it was `DISABLED`, its verification starts again.

Parámetros de entrada

  • domainstringObligatorio

    A subdomain (`track.yourcompany.com`, not `yourcompany.com`). A protocol or a path is removed, and the domain is saved in lowercase.

Parámetros de salida

Sin parámetros.

Create webhookEMELIA_MCP_CREATE_WEBHOOKAcción

Registers a URL on an advanced campaign, or on all of them with `ALL_CAMPAIGNS`. The URL then receives a JSON `POST` each time one of the selected events happens. Deliveries are not signed and not retried on HTTP errors. Registering the same URL again on the same campaign adds a second registration, and the URL receives everything twice: to change the events, call delete_webhook first. With `ALL_CAMPAIGNS` the URL is added to the campaigns that are not FINISHED or ARCHIVED and is kept for future campaigns; a campaign that already has the URL keeps its events, and `webhookId` is the id of the account, not of a registration (read the ids with list_webhooks). Check the URL with test_webhook.

Parámetros de entrada

  • eventsstring[]Obligatorio

    Events sent to this URL.

  • hookUrlstringObligatoriouri

    Public HTTPS URL that accepts a POST with a JSON body. Prefer a URL that is hard to guess.

  • campaignIdstringObligatorio

    Id of an advanced campaign, or ALL_CAMPAIGNS for all of them.

Parámetros de salida

Sin parámetros.

Delete account webhookEMELIA_MCP_DELETE_ACCOUNT_WEBHOOKAcción

Removes a URL from the webhooks of the account (exact match): it stops receiving the events of the account. Removing a URL that is not registered is not an error.

Parámetros de entrada

  • urlstringObligatoriouri

    URL to remove, as returned by list_account_webhooks.

Parámetros de salida

Sin parámetros.

Delete campaignEMELIA_MCP_DELETE_CAMPAIGNAcción

Deletes the campaign. A running campaign must be paused first (pause_campaign). Its lists and contacts are kept. This cannot be undone — confirm with the user before calling it.

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Delete contactEMELIA_MCP_DELETE_CONTACTAcción

Permanently delete a contact from a list (and its company data). If the list is used by campaigns, the contact is also removed from those campaigns. Cannot be undone — confirm with the user before calling it. Find the leadId with the email/linkedinUrl lookup of get_list_contacts.

Parámetros de entrada

  • leadIdstringObligatorio

    Contact (lead) ID

  • listIdstringObligatorio

    List ID

Parámetros de salida

Sin parámetros.

Delete email providerEMELIA_MCP_DELETE_EMAIL_PROVIDERAcción

Removes the mailbox from the account. This cannot be undone — confirm with the user before calling it.

Parámetros de entrada

  • providerIdstringObligatorio

    Email provider id (`_id` from list_email_providers).

Parámetros de salida

Sin parámetros.

Delete linkedin scraperEMELIA_MCP_DELETE_LINKEDIN_SCRAPERAcción

Deletes a scraper. It disappears from the API and from the app. A Sales Navigator extraction in progress is stopped and the next chunks of a segmented extraction do not start. Pitfalls: the deletion is logical (Emelia keeps the extracted file). A classic LinkedIn search that is already extracting is not stopped: it runs to its end (and still sends its FINISHED webhook). The Emelia list created from the scraper (`convertedListId`) is not deleted. This cannot be undone — confirm with the user before calling it.

Parámetros de entrada

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Delete listEMELIA_MCP_DELETE_LISTAcción

Permanently delete a list AND all its contacts. This cannot be undone — confirm with the user before calling it.

Parámetros de entrada

  • listIdstringObligatorio

    List ID

Parámetros de salida

Sin parámetros.

Delete tracking domainEMELIA_MCP_DELETE_TRACKING_DOMAINAcción

Deletes the tracking domain attached to this mailbox from the account, and detaches it from every mailbox that uses it. Takes the mailbox id, not the domain id. With `onlyUnlink: true`, the domain is only detached from this mailbox and stays in the account. A mailbox without a tracking domain returns success. Deleting cannot be undone — confirm with the user before calling it.

Parámetros de entrada

  • onlyUnlinkboolean

    `true`: detach the domain from this mailbox only, without deleting it.

  • providerIdstringObligatorio

    Email provider id (`_id` from list_email_providers).

Parámetros de salida

Sin parámetros.

Delete webhookEMELIA_MCP_DELETE_WEBHOOKAcción

Removes a URL (exact match) from an advanced campaign: it stops receiving its events. With `ALL_CAMPAIGNS`, the URL is removed from all advanced campaigns, whatever their status, and is no longer added to new campaigns. Removing a URL that is not registered is not an error.

Parámetros de entrada

  • hookUrlstringObligatoriouri

    URL to remove, as returned by list_webhooks.

  • campaignIdstringObligatorio

    Id of an advanced campaign, or ALL_CAMPAIGNS for all of them.

Parámetros de salida

Sin parámetros.

Download linkedin scraperEMELIA_MCP_DOWNLOAD_LINKEDIN_SCRAPERAcción

Returns the CSV of a scraper as text. Separator `;`, first line = column names, UTF-8 without BOM, values quoted only when needed. Large extractions give large responses; output beyond 100,000 characters is cut on a line boundary. It can be called while the extraction runs: you get what has been collected so far. `format`: `1` = only contacts with an email (requires a finished enrichment with at least one email), `2` = only contacts without an email (all contacts if the scraper was never enriched), `3` = all contacts. **People columns** (Sales Navigator and classic searches): id, firstName, lastName, fullName, location, isPremium, openProfile, linkedinUrlProfile, summary, title, company, companyId, companyLocation, companyDescription, companySize, estimatedMinRevenue, estimatedMaxRevenue, industry, description, companyPage, companyWebsite, type. `id` is the Sales Navigator profile key and can contain commas. Fields that LinkedIn does not provide stay empty (classic searches fill fewer columns). **After an email enrichment** the file is rewritten in this order: id, email_emelia, qualification_emelia, gender_emelia, firstName, lastName, fullName, location, isPremium, openProfile, linkedinUrlProfile, phone_number_emelia, phone_qualification_emelia, phone_country_emelia, summary, title, company, companyId, companyLocation, companyDescription, companySize, estimatedMaxRevenue, estimatedMinRevenue, industry, description, companyPage, companyWebsite, domain_emelia, type. **Account search columns** (companies): id, companyName, companyPage, companyDescription, companySize, employeeCountRange, industry, companyWebsite, companyLocation, yearFounded, type, estimatedMinRevenue, estimatedMaxRevenue. Once a scraper is `done`, its contacts are also imported automatically into an Emelia list (`convertedListId`), that you can manage with the list tools.

Parámetros de entrada

  • formatnumberObligatorioenum

    1 = contacts with an email only, 2 = contacts without an email only, 3 = all contacts.

    123
  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Duplicate campaignEMELIA_MCP_DUPLICATE_CAMPAIGNAcción

Creates a new DRAFT campaign from an existing one. Choose what to copy. Copied contacts and lists are shared references (not copies). The new name must be unique.

Parámetros de entrada

  • namestringObligatorio

    Name of the new campaign

  • copyStepsboolean

    Copy the sequence (default false)

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

  • copyContactsboolean

    Copy the contacts and lists (default false)

  • copySettingsboolean

    Copy the settings (default false)

  • copyIdentitiesboolean

    Copy the sender identities (default false)

Parámetros de salida

Sin parámetros.

Enrich linkedin scraperEMELIA_MCP_ENRICH_LINKEDIN_SCRAPERAcción

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.

Parámetros de entrada

  • countrystringObligatorio

    ISO 3166-1 alpha-2 country code of the contacts, used as a hint (for example `FR`, `US`). Not validated.

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Export campaignEMELIA_MCP_EXPORT_CAMPAIGNAcción

Returns campaign data as CSV text. `contacts`: one line per contact with its custom fields, activities and replied flag; `activities`: activity log; `replies`: replies. Optional date range on activities. A CSV longer than 100,000 characters is cut on a line boundary, with a note giving the number of lines shown.

Parámetros de entrada

  • endstring

    End of the date range on activities (ISO 8601 date-time).

  • typestringObligatorioenum

    What to export.

    contactsactivitiesreplies
  • startstring

    Start of the date range on activities (ISO 8601 date-time).

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Export listEMELIA_MCP_EXPORT_LISTAcción

Exports one list as CSV text and waits for the file. Columns: First Name, Last Name, Full Name, Email, Email Verified, Phone, Mobile Phone, Job Title, LinkedIn URL, Bio, Company, Website, LinkedIn Page, Company Size, Industry, Country, Region, City, Status, Handle, then one column per custom variable of the account, then Lists and Campaigns (company-only lists use a shorter header). Email Verified is the email verification status: verified, unverified (checked, inconclusive), invalid or unknown (never checked). `leadIds`, `search`, `statuses` and `filters` narrow the export. Up to 5,000 contacts the file comes back directly; above that Emelia prepares it in the background and this tool waits for it (up to 90 seconds), then returns the CSV. If it is still running after that, it returns the job id: call get_list_export later. Only one large export runs at a time per account: while one is queued or running, a new request returns that existing job, which may concern other lists. An export above 100,000 contacts is refused. Output beyond 100,000 characters is cut on a line boundary.

Parámetros de entrada

  • listIdstringObligatorio

    List identifier, as returned by create_list or list_lists.

  • searchstring

    Same as `search` of get_list_contacts.

  • filtersobject[]

    Column filters.

  • leadIdsstring[]

    Export only these contacts.

  • statusesstring[]

    Engagement statuses, `NO_ACTIVITY` included.

Parámetros de salida

Sin parámetros.

Filter linkedin scraperEMELIA_MCP_FILTER_LINKEDIN_SCRAPERAcción

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.

Parámetros de entrada

  • filtersinteger

    Bit field. `1` = remove the profiles found in your 10 most recent finished scrapers. No other bit is implemented. Defaults to 1.

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Find campaigns using listsEMELIA_MCP_FIND_CAMPAIGNS_USING_LISTSAcción

For each list id, returns the non-archived campaigns that include the list in their recipients. Use it to know whether adding contacts to a list will feed a campaign. Lists used only as exclusion lists are not reported. Ids that are not valid ObjectIds are dropped; ids of lists that are not yours return an empty array.

Parámetros de entrada

  • listIdsstring[]Obligatorio

    List ids (from list_lists).

Parámetros de salida

Sin parámetros.

Find contactEMELIA_MCP_FIND_CONTACTAcción

Search a contact across ALL the lists of the account by email address or LinkedIn profile URL. Returns the lists that contain the contact and the contact data itself. Use this to answer "do we already have this person?" or to locate a contact before updating or deleting it.

Parámetros de entrada

  • querystringObligatorio

    Email address or LinkedIn profile URL

Parámetros de salida

Sin parámetros.

Find emailEMELIA_MCP_FIND_EMAILAcción

Consumes credits. Find the professional email address of a person with Emelia's email finder, from their full name and company. Waits for the result (usually a few seconds). qualification is 'valid' or 'invalid'.

Parámetros de entrada

  • countrystring

    Country code (e.g. FR, US) to localize the search

  • fullnamestringObligatorio

    Full name of the person

  • companyNamestringObligatorio

    Company name

  • companyWebsitestring

    Company website URL (improves accuracy)

Parámetros de salida

Sin parámetros.

Find phoneEMELIA_MCP_FIND_PHONEAcción

Consumes credits. Find the phone number of a person with Emelia's phone finder, from their LinkedIn profile URL. Waits for the result. qualification is 'found' or 'not_found'.

Parámetros de entrada

  • linkedinUrlstringObligatorio

    LinkedIn profile URL of the person

Parámetros de salida

Sin parámetros.

Finish campaignEMELIA_MCP_FINISH_CAMPAIGNAcción

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

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Get activity messageEMELIA_MCP_GET_ACTIVITY_MESSAGEAcción

Rebuilds the content sent for a `SENT`, `MESSAGE_SENT`, `INMAIL_SENT`, `INVITED` or `WHATSAPP_MESSAGE_SENT` activity by replaying the step template against the contact. The sent content itself is not stored: the result can differ if the step or the contact changed since. For a `MANUAL_EMAIL_SENT` or `MANUAL_LINKEDIN_SENT` activity, the content actually sent is stored and returned as is, with `exact: true`. Errors use a different format here: `{"error": "NOT_FOUND"}` (404) or `{"error": "NO_MESSAGE"}` (422).

Parámetros de entrada

  • activityIdstringObligatorio

    Activity id (`_id` from get_campaign_activities).

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Get blacklistEMELIA_MCP_GET_BLACKLISTAcción

Returns the account blacklist documents. WARNING: the response is a RAW ARRAY. Each item carries `blacklistContent` (email and domain blacklist, newline-separated) and `linkedinBlacklistContent` (LinkedIn handles, newline-separated).

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Get campaignEMELIA_MCP_GET_CAMPAIGNAcción

Get the full configuration of a campaign: status, schedule, steps, and the contact lists attached to it (recipients.lists) or excluded from it (recipients.excludedLists), each with id, name and contact count. To manage the contacts of an attached list (add, update, search, delete), use the list tools with the list id.

Parámetros de entrada

  • campaignIdstringObligatorio

    Campaign ID

Parámetros de salida

Sin parámetros.

Get campaign activitiesEMELIA_MCP_GET_CAMPAIGN_ACTIVITIESAcción

Get the activity feed of a campaign (sent, opened, clicked, replied, bounced, LinkedIn events, messages written by hand with `MANUAL_EMAIL_SENT` and `MANUAL_LINKEDIN_SENT`...). Replied activities include the reply content. Filter by activity type or contact.

Parámetros de entrada

  • typestring

    Filter by activity type (e.g. REPLIED, OPENED, SENT)

  • contactIdstring

    Filter by contact ID

  • versionIdstring

    Filter by A/B version ID

  • campaignIdstringObligatorio

    Campaign ID

Parámetros de salida

Sin parámetros.

Get campaign progressEMELIA_MCP_GET_CAMPAIGN_PROGRESSAcción

For each step id: how many contacts already passed the step (`completed`) and how many are currently waiting at it (`waiting`). Works on paused campaigns. Returns `{}` for a DRAFT or unknown campaign.

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Get campaign sequence guideEMELIA_MCP_GET_CAMPAIGN_SEQUENCE_GUIDEAcción

How to write the steps of a campaign for update_campaign_steps: the step tree, step types, A/B versions versus successive messages, conditions, variables, attachments and voice notes, and how to edit a campaign that already sent. Read it before building or changing a sequence.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Get campaign statsEMELIA_MCP_GET_CAMPAIGN_STATSAcción

Get the statistics of a campaign: global metrics (sent, opens, clicks, replies, bounces...) and a breakdown per step. Optionally restrict to a date range with start/end (ISO dates).

Parámetros de entrada

  • endstring

    End date (ISO 8601) to filter the stats

  • startstring

    Start date (ISO 8601) to filter the stats

  • detailedboolean

    Include detailed statistics

  • campaignIdstringObligatorio

    Campaign ID

Parámetros de salida

Sin parámetros.

Get contactEMELIA_MCP_GET_CONTACTAcción

Get a single contact of a list by its leadId (returned by add_contact_to_list or the email/linkedinUrl lookup of get_list_contacts).

Parámetros de entrada

  • leadIdstringObligatorio

    Contact (lead) ID

  • listIdstringObligatorio

    List ID

Parámetros de salida

Sin parámetros.

Get enrichment resultEMELIA_MCP_GET_ENRICHMENT_RESULTAcción

Fetch the result of a previously started enrichment job (find_email, find_phone or verify_email) by its jobId. Use it when one of those tools reported the job was still running.

Parámetros de entrada

  • typestringObligatorioenum

    Which enrichment started the job

    find_emailfind_phoneverify_email
  • jobIdstringObligatorio

    The job ID

Parámetros de salida

Sin parámetros.

Get linkedin connect linkEMELIA_MCP_GET_LINKEDIN_CONNECT_LINKAcción

Returns the state of a connection link created by this workspace. `status` is `wait_for_credentials` (the link was not used yet), `pending` (credentials sent, LinkedIn is waiting for a verification: a code, or a validation in its app), `accepted` (the account is connected), `failed` (the connection failed, the link can be used again until it expires) or `expired` (create a new link). `accountId` is the LinkedIn account id, present for `pending` and `accepted`. An unknown token returns `INVITATION_NOT_FOUND`.

Parámetros de entrada

  • tokenstringObligatorio

    `token` returned by create_linkedin_connect_link.

Parámetros de salida

Sin parámetros.

Get linkedin scraperEMELIA_MCP_GET_LINKEDIN_SCRAPERAcción

Returns one scraper with its progress. This is the call to poll while an extraction or an enrichment runs (every 30 to 60 seconds is enough). **Reading the progress** - `status`: see `ScrapperStatus`. The extraction is over when `status` is `done`; `error` gives the reason when `status` is `error`. - `scrapIndex` contacts extracted out of `totalContact` (0 until LinkedIn reports the result count, then capped by the plan rules). - Segmented searches: `segments`, `estimatedEnd`, `nextRunningSegment`, `betweenSegment`. - After enrich_linkedin_scraper: `status` is `enriching`, then `done` again. `enrichIndex` and `enrichFound` are only filled at the end of the enrichment. - `convertedListId`: id of the Emelia list automatically created from a finished scraper (usually within a few minutes after `done`), `null` before. Unlike list_linkedin_scrapers, this response also contains `userId`.

Parámetros de entrada

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Get listEMELIA_MCP_GET_LISTAcción

Get a list by id: name, contact counters (leads, emails, phones, linkedins), source and status.

Parámetros de entrada

  • listIdstringObligatorio

    List ID

Parámetros de salida

Sin parámetros.

Get list contactsEMELIA_MCP_GET_LIST_CONTACTSAcción

Paginated listing of the contacts of a list. To check whether a specific contact exists (and get its leadId for update/delete), pass email or linkedinUrl instead: it returns the exact matches only. email and linkedinUrl are mutually exclusive and take precedence over search/pagination.

Parámetros de entrada

  • pageinteger

    Page number (default 1)

  • emailstring

    Exact contact lookup by email (case-insensitive)

  • listIdstringObligatorio

    List ID

  • searchstring

    Free-text search

  • sortBystring

    Field to sort by

  • sortDirstringenum
    ascdesc
  • pageSizeinteger

    Page size (default 50, max 100)

  • linkedinUrlstring

    Exact contact lookup by LinkedIn profile URL

Parámetros de salida

Sin parámetros.

Get list exportEMELIA_MCP_GET_LIST_EXPORTAcción

Reads an export started by export_list that was still running. While it runs, returns its progress (status queued, running, done or failed, rows written, total). Once done, returns the CSV file. A failed job reports its error: start the export again. Jobs are kept 24 hours; an unknown or expired job id returns an error. Output beyond 100,000 characters is cut on a line boundary.

Parámetros de entrada

  • jobIdstringObligatorio

    Export job id (UUID) returned by export_list when the export is still running. Jobs are kept 24 hours.

Parámetros de salida

Sin parámetros.

Get warmup statusEMELIA_MCP_GET_WARMUP_STATUSAcción

Get the warmup status of the email providers (10 per page): running or not, score, emails sent/received, spam count. A low score signals a deliverability problem.

Parámetros de entrada

  • pageinteger

    Page number (10 results per page)

Parámetros de salida

Sin parámetros.

List account webhooksEMELIA_MCP_LIST_ACCOUNT_WEBHOOKSAcción

Lists the webhooks registered at account level, which receive the events of the account such as a LinkedIn account disconnecting. The activity webhooks of the campaigns are listed by list_webhooks.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List campaign contactsEMELIA_MCP_LIST_CAMPAIGN_CONTACTSAcción

Paginated contacts of a campaign with their status in the campaign. `page` is ZERO based: the first page is 0, the default. `perPage` below 10 is replaced by 20; maximum 10,000.

Parámetros de entrada

  • pageinteger

    Zero based page index: the first page is 0 (default 0).

  • eventany

    Filter on contact status (for example `SENT`, `MAIL_REPLIED`; `NO_ACTIVITY` = no activity yet). One status or several.

  • querystring

    Exact email, or words matched against email, names, phone and LinkedIn URL.

  • perPageinteger

    Page size (default 20).

  • campaignIdstringObligatorio

    Campaign id.

Parámetros de salida

Sin parámetros.

List campaignsEMELIA_MCP_LIST_CAMPAIGNSAcción

List all campaigns of the Emelia account (multichannel: email + LinkedIn steps in one campaign), with their id, name and status.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List credit usageEMELIA_MCP_LIST_CREDIT_USAGEAcción

History of the credits really consumed (refunds and refunded debits are not listed), newest first. `page` is one based.

Parámetros de entrada

  • pageinteger

    Page number, one based (default 1).

  • limitinteger

    Page size (default 50, max 200).

Parámetros de salida

Sin parámetros.

List email providersEMELIA_MCP_LIST_EMAIL_PROVIDERSAcción

List the sending email accounts (providers) connected to Emelia, with sensitive data masked. Useful for deliverability audits: spot disconnected accounts with disconnectedOnly. When inbox tools are available, list_mailboxes lists the same mailboxes to read and send emails.

Parámetros de entrada

  • disconnectedOnlyboolean

    Only return disconnected providers

Parámetros de salida

Sin parámetros.

List enrichment jobsEMELIA_MCP_LIST_ENRICHMENT_JOBSAcción

History of your single enrichment searches, newest first: email searches (find_email), phone searches (find_phone) or email verifications (verify_email). `page` is one based. Fetch one job in full with get_enrichment_result.

Parámetros de entrada

  • pageinteger

    Page number, one based (default 1).

  • typestringObligatorioenum

    Which enrichment to list

    find_emailfind_phoneverify_email
  • limitinteger

    Page size (default 15, max 100).

Parámetros de salida

Sin parámetros.

List linkedin accountsEMELIA_MCP_LIST_LINKEDIN_ACCOUNTSAcción

Lists the LinkedIn accounts connected to the workspace for campaigns, with their state and the campaigns that use them. No session cookie or password is returned. `status` is `active` (the account can send), `connecting` (a LinkedIn verification is in progress), `disconnected` (the account must be reconnected: create_linkedin_connect_link with `authId`) or `disabled` (no LinkedIn slot for this account). `id` is the `linkedin` value of an identity in update_campaign_identities.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List linkedin scrapersEMELIA_MCP_LIST_LINKEDIN_SCRAPERSAcción

Returns the scrapers of your workspace, newest first, 20 per page. Deleted scrapers are not returned. Use it to show a history or to find a scraper id. To follow one extraction, poll get_linkedin_scraper instead: it is lighter and returns the same object. For running segmented scrapers (large searches split into chunks, Grow and Scale plans), two computed fields are added: `nextRunningSegment` (when the next chunk is scheduled) and `betweenSegment` (true when no chunk is being extracted right now). Pitfall: each object also contains internal fields not described here (cursors, legacy ids). Do not rely on them.

Parámetros de entrada

  • pageinteger

    Page number, starting at 0. 20 scrapers per page. Missing, non numeric or negative values mean 0. An empty `scraps` array means you went past the last page.

Parámetros de salida

Sin parámetros.

List listsEMELIA_MCP_LIST_LISTSAcción

List the contact lists of the account, with pagination, name search and filters. Lists created by a LinkedIn scrape appear here too (filter with source). Returns each list with its id, name and contact counters.

Parámetros de entrada

  • pageinteger

    Page number (default 1)

  • tagsstring

    Comma-separated tag IDs

  • limitinteger

    Page size (default 25)

  • searchstring

    Search on list name

  • sortBystringenum
    nameleadsemailsphonescreatedAt
  • sourcestring

    Filter by import source

  • statusstring

    Filter by list status

  • sortDirstringenum
    ascdesc

Parámetros de salida

Sin parámetros.

List manual tasksEMELIA_MCP_LIST_MANUAL_TASKSAcción

List the pending manual tasks of a campaign (steps that require a human action, e.g. a LinkedIn touch done by hand). Each task carries the contact, the step id (taskId) and its name.

Parámetros de entrada

  • stepIdstring

    Filter tasks by step ID

  • campaignIdstringObligatorio

    Campaign ID

Parámetros de salida

Sin parámetros.

List step contactsEMELIA_MCP_LIST_STEP_CONTACTSAcción

Contacts that passed (`completed`) or wait at (`waiting`) a given step, newest first, 20 per page. Here `page` is ONE based.

Parámetros de entrada

  • pageinteger

    One based page index (default 1).

  • statusstringenum

    Default `all`.

    allcompletedwaiting
  • stepIdstringObligatorio

    Step `_id` (from get_campaign or get_campaign_progress).

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

List tracking domainsEMELIA_MCP_LIST_TRACKING_DOMAINSAcción

Lists the custom tracking domains of the account, most recent first, with their status. `PENDING`: the CNAME record is being checked. `OK`: verified, with HTTPS, used in tracked links. `DISABLED`: the record was not found after the last check. No pagination. To know which mailbox uses which domain, read `customDomain` in list_email_providers.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List webhooksEMELIA_MCP_LIST_WEBHOOKSAcción

Returns the activity webhooks registered on the campaigns of the account: legacy email campaigns (`typeOfCampaign: email`), legacy LinkedIn campaigns (`linkedin`) and advanced campaigns (`advanced`), whatever their status (FINISHED and ARCHIVED included). There is one entry per registration and per campaign: a URL registered with `ALL_CAMPAIGNS` appears once for each campaign it was copied to, and the part kept for future campaigns is not listed. A URL registered twice on a campaign appears twice. Registrations with an empty event list are skipped. `status` is always `active`.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Pause campaignEMELIA_MCP_PAUSE_CAMPAIGNAcción

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.

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Pause linkedin scraperEMELIA_MCP_PAUSE_LINKEDIN_SCRAPERAcción

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.

Parámetros de entrada

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Reactivate campaignEMELIA_MCP_REACTIVATE_CAMPAIGNAcción

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

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Remove contact from campaignEMELIA_MCP_REMOVE_CONTACT_FROM_CAMPAIGNAcción

Removes one contact from the campaign recipients and deletes its activities in this campaign (in the background). The contact itself and its lists are kept. This cannot be undone — confirm with the user before calling it.

Parámetros de entrada

  • contactIdstringObligatorio

    Contact ID (`_id` from list_campaign_contacts).

  • campaignIdstringObligatorio

    Campaign id.

Parámetros de salida

Sin parámetros.

Remove from blacklistEMELIA_MCP_REMOVE_FROM_BLACKLISTAcción

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

Parámetros de entrada

  • typestringObligatorioenum

    `email`: an email address or a bare domain. `linkedin`: a LinkedIn profile.

    emaillinkedin
  • valuestringObligatorio

    For `email`: an email address or a bare domain (e.g. acme.com). For `linkedin`: a full profile URL (https://www.linkedin.com/in/...) or a bare handle, normalised to the handle.

Parámetros de salida

Sin parámetros.

Remove linkedin scraper webhookEMELIA_MCP_REMOVE_LINKEDIN_SCRAPER_WEBHOOKAcción

Unregisters a webhook URL (exact match). Removing a URL that is not registered is not an error. Known issue: the success response is currently an empty JSON object `{}`.

Parámetros de entrada

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

  • webhookUrlstringObligatoriouri

    URL to remove (exact match).

Parámetros de salida

Sin parámetros.

Rename campaignEMELIA_MCP_RENAME_CAMPAIGNAcción

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

Parámetros de entrada

  • namestringObligatorio

    New campaign name

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Rename linkedin scraperEMELIA_MCP_RENAME_LINKEDIN_SCRAPERAcción

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`).

Parámetros de entrada

  • namestringObligatorio
  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Rename listEMELIA_MCP_RENAME_LISTAcción

Rename a list.

Parámetros de entrada

  • namestringObligatorio

    New name

  • listIdstringObligatorio

    List ID

Parámetros de salida

Sin parámetros.

Resume linkedin scraperEMELIA_MCP_RESUME_LINKEDIN_SCRAPERAcción

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.

Parámetros de entrada

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Schedule campaign startEMELIA_MCP_SCHEDULE_CAMPAIGN_STARTAcción

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.

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

  • plannedStartstring | nullObligatorio

    ISO 8601 date-time of the start, or `null` to cancel the planned start.

Parámetros de salida

Sin parámetros.

Send campaign test emailEMELIA_MCP_SEND_CAMPAIGN_TEST_EMAILAcción

Sends a real email to the given address. Sends one version of an EMAIL step to `email`, from one of the campaign identities, with the variables of a random contact of the campaign. Use the step `_id` and version `_id` from get_campaign.

Parámetros de entrada

  • emailstringObligatorio

    Recipient of the test.

  • stepIdstringObligatorio

    `_id` of the EMAIL step

  • versionIdstringObligatorio

    `_id` of the version to send

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Set campaign contact fieldEMELIA_MCP_SET_CAMPAIGN_CONTACT_FIELDAcción

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.

Parámetros de entrada

  • emailstring

    Email of the contact (or linkedinUrlProfile, not both).

  • fieldNamestringObligatorio

    Field or custom variable to set.

  • campaignIdstringObligatorio

    Campaign id.

  • fieldValuestringObligatorio

    New value.

  • linkedinUrlProfilestring

    LinkedIn profile URL of the contact (or email, not both).

Parámetros de salida

Sin parámetros.

Set warmupEMELIA_MCP_SET_WARMUPAcción

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

Parámetros de entrada

  • enabledbooleanObligatorio

    true to enable warmup, false to disable it

  • providerIdstringObligatorio

    Email provider ID

Parámetros de salida

Sin parámetros.

Split linkedin scraperEMELIA_MCP_SPLIT_LINKEDIN_SCRAPERAcción

Lets you use now what a long segmented extraction has already collected, while the rest goes on. Effect: a new scraper named `<name> 1` is created with `status` `done` and the contacts extracted so far; its id is returned in `scrapId`. The original scraper keeps its id, is renamed `<name> 2`, keeps only the chunks not finished yet and restarts its counter (`scrapIndex` back to 0, `totalContact` reduced accordingly). The new part is then imported automatically into an Emelia list, like any finished scraper. Typical use: enrich or download the first contacts of an extraction that will take days (enrichment requires `status` `done`). Conditions: `segmented` is true, `status` is neither `enriching` nor `done`, at least one contact was extracted, and nothing was written during the last 10 minutes (otherwise retry later). Not to be confused with the automatic split of large searches into chunks, which Emelia does by itself on Grow and Scale plans.

Parámetros de entrada

  • scraperIdstringObligatorio

    Scraper id (`_id` returned by create_linkedin_scraper or list_linkedin_scrapers). 24 hexadecimal characters.

Parámetros de salida

Sin parámetros.

Start campaignEMELIA_MCP_START_CAMPAIGNAcción

Starts sending to the real contacts of the campaign: confirm with the user before calling it. Starts (or resumes) the campaign. Requires an active subscription. All start checks are run and the first failing one is returned with a stable `code` (for example `NO_IDENTITY_SET`, `EMAIL_VERSION_NO_SUBJECT`, `NO_RECIPIENTS`, `RECIPIENTS_NO_EMAIL`): identities, accounts connected, email versions with content and subject, LinkedIn daily ceiling, 1 to 30,000 recipients, at least one contact reachable on each channel used. A planned start, if any, is cancelled. Scheduling of contacts happens asynchronously after the response.

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Test account webhookEMELIA_MCP_TEST_ACCOUNT_WEBHOOKAcción

Sends an example `LINKEDIN_ACCOUNT_DISCONNECTED` event, with `test: true` and a fake account, to a URL already registered with create_account_webhook. The answer stays `success: true` even if the server behind the URL refuses the event. A URL that is not registered is refused with `INVALID_PARAMETERS`.

Parámetros de entrada

  • urlstringObligatoriouri

    URL already registered on the account.

Parámetros de salida

Sin parámetros.

Test webhookEMELIA_MCP_TEST_WEBHOOKAcción

Sends an example event, with `test: true` and a fake contact, to the URL of a registration. The URL receives a `MAIL_REPLIED` body, or a `CAMPAIGN_ENDING` body if the registration includes that event. `success: true` means that the event was sent, not that the endpoint accepted it.

Parámetros de entrada

  • hookIdstringObligatorio

    Registration id: `id` from list_webhooks, or `webhookId` from create_webhook on a single campaign.

Parámetros de salida

Sin parámetros.

Update campaign identitiesEMELIA_MCP_UPDATE_CAMPAIGN_IDENTITIESAcción

Replaces the identities (sending accounts) of the campaign. Not allowed while RUNNING. For each step Emelia picks automatically, among these identities, the least used one that has an account on the channel. Rules checked at start: every identity needs an email provider if the sequence has an email step; with a LinkedIn step either use a single LinkedIn account or attach one to every identity.

Parámetros de entrada

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

  • identitiesobject[]Obligatorio

Parámetros de salida

Sin parámetros.

Update campaign recipientsEMELIA_MCP_UPDATE_CAMPAIGN_RECIPIENTSAcción

Sets the FULL selection of lists (replace semantics): the campaign contacts become the contacts of `lists`, minus any contact whose email or LinkedIn URL appears in one of `excludedLists`. When `excludedLists` is omitted the current exclusion lists are kept. Allowed on a running campaign. A campaign cannot be started with more than 30,000 recipients. Create and fill lists with the list tools (create_list, add_contact_to_list, add_contacts_to_list_bulk).

Parámetros de entrada

  • listsstring[]Obligatorio

    Ids of the lists to use.

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

  • excludedListsstring[]

    Ids of exclusion lists.

Parámetros de salida

Sin parámetros.

Update campaign settingsEMELIA_MCP_UPDATE_CAMPAIGN_SETTINGSAcción

Merges the given settings into the campaign schedule. Not allowed while RUNNING. Rules: `start` must be before `end`; `dailyEmailLimit` must be greater than or equal to `dailyEmailAdded`; `dailyLinkedinAdded` is capped at 40 when the sequence contains a CONNECTION step (80 otherwise). Returns the updated campaign.

Parámetros de entrada

  • settingsobjectObligatorio

    Settings to merge into the campaign schedule. `trackLinks`, `trackOpens`, `blacklistUnsub`, `start` and `end` are always required. Send the full object you read with get_campaign (field `schedule`).

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Update campaign stepsEMELIA_MCP_UPDATE_CAMPAIGN_STEPSAcción

Replace the WHOLE sequence of a campaign. Read get_campaign_sequence_guide before building or changing a sequence: it explains step types, versions, conditions, variables and attachments. Rules that break a campaign: the root is always the START step ({ "_id": "START", "stepType": "START" }); read the current tree with get_campaign, change it and send it back whole; leave _id out on new steps and versions and keep the existing ids untouched, or contacts receive steps again; the campaign must not be RUNNING (pause_campaign first). Content is only checked by start_campaign.

Parámetros de entrada

  • stepsobjectObligatorio

    One node of the sequence tree. The root is always a `START` step. Each node points to the next one with `next`; a `CONDITION` node branches with `yes` and `no` (a missing branch ends the sequence for the contacts that fall into it). `END_OF_CAMPAIGN` stops the sequence. EMAIL versions are A/B variants (one version per contact); MESSAGE and WHATSAPP versions are successive messages sent in order. A MESSAGE step placed after a CONNECTION step waits for the invitation to be accepted.

  • campaignIdstringObligatorio

    Identifier of a multichannel campaign (24 hexadecimal characters), as returned by create_campaign or list_campaigns.

Parámetros de salida

Sin parámetros.

Update contactEMELIA_MCP_UPDATE_CONTACTAcción

Update a contact by its leadId (its list is derived automatically). 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. The fields you send overwrite the contact's values; fields you don't send stay untouched. If the contact's list is used by campaigns, the updated values are propagated to them.

Parámetros de entrada

  • fieldsobjectObligatorio

    The fields to update, flat key → value

  • contactIdstringObligatorio

    Contact (lead) ID

Parámetros de salida

Sin parámetros.

Update email providerEMELIA_MCP_UPDATE_EMAIL_PROVIDERAcción

Updates the credentials of an SMTP or Google IMAP mailbox, retests them and marks the mailbox as connected again. Masked passwords (`********`) are replaced by the stored values before the test. The credentials are tested before saving. For Google and Microsoft accounts prefer the OAuth connection in the Emelia app.

Parámetros de entrada

  • imapobject

    IMAP server of the mailbox.

  • smtpobject

    SMTP server of the mailbox.

  • emailTypestringObligatorioenum
    GOOGLEOFFICEEXCHANGESMTPGOOGLEIMAP
  • signaturestring
  • domainNamestring

    Optional custom tracking domain to attach.

  • providerIdstringObligatorio

    Email provider id (`_id` from list_email_providers).

  • senderNamestring
  • senderEmailstringObligatorio

    Email address of the mailbox.

  • senderPasswordstring

    Used when `smtp.password` is empty.

Parámetros de salida

Sin parámetros.

Update linkedin scraper accountEMELIA_MCP_UPDATE_LINKEDIN_SCRAPER_ACCOUNTAcción

Replaces the session cookies of a scraping account (its `authId`), typically after a scraper stopped with `INVALID_COOKIE` or when the account shows `status: invalid`. `status` is set back to `valid` (the cookies are not tested at this moment). Then restart the stopped scraper with resume_linkedin_scraper. Send the complete set every time: `li_a`, `ua`, `viewport`, `country` and `additionnalsCookie` that you omit are cleared, and so is the LinkedIn profile shown in the app. Returns the same account id. Only scraping accounts can be updated here (not campaign accounts).

Parámetros de entrada

  • uastring

    User agent of the browser the cookies come from.

  • li_astring

    Value of the `li_a` cookie (Sales Navigator session).

  • li_atstringObligatorio

    Value of the `li_at` cookie (LinkedIn session). Required.

  • countrystring

    ISO 3166-1 alpha-2 code of the country the account is used from (for example `FR`). Emelia browses LinkedIn through a proxy located in this country.

  • viewportobject

    Window size of the browser the cookies come from. Both values required when the object is sent.

  • accountIdstringObligatorio

    Account id (the `authId` returned by connect_linkedin_scraper_account). 24 hexadecimal characters.

  • additionnalsCookieobject[]

    Other linkedin.com cookies of the same session, as objects `{ name, value, domain }` (spelling with two n is the real field name). `li_at`, `li_a` and `JSESSIONID` entries are dropped (the latter is then lost): send `JSESSIONID` here.

Parámetros de salida

Sin parámetros.

Update sender nameEMELIA_MCP_UPDATE_SENDER_NAMEAcción

Updates only the sender name of a mailbox (any type), without retesting credentials. Note: Outlook always displays the name of the Microsoft account.

Parámetros de entrada

  • providerIdstringObligatorio

    Email provider id (`_id` from list_email_providers).

  • senderNamestringObligatorio

Parámetros de salida

Sin parámetros.

Upload campaign attachmentsEMELIA_MCP_UPLOAD_CAMPAIGN_ATTACHMENTSAcción

Uploads 1 to 3 files (20 MB maximum each) and returns their URLs, to reference in `versions[].attachments` of EMAIL, MESSAGE or WHATSAPP steps (update_campaign_steps). Files are stored as is with a PUBLIC URL: anyone with the URL can download them. The MCP request is limited to 4 MB, so about 3 MB of file once encoded in base64.

Parámetros de entrada

  • filesobject[]Obligatorio

    The files to upload, 1 to 3.

Parámetros de salida

Sin parámetros.

Upload linkedin voice noteEMELIA_MCP_UPLOAD_LINKEDIN_VOICE_NOTEAcción

Converts an audio file (webm expected, 10 MB maximum, 5 minutes maximum) to m4a and returns a PUBLIC URL plus its duration IN MILLISECONDS, to use as an attachment with `mediaType: "AUDIO"` in a MESSAGE step (update_campaign_steps). Anyone with the URL can download it. The MCP request is limited to 4 MB, so about 3 MB of file once encoded in base64.

Parámetros de entrada

  • audioobjectObligatorio

    The recording to upload.

Parámetros de salida

Sin parámetros.

Verify emailEMELIA_MCP_VERIFY_EMAILAcción

Consumes credits. Verify the deliverability of an email address with Emelia's email verifier. Waits for the result. qualification is 'valid' or 'invalid'.

Parámetros de entrada

  • emailstringObligatorio

    Email address to verify

Parámetros de salida

Sin parámetros.