import_contacts | AutoEmails MCP Action
Upsert a batch of contacts (from an external CRM) into the workspace's contact_profiles and add them to an existing marketing/profile list. Resolves the list
Upsert a batch of contacts (from an external CRM) into the workspace's contact_profiles and add them to an existing marketing/profile list. Resolves the list by `list_id` OR `list_name` (auto-creates the list if `list_name` is given and no match exists). Each contact: { email (required), first_name?, last_name?, company_name?, phone?, organisation?, address?, website?, tags?: string[], custom_fields?: object }. Up to 500 contacts per call. Existing profiles are updated (non-empty fields only); duplicates in the list are skipped. Returns { list_id, list_name, added, updated, already_in_list, skipped_invalid, total }. Reversible — contacts can be removed from the list or unsubscribed in the UI. On update, `tags` and `custom_fields` are MERGED with what is already stored (never wiped). Any `custom_fields` key you push becomes a campaign merge tag automatically — e.g. custom_fields:{job_title,city,country} → {{job_title}}, {{city}}, {{country}} (fallback syntax {{city|your area}} supported). No pre-registration of variables is required.
Inputs: list_id, list_name, source, contacts, workspace_id, idempotency_key
Requires workspace write access. Review the tool's side effects before use.
About AutoEmails and Leo
AutoEmails is an AI email marketing platform built around Leo, an autonomous AI email marketing agent. Leo analyses your business, finds the right audience, writes and designs emails, launches campaigns and reports on replies, meetings, orders and revenue.
The platform covers three engines in one account: Outreach, which finds new companies or decision makers and emails them with personalised plain-text messages and follow-ups; Marketing, which sends designed HTML newsletters and campaigns to your own contacts; and Automations, which run triggered email journeys such as welcome series, abandoned cart recovery and re-engagement.
Leo can help prepare campaigns and follow-ups within the workspace’s sending controls. Bounces and complaints block the affected recipients, and manual sending holds remain available. Review campaign details and approve applicable live sends.
AutoEmails connects to Shopify, WooCommerce, WordPress, Calendly, Google Analytics, Google Search Console and custom e-commerce stores, so campaigns can be measured on real outcomes: replies and booked meetings for lead generation, and orders and revenue for e-commerce.
Pricing is capacity-based in British pounds, starting with a free plan. You can start free at autoemails.com without a credit card, let Leo scan your business and review the first campaign before anything is sent.
More from Leo actions
- AutoEmails MCP Reference | Every Agent Action — Every AutoEmails MCP tool, grouped by engine or task, with inputs and which tools require confirmation.
- import_contacts / create_segment | AutoEmails MCP Action — Import CRM contacts into a list; create segments.
- import_campaign | AutoEmails MCP Action — Create a Marketing draft campaign in the workspace from a pre-built HTML email (e.g. designed in an external CRM). Inserts directly into campaigns with status
- invite_team_member | AutoEmails MCP Action — Create a team invitation (role member or admin) and return its join link for the user to share; owner/admin only. Seat limits apply.
- get_workspace_identity | AutoEmails MCP Action — Return the workspace's default sender identity (from name, from email, reply-to), the verified sending domain(s) with DKIM/SPF/DMARC status, and the account t
- Meet Leo, Your AI Email Marketing Agent | AutoEmails — Create newsletters, find prospects and build automations with Leo, your AI email marketing agent. Your brand, your voice, your approval. Start free with AutoEmails.
- How AutoEmails Works — AI Email Marketing Agent Explained — See how the AutoEmails AI agent finds leads, writes personalised emails, launches campaigns and runs automations for you — outreach, marketing and automation in one platform.
- Pricing Plans from Free to Enterprise | AutoEmails — Transparent pricing for every stage of growth. Start free, scale as you grow. No hidden fees, no audience-based billing. Cancel anytime.