migrating-from-customer-io
하는 일
이 스킬은 에이전트가 Customer.io의 자동 메시지를 PostHog로 옮기는 과정을 안내합니다. 이메일 도구를 바꾸면서 기존 자동화를 PostHog에서 쓰고 싶은 팀을 위한 스킬입니다.
사용하는 경우
- ✓Customer.io 자동화를 PostHog로 옮기고 싶을 때.
- ✓Customer.io에서 옮기면서 메시지 흐름을 유지하고 싶을 때.
- ✓무엇이든 저장되기 전에 가져올 내용을 미리 보고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/workflows/skills/migrating-from-customer-io/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리는 Customer.io를 떠나려고 합니다. 자동화를 PostHog로 옮겨서 초안으로 검토할 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Customer.io에서 각 자동화를 읽고, 먼저 가져오기를 미리 봅니다. 그다음 자동화를 PostHog에 초안으로 저장하고, 무엇이든 켜기 전에 사용자의 입력이 필요한 부분을 안내합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Migrating from Customer.io
PostHog imports Customer.io automations as draft workflows. Drafts never send. A person reviews each one, fixes what the import could not carry over, and enables it.
You move the data between two MCP servers. Read from Customer.io's MCP (or the cio CLI), and pass what it returns unchanged to PostHog's workflows-import-customerio. PostHog does the translation, so do not rebuild workflows yourself with workflows-create.
Never move people
Pass automations, templates, sender identities and segment names only. Never fetch or pass customer profiles, segment members, deliveries or event data. The people are usually in PostHog already, and copying them is a privacy risk the user did not ask for.
Keep message content out of your context
Email templates are large, often tens of kilobytes of HTML each. When the PostHog project stored a Customer.io App API key (teams that ran the opt-out import have one), PostHog reads the message content from Customer.io itself. So pass the automation graph first, and read templates only if PostHog asks for them.
Steps
- Confirm the PostHog project. The drafts go into the PostHog MCP's active project. Read it with
project-get, tell the user its name and id, and ask whether the drafts should go there. If not, switch withswitch-projectbefore you read anything from Customer.io. - Find the environment. Ask which Customer.io workspace to migrate if there is more than one. Its id is the
environment_idin every path below. - List the automations.
GET /v1/environments/{environment_id}/campaignswith the Customer.io read tool (cio_read_apion the MCP,cio apion the CLI). It returns 20 per page throughpage(0-based): read every page until one returns fewer than 20. Show the user the list with each automation's state, and ask which to move. Running automations are the usual answer; skip archived ones unless asked. - Read each automation.
GET /v1/environments/{environment_id}/campaigns/{campaign_id}. Keep the response'scampaignobject and its top-levelactionsarray.campaign.actionsdoes not exist. - Read senders and segments.
GET /v1/environments/{environment_id}/identities?type=emailforsender_identities(id,email,name), and the segment list forsegments(id,name,typeonly). PostHog matches each email to the PostHog sender with the same address, and names the segments in its notes. - Preview without templates. Call
workflows-import-customeriowithsource: "customerio",dry_run: true,campaigns: [{campaign, actions}],sender_identitiesandsegments. Up to 50 automations per call. - Read templates only if needed. Go by each automation's notes, not by
content_fetchedalone:trueonly means PostHog read some content, and one automation can still miss its messages. For every automation whose notes say message content was not part of the import, or that PostHog could not read its messages, read the template of every action that has atemplate_idwithGET /v1/environments/{environment_id}/templates/{template_id}, keep thetemplateobject, and preview again withcampaigns: [{campaign, actions, templates}]. Read templates one at a time: listing every template in the workspace times out on large ones. Tell the user that Import from Customer.io on the Workflows Opt-outs tab stores their App API key, which skips this step next time. - Collect snippets and layouts. If a note names a Customer.io snippet, or a template body you read contains
{{ snippets.name }}, read the workspace snippets and pass them assnippets({name: content}). When PostHog read the content itself, it read the snippets too, and a note names any it could not find. If a note names a layout, readGET /v1/environments/{environment_id}/layouts/{layout_id}and pass itsbodyaslayouts({layout_id: body}). - Report the preview. For each automation, give its status and its notes, grouped by level (see below). Ask before importing anything with status
failed; itsvalidation_errorssay why the draft would be rejected. - Import. Call again with
dry_run: falseand the same arguments. Share each draft's link (/workflows/{workflow_id}) and theneeds_inputnotes again, since the team must handle those before enabling.
When you are unsure of an endpoint's parameters, ask for that one endpoint's schema (cio_schema with resource.method). A whole res
자주 묻는 질문
고객 프로필이 복사되나요?
아니요. 자동화, 템플릿, 발신자 정보, 세그먼트 이름만 옮기며, 사람이나 그들의 이벤트 데이터는 옮기지 않습니다.
가져온 워크플로가 바로 메시지를 보내나요?
아니요. 초안으로 도착하며, 사람이 각 워크플로를 검토하고 켜야 합니다.
초안은 어떤 PostHog 프로젝트로 가나요?
에이전트는 먼저 활성 PostHog 프로젝트를 사용자와 확인하므로, 초안이 올바른 곳에 들어갑니다.
상세 정보
작성자의 원본 설명
Move Customer.io automations into PostHog as draft workflows. Read each automation with the Customer.io MCP or CLI, preview the import with workflows-import-customerio (dry_run), then import and walk the user through what needs their input. Use when asked to migrate, move, switch, copy or import from Customer.io (customer.io, CIO) to PostHog workflows, including "migrate everything to PostHog".
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6982
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.