Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

migrating-from-email-providers

БесплатноБез исполняемых скриптовНе проверен

Move a team from an email API provider such as Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog: import the suppression list, unsubscribes, topics…

PostHogот PostHog★ 81 звезда на GitHub

Об этом скилле

Moving from another email provider

PostHog copies a team's data in one background import. The team then sets up DNS, reviews what the import flagged, and moves its sending one email at a time.

Call provider-imports-providers first. It lists the tools this project can import from, the steps of each, and the next steps to read out at the end. If the team's tool isn't listed, the import isn't turned on for this project, so stop and say so.

The sections below use Resend as the example. For Postmark, also read Postmark, for SendGrid, SendGrid, for Mailgun, Mailgun, and for Mailchimp, Mailchimp.

What moves

Data In PostHog What the team does
Suppression list Suppression list Reads the summary
Contacts and segments People, matched by email, and a static cohort per segment Checks the people and cohorts
Unsubscribed contacts Opted out of all marketing email Nothing
Topics and topic choices Marketing categories and opt-outs Checks topics that only send to people who opted in
Templates Library templates, keyed by alias Fixes what the notes mention, then sends a test
Automations Draft workflows Sends trigger events to PostHog, reviews, enables
Domains A list only Adds each domain and publishes new DNS records

API keys, webhooks, send history and stats stay with the old provider. The contacts step fills in what the person whose email matches each contact lacks, without changing values PostHog already has, and new_people creates a person for each contact no one matches, with the email as the ID. Resend's contact_properties copies custom contact properties the same way. Each person written counts as one billable event.

Steps

  1. Confirm the project. Read it with project-get, tell the user its name and id, and ask whether the data belongs there. If not, switch with switch-project.
  2. Check for a running import. provider-imports-list. A new start while one is active returns 409, so report on that run instead of asking for a key.
  3. Get a key. Resend has no read-only keys, so the import needs a full access key. Ask the user to create one at https://resend.com/api-keys, just for this import. Tell them PostHog only reads from their account and deletes the key when the run ends. Treat the key as a secret: don't repeat it, log it or write it to a file. They can also run the import themselves in the app under Workflows, Opt-outs, Import from another tool.
  4. Choose the steps. Take them all unless the user says otherwise. Before including new_people, tell the user how many contacts they have and that each new person counts as one event, and leave it out if they'd rather not create people. Automations also need cohort:write on a PostHog key with limited scopes, and contacts, new_people and contact_properties need cohort:write and person:write. On a refusal that names one, drop those steps or ask the user for that scope. Where image copying is turned on, the import also copies the images Mailchimp, SendGrid or Resend hosts for an email into the media library. That needs uploaded_media:write and edit access to the library, and without it the notes say which images stay behind. Postmark and Mailgun don't host images. topic_opt_outs and contact_properties read contacts one at a time, about 7,000 an hour each. On a very large list, say so and offer to skip it. The largest account an import takes, 250,000 contacts, needs about a day and a half for each of these steps, and a run can take up to four days. If a run stops early, the next import from Resend continues from where it stopped, but only with the same key, so the user keeps the key until every step has finished.
  5. Start. provider-imports-create with provider, steps and api_key.
  6. Follow it. Poll provider-imports-get every minute or so. A running step with a last_error is retrying by itself, so don't start again. Report each step's counts.
  7. Handle failure. status: failed means the key is gone too. Read last_error: a rejected key needs a new key, anything else can run again. Importing again adds what's missing and doesn't duplicate anything.
  8. Report the notes. Go through items with the user: each template and workflow with its link and notes. A link is a path i
Полный SKILL.md на GitHub

Установить migrating-from-email-providers в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл migrating-from-email-providers?

Move a team from an email API provider such as Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog: import the suppression list, unsubscribes, topics, mailing lists, templates and automations with the provider-imports tools, then walk through DNS, template review and the cutover. Use when asked to migrate, move, switch, copy or import from Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog, "switch to PostHog", or to bring suppressions, unsubscribes, email templates or the images they use from another provider. For Customer.io automations use migrating-from-customer-io.

Как установить скилл migrating-from-email-providers?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл migrating-from-email-providers запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить migrating-from-email-providers с