Gebruik Emelia MCP met Sokko.
Verbind Emelia MCP en vertel Sokko wat je wilt. Het voert de acties uit die je vraagt en reageert op wat er gebeurt. Geen workflows, geen code.
Werkt met 1.000+ tools · Geen code nodig
Acties
Alles wat Sokko kan doen in Emelia MCP
Elke Emelia MCP-actie die Sokko kan uitvoeren. Vraag erom in één zin en het is gebeurd.
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 campaign
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.
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 linkedin scraper webhook
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.
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.
Archive campaign
Sets the status to ARCHIVED (hidden from list_campaigns). A running campaign must be paused first (pause_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.
Check custom variable
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.
Check mailbox health
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.
Complete manual task
Mark a pending manual task as completed ('ok') or failed ('ko') for a contact in a campaign.
Connect linkedin scraper account
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.
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.
Create campaign
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.
Create custom variable
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.
Create email provider
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.
Create linkedin connect link
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`.
Create linkedin scraper
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.
Create list
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.
Create tracking domain
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.
Create webhook
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.
Delete account webhook
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.
Delete campaign
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.
Delete contact
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.
Delete email provider
Removes the mailbox from the account. This cannot be undone — confirm with the user before calling it.
Delete linkedin scraper
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.
Delete list
Permanently delete a list AND all its contacts. This cannot be undone — confirm with the user before calling it.
Delete tracking domain
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.
Delete webhook
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.
Download linkedin scraper
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.
Duplicate campaign
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.
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.
Export campaign
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.
Export list
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.
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.
Find campaigns using lists
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.
Find contact
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.
Find email
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'.
Find phone
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'.
Finish campaign
Moves a RUNNING or PAUSED campaign to FINISHED and deletes its scheduled actions and pending conditions.
Get activity message
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).
Get blacklist
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).
Get campaign
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.
Get campaign activities
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.
Get campaign progress
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.
Get campaign sequence guide
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.
Get campaign stats
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).
Get contact
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).
Get enrichment result
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.
Get linkedin connect link
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`.
Get linkedin scraper
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`.
Get list
Get a list by id: name, contact counters (leads, emails, phones, linkedins), source and status.
Get list contacts
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.
Get list export
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.
Get warmup status
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.
List account webhooks
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.
List campaign contacts
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.
List campaigns
List all campaigns of the Emelia account (multichannel: email + LinkedIn steps in one campaign), with their id, name and status.
List credit usage
History of the credits really consumed (refunds and refunded debits are not listed), newest first. `page` is one based.
List email providers
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.
List enrichment jobs
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.
List linkedin accounts
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.
List linkedin scrapers
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.
List lists
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.
List manual tasks
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.
List step contacts
Contacts that passed (`completed`) or wait at (`waiting`) a given step, newest first, 20 per page. Here `page` is ONE based.
List tracking domains
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.
List webhooks
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`.
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 contact from campaign
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.
Remove from blacklist
Removes an email address, a bare domain or a LinkedIn profile (URL or handle) from the account blacklist.
Remove linkedin scraper webhook
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 `{}`.
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.
Send campaign test email
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.
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).
Split linkedin scraper
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.
Start campaign
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.
Test account webhook
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`.
Test webhook
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.
Update campaign identities
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.
Update campaign recipients
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).
Update campaign settings
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.
Update campaign steps
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.
Update contact
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.
Update email provider
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.
Update linkedin scraper account
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).
Update sender name
Updates only the sender name of a mailbox (any type), without retesting credentials. Note: Outlook always displays the name of the Microsoft account.
Upload campaign attachments
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.
Upload linkedin voice note
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.
Verify email
Consumes credits. Verify the deliverability of an email address with Emelia's email verifier. Waits for the result. qualification is 'valid' or 'invalid'.
Maak verbinding
Voeg Emelia MCP toe aan je Slack in twee minuten.
Geen workflows om op te zetten. Zet de tools aan die je al gebruikt en je agent gaat aan de slag.
Toevoegen aan Slack
1
Voeg Sokko toe aan Slack
Eén klik vanuit de Slack-marketplace. Je hele team krijgt Sokko in één keer.
2
Verbind je tools
Sokko werkt met meer dan 1.000 apps en elke MCP-server.
Martin
9:53 AM
@Sokko
Wat kun je doen met Emelia MCP?
3
Zet Sokko aan het werk
@vermeld Sokko in elk kanaal en hij gaat aan de slag. Minuten, geen weekend.
Vragen, beantwoord.
Sokko is een AI-assistent die in je Slack leeft. Verbind je apps, vraag in gewone taal wat je nodig hebt, en Sokko neemt het werk uit handen.
Meld je aan bij Sokko, vraag Sokko om verbinding te maken met Emelia MCP en keur de verbinding goed wanneer daarom wordt gevraagd. Daarna kun je Sokko altijd vragen om dingen te doen in Emelia MCP.
Nee. Er valt niets te bouwen of in te stellen. Je vraagt het Sokko in Slack net zoals je een collega zou vragen, en Sokko doet de rest.
Ja. Vraag het één keer en vertel Sokko wanneer hij het moet herhalen, bijvoorbeeld elke maandag om 9 uur, en het wordt een routine die zonder jou draait.
Gegevens in Emelia MCP lezen en er actie op ondernemen, en workflows starten wanneer daar iets verandert. Vertel Sokko welk resultaat je wilt en het doet de rest.
Ja. Sokko verbindt met 1.000+ apps en elke MCP-server, dus je kunt in één verzoek taken vragen die Emelia MCP en de rest van je stack omvatten.