概要
AI から Customer.io を操作できます。顧客の属性、セグメント、アクティビティ、メッセージの確認、オートメーション、ブロードキャスト、単発配信とその指標の分析に加え、あなたの確認後にトランザクションメールの送信やブロードキャストの実行もできます。
ガイド付きセットアップ
Customer.io を Microsoft Copilot に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで Customer.io を接続して、MCP URL を Microsoft Copilot に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
こう聞いてみよう
Customer.io のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Customer.io をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Customer.io + Microsoft Copilot
AI から Customer.io を操作できます。顧客の属性、セグメント、アクティビティ、メッセージの確認、オートメーション、ブロードキャスト、単発配信とその指標の分析に加え、あなたの確認後にトランザクションメールの送信やブロードキャストの実行もできます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
CUSTOMERIO_API_URL, CUSTOMERIO_APP_API_KEY
ステップ 1 — 認証情報を取得
設定は 3 分ほどで終わります。App API キーを作成できる Customer.io ユーザーと、アカウントが米国と EU のどちらでホストされているかの情報が必要です。
- Customer.io で Settings → Account Settings → API Credentials → App API Keys(fly.customer.io/settings/api_credentials)を開き、Create App API Key をクリックします。ワークスペースとキーの権限を選びます。フルアクセスか、AI に読み取りと送信だけを許すなら読み取り専用と送信の組み合わせです。
- キーはすぐにコピーしてください。Customer.io は一度しか表示しません。表示されたまま、Bearer を付けずに
CUSTOMERIO_APP_API_KEYに貼り付けます。これは App API キーで、Track API キーではありません。 CUSTOMERIO_API_URLにアカウントのデータセンターを設定します。米国のアカウントはhttps://api.customer.io、EU のアカウントはhttps://api-eu.customer.ioで、/v1などのパスは付けません。リージョンはアカウント作成時に決まります。- コネクタをインストールし、まず
customer_io_list_workspacesを実行します。キーを確認し、ワークスペースの顧客数とメッセージ数を表示します。
ワークスペース全体で 1 つのキー: App API キーは個人ではなくワークスペースとして動作します。このコネクタを使う人は、キーが読めるすべての顧客、セグメント、メッセージを見られます。MCP サーバーは、それを見てよい人とだけ共有してください。
対応範囲: 顧客(メールアドレスで検索、またはセグメントの所属や属性値で検索)、その属性、セグメント、直近 30 日のアクティビティ、送信済みメッセージ。セグメントの条件、現在の人数、メンバー。オートメーション(Customer.io の API では campaigns と呼ばれます)とメッセージ指標。API で実行するブロードキャストと単発配信(API では newsletters)とその指標。ワークスペース全体の配信とアクティビティ。トランザクションメッセージのテンプレート。
送信はあなたの承認後: 送信するツールは 2 つだけで、他はすべて読み取り専用です。
customer_io_send_transactional_emailは実際のメール(領収書、パスワードリセット、通知)を to、cc、bcc 合わせて最大 15 件のアドレスに送ります。トランザクションテンプレートを使うか、件名と本文を自分で指定します。AI は先に宛先、件名、内容を見せます。customer_io_trigger_broadcastは多くの人に一度に送信します。AI はまずブロードキャスト、配信対象の人数(customer_io_get_segment_customer_count)、データを示し、「yes, send」とはっきり答えた後にだけ実行します。その後customer_io_get_broadcast_triggerで進行状況を追います。
Track API は含まれません: 顧客の識別、イベントの記録、顧客の削除は Customer.io の Track API で行い、別の認証情報(Site ID と Track API キー)を使います。このコネクタは Track API を使わないため、プロフィールの変更や削除はできません。
制限: App API は 1 秒あたり約 10 リクエストまでです。トランザクション送信は 3 秒あたり 3,000 リクエストの目安の上限を共有し、ブロードキャストの実行は 10 秒に 1 回までです。長いリストはページ単位で返り、AI は最後のページまで読み進めます。タイムスタンプは Unix 秒です。
よくあるエラー: 401 は App API キーが間違っているか削除された、またはアカウントが別のリージョンにあることを示します。CUSTOMERIO_API_URL を確認してください。403: キーの権限にこの操作が含まれていません(例: 読み取り専用キーで送信しようとした)。404: その ID はこのワークスペースにありません。400 または 422: パラメータか検索フィルターが無効です。エラーに該当箇所が示されます。429: レート制限に達しました。少し待って再試行してください。
このコネクタは Track API や Pipelines API を使わず、エクスポートやインポート、collections、snippets、レポート用 Webhook、ESP の抑制リストを扱わず、オートメーションやブロードキャストの内容も変更しません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Microsoft Copilot にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Microsoft Copilot は、Copilot Studio で作成したエージェントを通じて MCP サーバーを使います。AnythingMCP をツールとしてエージェントに追加し、そのエージェントを Microsoft 365 Copilot と Teams に公開します。Copilot Studio は Microsoft のクラウドから Streamable HTTP で接続し、AnythingMCP はこれに対応しています。
- Copilot Studio でエージェントを開き(または新規作成し)、Tools で Add a tool → New tool → Model Context Protocol を選びます。
- Server name(例:
AnythingMCP)、コネクタでできることを説明する Server description、Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力します。Copilot Studio はこの説明をもとに、いつサーバーを呼び出すかを判断します。 - 認証で API key を選び、Type を Header、ヘッダー名を
X-API-Keyにして Create を選びます。 - Add tool で Create a new connection を選び、AnythingMCP の MCP API キー(MCP Servers → 対象のサーバー → API keys)を貼り付けて Add to agent を選びます。
- エージェントの Test ウィンドウで試します。
Customer.ioのツールが必要になる依頼をしてみましょう。 - Publish を選び、Channels → Microsoft 365 and Microsoft Teams で Make agent available in Microsoft Copilot を選択したまま Add channel を選びます。See agent in Teams で自分用にインストールされます。Microsoft 365 Copilot では @ を入力してエージェントを選びます。
ユーザーごとにサインインさせたい場合は、API キーの代わりに OAuth 2.0 → Dynamic discovery を選びます。各ユーザーは、エージェントが初めて呼び出すときに AnythingMCP にサインインします。
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Copilot Studio は Microsoft のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
customer_io_list_workspaces | List the workspaces of the Customer.io account with their id, name and counts of people, objects and messages sent in the billing period… |
customer_io_find_customers_by_email | Find the people in the workspace with an email address: returns their id, email and cio_id |
customer_io_search_customers | Search people in the workspace with a filter on segment membership and attribute values, up to 1000 per page; returns their identifiers… |
customer_io_get_customer_attributes | Get a person's profile: all attributes (stored as strings), identifiers, subscription preferences, timestamps and devices |
customer_io_get_customer_segments | List the segments a person currently belongs to (id, name, description) |
customer_io_list_customer_activities | List what happened to a person in the last 30 days or more: events, attribute changes, messages attempted, sent, opened, clicked, bounced… |
customer_io_list_customer_messages | List the deliveries sent to a person (newest six months unless start_ts and end_ts are given): message id, automation, broadcast or… |
customer_io_list_campaigns | List the automations (campaigns) of the workspace: id, name, type of trigger, state, active flag, created and updated times, trigger and… |
customer_io_get_campaign | Get one automation (campaign) with its trigger, segments, state, tags and actions (messages, delays, branches) |
customer_io_get_campaign_metrics | Get an automation's message metrics over a window: series of attempted, sent, delivered, opened, clicked, converted, bounced, spammed… |
customer_io_list_broadcasts | List the API-triggered broadcasts of the workspace: id, name, active flag, created and updated times, tags and actions |
customer_io_get_broadcast | Get one API-triggered broadcast: name, state, active flag, created, updated and first started times, tags and actions |
customer_io_get_broadcast_metrics | Get a broadcast's message metrics per period: series of attempted, sent, delivered, opened, clicked, converted, bounced, unsubscribed… |
customer_io_get_broadcast_trigger | Get the status of one broadcast trigger (as returned by customer_io_trigger_broadcast): created, processed and cancelled times, schedule… |
customer_io_list_newsletters | List the one-time sends (newsletters) of the workspace: id, name, type, sent and created times, recipient segments, tags and variant… |
customer_io_get_newsletter_metrics | Get a one-time send's message metrics per period: series of attempted, sent, delivered, opened, clicked, converted, bounced, unsubscribed… |
customer_io_list_segments | List the segments of the workspace (not archived ones): id, name, description, type (data-driven or manual), state, progress and tags |
customer_io_get_segment | Get one segment with its conditions (for data-driven segments), type, state and tags |
customer_io_get_segment_customer_count | Count the people currently in a segment, for example to size a broadcast audience before sending |
customer_io_list_segment_members | List the people in a segment, page by page: their identifiers (id, email, cio_id) |
customer_io_list_messages | List deliveries across the workspace, newest first, filtered by message type, metric (sent, delivered, opened, clicked, bounced… |
customer_io_get_message | Get one delivery by id: recipient, parent automation, broadcast, one-time send or transactional message, subject, template, created, sent… |
customer_io_list_activities | List activities across the workspace, newest first: events, attribute changes and message activity, optionally for one person, one type or… |
customer_io_list_transactional_messages | List the transactional message templates of the workspace (id, name, description, link tracking, body retention) |
customer_io_send_transactional_email | Send one transactional email (receipts, password resets, notifications) to up to 15 addresses in to, cc and bcc, from a transactional… |
customer_io_trigger_broadcast | Trigger an API-triggered broadcast: send it to its default audience set in Customer.io, or to listed emails or ids, per-person data, or… |
プロンプトの例
- 「Customer.io で [email protected] を探して、属性、所属セグメント、最近送ったメールを見せて。」
- 「Onboarding オートメーションの直近 30 日の成果は?送信、配信、開封、クリック、配信停止の数を教えて。」
- 「Trial ending セグメントには今何人いる?そのうち pro プランの人は誰?」
- 「Product update ブロードキャストを実行して。ただし送信前に、誰に届くのか、何人なのかを見せて。」
FAQ
どの Copilot が対象ですか? 職場で使う Microsoft 365 Copilot で、Copilot Studio のエージェントを通じて利用します。個人アカウント向けの Microsoft Copilot アプリでは、独自の MCP サーバーを追加できません。
何が必要ですか? エージェントを作成するために、Copilot Studio を利用できる職場アカウント(ライセンスまたは試用版)が必要です。Microsoft 365 Copilot や Teams でエージェントを使う人には、エージェントへのアクセス権が必要です。共有するか、管理者に組織向けに公開してもらってください。組織が Power Platform コネクタにデータ ポリシーを適用している場合は、MCP サーバーにも適用されます。
エージェントがツールを呼び出しません。 ヘッダー名が正確に X-API-Key であること、キーが URL と同じ MCP サーバーのものであることを確認し、Server description を具体的に書いてください。Copilot Studio はこの説明をもとにサーバーを呼び出すかどうかを判断します。変更のたびにエージェントを再公開し、開いているチャットでは "start over" と入力すると新しいバージョンになります。
次のステップ
このガイドは役に立ちましたか?