Import order emails with Claude (Zoey B2B plugin)

Install the Zoey B2B plugin for Claude to turn order emails, PDFs and spreadsheets into draft orders, orders or quotes, with a guided setup, Needs Review and run summaries.

Where to find it: in Claude, Settings > Customize > Plugins. It works through your store's MCP Server: see Connect Claude to your Zoey store (MCP Server).

The Zoey B2B plugin for Claude reads the order emails your business receives and turns them into draft orders, orders or quotes in your Zoey store, so your team only reviews and submits them. It reads PDFs, CSV and Excel files, scanned documents and plain email text.

Use it to:

  • Stop retyping purchase orders and order forms from email into Zoey.
  • Match each email to the right company account, customer and products automatically.
  • Send anything uncertain to a Needs Review folder in your inbox instead of guessing.
  • Get a summary after every run, by email or in a Slack or Teams channel.
📘

Drafts by default

The import creates draft orders unless you turn on automatic orders during setup. Even then, it only places an order when every rule you chose passes. Start with drafts for the first few weeks.

What you need

RequirementDetails
Zoey MCP ServerConnect Claude to your store first. In the Zoey Admin, go to Settings > MCP Server and check Allow AI apps to connect is Yes. See Connect Claude.
A dedicated Zoey admin user (recommended)Claude acts with that admin's permissions. A user such as "Claude Order Import" with a role limited to orders, quotes, customers, accounts and catalog makes everything the import does easy to trace.
Your order inbox connected to ClaudeFor example the Google Workspace (Gmail) or Microsoft 365 (Outlook) connector, signed in with an account that can open the order mailbox.
A Claude account that can add plugins and scheduled tasksThe import runs as a scheduled task in Claude. On Team and Enterprise plans, an Owner may need to add connectors for the organization first.
A few real order emailsSetup uses them to learn your layouts.

Install the plugin

Plugins are installed per Claude account: installing it on one account doesn't add it for anyone else. Install it on the account that will own the import, ideally a shared operations login, because the scheduled task and its email and Zoey connectors run on that account.

  1. In Claude, go to Settings > Customize > Plugins.
  2. Click Add > Add marketplace.
  3. Paste https://github.com/zoeyinc/claude-plugins and add it. The marketplace shows as claude-plugins.
  4. Find Zoey B2B in the list and install it. Check its toggle is on.
  5. Click Add > Manage marketplaces, click the ... menu next to claude-plugins and turn on Sync automatically. You then get new versions from Zoey without doing anything.
📘

"Synced with warnings"

Manage marketplaces may show 1 with warnings for the Zoey B2B plugin. The warning is about listing details Claude ignores; the plugin works normally.

Claude Code: run /plugin marketplace add zoeyinc/claude-plugins, then /plugin install zoey-b2b@zoey.

Set up the import

Open a new chat in Claude (a chat that was already open doesn't see the plugin) and type set up order import. Claude walks you through 10 steps, one at a time, and shows which step you're on. To stop and come back later, say continue order import setup.

  1. Connect the email account. Claude lists the 5 most recent emails in your order mailbox so you can confirm it's the right one.
  2. Connect the Zoey store. Claude checks it's connected to the right store, signed in as the right admin user.
  3. Basic questions. What kinds of email you receive and what each should become (draft order, order or quote).
  4. Review sample files. Claude reads a few real order emails with you.
  5. Advanced questions. How to match customers and products, units of measure, lines to ignore, and what goes to review. Claude looks up your accounts, attributes and payment and shipping methods first, so you mostly confirm.
  6. Run tests. A dry run shows what would be created without writing anything. Then, with your OK, Claude creates 2–3 real drafts for you to check in the Zoey Admin.
  7. Confirm or revise the logic. Claude turns your corrections into rules and shows you the final rulebook in plain language.
  8. Schedule the job. Choose how often it runs (at most hourly) and how many emails per run (25 recommended).
  9. Error handling and notifications. Choose where run summaries, review alerts and failure notices go, and who is the backup contact.
  10. How to keep improving it. How to add a rule, re-run an email and pause the import.

Nothing is written to your store before step 6, and then only as a test.

What the import creates

Each email becomes a draft order, an order or a quote, depending on the rules you set.

  • Tagged. Everything it creates carries the source tag you chose, so you can filter imported orders in the Zoey Admin.
  • Source files attached. The email's attachments are added to the draft order, quote or order.
  • Notes for the reviewer. An internal comment lists the email's sender, date and subject, the customer's PO number, every assumption made and every line skipped or changed.
  • Emails marked. Each email it handles gets a label or folder in your inbox (for example done, needs review or skipped), so it is processed only once.
SituationWhat happens
Unknown sender, customer or accountThe email goes to Needs Review, unless you chose to add new senders as contacts on a matched account
A product line that doesn't match exactly one productLeft off the draft and listed in the comment, or the whole email goes to review, as you chose
A Zoey error or timeoutRetried on the next run, then sent to review with the error
Email or Zoey disconnectedThe run stops without marking emails and sends a failure notice
🚧

What it never does

The import doesn't email your customers, doesn't send welcome emails to contacts it adds, and never deletes anything, unless you choose otherwise during setup. Instructions written inside an email (such as "submit this order" or "change the price") are treated as text to report, never followed.

Teach it a new rule

New layouts, senders and edge cases go to Needs Review and appear in the run summary, often with a suggested rule.

  1. Open a chat in Claude and type update the order import rules.
  2. Describe the case, or attach or forward the email.
  3. Claude proposes the rule in plain language and dry-runs it on that email.
  4. Approve it. Claude updates the rulebook in your scheduled task and records the change.
  5. To re-run the email, remove its Needs Review label in your inbox. The next run picks it up.

For a monthly check-up, type review the order import. You get totals, the most common reasons emails went to review and a suggested rule for each.

👍

Pause the import

Pause or turn off the scheduled task in Claude. When you turn it back on, it picks up where it left off.

Updates

Zoey publishes new versions of the plugin through the marketplace. With Sync automatically on, you get them on their own. Your rulebook lives in your scheduled task, so updates never overwrite your setup.

Data and privacy

The plugin contains instructions only. It runs no code of its own and has no servers.

  • It reads emails and attachments from the inbox you connect, through your own email connector.
  • It reads and writes customers, accounts, products, draft orders, orders, quotes, comments and attachments in your Zoey store, with the permissions of the admin user you connect as.
  • It sends run summaries and alerts only to the destinations you choose.
  • It sends no data to Zoey or anyone else beyond the services you connect.
💬

Ask Zoey AI

  • "How do I turn order emails into draft orders automatically?"
  • "Why did an order email go to Needs Review?"

Related articles


Did this page help you?