{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Klaviyo Export Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"klaviyo-export-integration","__idx":0},"children":["Klaviyo Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Klaviyoは、eコマース企業向けのEメールマーケティングオートメーションに焦点を当てたデジタルマーケティングプラットフォームです。Klaviyoはeコマース向けのSMSおよびEメールマーケティングオートメーションプラットフォームを提供しています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このインテグレーションとTDを使用すると、"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Klaviyoメンバーリストにプロファイルを追加できます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Klaviyoメンバーリストからプロファイルを削除できます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["プロファイルをEメールマーケティング、Eメール&SMSマーケティング、またはSMSマーケティング&トランザクショナルに登録できます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["プロファイルの過去の登録ステータスをインポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["プロファイルをEメールマーケティング、Eメール&SMSマーケティング、またはSMSマーケティング&トランザクショナルから登録解除できます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/quickstart"},"children":["TD Toolbelt"]},"を含むTreasure Dataの基本的な知識。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Private APIアクセストークンを持つKlaviyoアカウント。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api情報","__idx":2},"children":["API情報"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataは以下を使用します："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.klaviyo.com/en/reference/campaigns_api_overview"},"children":["Campaigns API"]},"：KlaviyoにEメールメッセージの送信を指示します。このAPIのリクエストボディに関するドキュメントは、Klaviyoでのメールテンプレートの設定に非常に役立ちます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.klaviyo.com/en/reference/profiles_api_overview"},"children":["Profiles API"]},"：プロファイルの登録/登録解除リクエストをKlaviyoに送信します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"要件と制限事項","__idx":3},"children":["要件と制限事項"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「Remove Profiles」操作を実行するには、クエリでデータ型がstringのprofile_id列(大文字小文字を区別)を指定する必要があります。クエリでこの列を指定しない場合、エラーが返され、ジョブは失敗します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「Add Profiles」操作を実行するには、クエリでデータ型がstringのemail列(大文字小文字を区別)を指定する必要があります。クエリでこの列を指定しない場合、エラーが返され、ジョブは失敗します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「Batch Consent」操作を実行するには、選択した登録タイプに応じて、クエリでemailまたはphone number列を指定する必要があります。必要な列をクエリで指定しない場合、エラーが返され、ジョブは失敗します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["SMSコンセントを同期する前に、対象のKlaviyoアカウントが受信者の国に対してプロビジョニングされた送信番号を持っていることを確認してください。Klaviyoは、送信番号がアクティブでない地域の電話番号に対するSMS登録を処理しません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリでphone_number列(大文字小文字を区別)を指定する場合、このフィールドのデータは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://help.klaviyo.com/hc/en-us/articles/360046055671-Accepted-Phone-Number-Formats-for-SMS-in-Klaviyo"},"children":["Accepted phone number formats for SMS in Klaviyo"]},"に従う必要があります。そうでない場合、エラーが返され、ジョブは失敗します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"klaviyo-consoleからprivate-apiアクセストークンを取得","__idx":4},"children":["Klaviyo ConsoleからPrivate APIアクセストークンを取得"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.klaviyo.com/login"},"children":["Klaviyo Dashboard"]},"にログインします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Settingsタブで",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Private API Key"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Private API keyをコピーして、安全な場所に保存します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-9-2_19-8-32.3c940e83c69573c651a7da50d75f3d29c1cea78773d0919014671f5cce866889.9d563c94.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"klaviyo-consoleからリスト名またはリストidを取得","__idx":5},"children":["Klaviyo Consoleからリスト名またはリストIDを取得"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.klaviyo.com/login"},"children":["Klaviyo Dashboard"]},"にログインします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ダッシュボードの左側で",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lists & Segments"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Lists & Segmentsページから、リスト名のリンクを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["リスト表示ページのURLからlist_idをコピーして、安全な場所に保存します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールを使用してコネクションを作成","__idx":6},"children":["Treasure コンソールを使用してコネクションを作成"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しいコネクションを作成","__idx":7},"children":["新しいコネクションを作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataでは、クエリを実行する前にデータコネクションを作成して設定する必要があります。データコネクションの一部として、インテグレーションにアクセスするための認証情報を提供します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Klaviyoを検索し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Klaviyo Output Beta"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/klaviyo_out.0f1f332e2fc85584bcb180c9fa57797ba9cf1d0a8c104ef10e5135ca3b4a15f9.9d563c94.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["KlaviyoのPrivate API keyを入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-9-2_19-14-14.07bfc65e3d181f1ab49f3dbe1216044dced2a2b71f29e03d716a3f93f0f71541.9d563c94.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["コネクションの名前を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリを定義","__idx":8},"children":["クエリを定義"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["「Add Profiles」操作を実行するには、クエリでデータ型がstringのemail列(大文字小文字を区別)を指定する必要があります。クエリでこの列を指定しない場合、エラーが返され、ジョブは失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["「Remove Profiles」操作を実行するには、クエリでデータ型がstringのprofile_id列(大文字小文字を区別)を指定する必要があります。クエリでこの列を指定しない場合、エラーが返され、ジョブは失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["「Subscribe/Unsubscribe Profiles」操作を実行するには、選択した登録タイプに応じて、クエリでemailまたはphone number列を指定する必要があります。必要な列をクエリで指定しない場合、エラーが返され、ジョブは失敗します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/creating-a-destination-integration"},"children":["Creating a Destination Integration"]},"の手順を完了します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Workbench > Queriesに移動します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをエクスポートするクエリを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリを実行して結果セットを検証します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Export Resultsを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use Existing Integration"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-9-2_19-23-5.c6b3eb8e8b76d7851851789359e57bca513b4d9131d3ba63d22498b710a4242e.9d563c94.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["追加のExport Resultsの詳細を定義します。エクスポートインテグレーションのコンテンツで、インテグレーションパラメータを確認します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2024-04-10-at-11.12.26.b5eae7fa5e71597f36ea8a08fe276329846e8678c14ec021c4260e197779ad5e.9d563c94.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリを実行します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定した宛先にデータが移動したことを検証します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Klaviyoのインテグレーションパラメータ"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"値"},"children":["値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data operation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- Add profiles ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Remove profiles ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Batch Consent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- Klaviyoリストにプロファイルを追加または削除します。remove profiles操作にはKlaviyoのprofile_idが必要です。削除後、プロファイルはこの特定のリストからマーケティングメールを受信しなくなります。",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- Batch Consentは特定のリストへのプロファイルの登録/登録解除に使用されます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add to"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- List ID ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- List Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Klaviyoリストを識別するために使用されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List ID or List Name value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- List ID または List Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プロファイルが追加されるリストIDまたはリスト名。「Add to」パラメータがList Nameに設定されており、ここで指定された名前がKlaviyoに存在しない場合、これらの値を持つ新しいリストが作成されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Subscription Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- \"All - Marketing Only\" ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- \"Email - Marketing Only\" ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- \"SMS - Marketing Only\" ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"- \"SMS - Marketing + Transactional\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チャンネル + 登録タイプを選択します。Data OperationsがBatch Consentの場合に必要です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip Invalid Records"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["True/False"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックを入れると、実行が継続され、無効なレコードはスキップされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Stop on Batch Failure"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["True/False"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックを入れると、バッチ失敗時に実行が即座に停止されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Wait Until The Operation Is Finished?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["True/False"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックを入れると、Treasure コンソールはKlaviyo側で操作が完了するまで待機してから続行します。チェックを外すと、Treasure コンソールはタスクをKlaviyoに送信して先に進みます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The waiting time for operation completion"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最小: 300000 ms (5分) 最大: 86400000 ms (1日)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure コンソールが操作の完了を待機する時間(ミリ秒)。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クエリ例","__idx":9},"children":["クエリ例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このクエリにはemail列を含める必要があります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT email, col_a, col_b, col_c\nFROM your_table;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このクエリにはprofile_id列が必要です。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT profile_id FROM your_table;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このクエリはBatch Consent操作用です。登録タイプに応じてemail列またはphone_number列が必要です。過去の登録にはconsent_atが必要です。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT profile_id, email, phone_number, birth_day, consent_at\nFROM (\n  values ('profile id', 'example1@email.com', '+234243241', '2010-08-15', '2010-08-15T01:05:20'),\n         ('profile id', 'example2@email.com', '+234243242', '2010-01-15', '2010-08-15T01:05:20')\n) tbl (profile_id, email, phone_number, birth_day, consent_at)\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-query-export-ジョブをスケジュールする","__idx":10},"children":["(オプション) Query Export ジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scheduled Jobs と Result Export を使用して、指定したターゲット宛先に出力結果を定期的に書き込むことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data のスケジューラー機能は、高可用性を実現するために定期的なクエリ実行をサポートしています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2 つの仕様が競合するスケジュール仕様を提供する場合、より頻繁に実行するよう要求する仕様が優先され、もう一方のスケジュール仕様は無視されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例えば、cron スケジュールが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * 1'"]}," の場合、「月の日」の仕様と「週の曜日」が矛盾します。前者の仕様は毎月 1 日の午前 0 時 (00:00) に実行することを要求し、後者の仕様は毎週月曜日の午前 0 時 (00:00) に実行することを要求するためです。後者の仕様が優先されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"treasure-コンソール-を使用してジョブをスケジュールする","__idx":11},"children":["Treasure コンソール を使用してジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench > Queries"]}," に移動します"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいクエリを作成するか、既存のクエリを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の横にある None を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-28-51.f1b242f6ecc7666a0097fdf37edd1682786ec11ef80eff68c66f091bc405c371.0f87d8d4.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドロップダウンで、次のスケジュールオプションのいずれかを選択します:"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-29-47.45289a1c99256f125f4d887e501e204ed61f02223fde0927af5f425a89ace0c0.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"ドロップダウン値"},"children":["ドロップダウン値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom cron..."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#custom-cron-details"},"children":["Custom cron... の詳細"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@daily (midnight)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["指定されたタイムゾーンで 1 日 1 回午前 0 時 (00:00 am) に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@hourly (:00)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎時 00 分に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールなし。"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"custom-cron-の詳細","__idx":12},"children":["Custom cron... の詳細"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-30-23.0f94a8aa5f75ea03e3fec0c25b0640cd59ee48d1804a83701e5f2372deae466c.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cron 値"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 * * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 時間に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 日 1 回午前 0 時に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1 * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールされた実行時刻のないジョブを作成します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":" *    *    *    *    *\n -    -    -    -    -\n |    |    |    |    |\n |    |    |    |    +----- day of week (0 - 6) (Sunday=0)\n |    |    |    +---------- month (1 - 12)\n |    |    +--------------- day of month (1 - 31)\n |    +-------------------- hour (0 - 23)\n +------------------------- min (0 - 59)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の名前付きエントリを使用できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Day of Week: sun, mon, tue, wed, thu, fri, sat."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Month: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各フィールド間には単一のスペースが必要です。各フィールドの値は、次のもので構成できます:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"fixed-table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"フィールド値"},"children":["フィールド値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"例"},"children":["例 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"45%","data-label":"例の説明"},"children":["例の説明 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各フィールドに対して上記で表示された制限内の単一の値。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["フィールドに基づく制限がないことを示すワイルドカード"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]},"。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["範囲 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2-5'"]}," ","フィールドの許可される値の範囲を示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1-10 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日から 10 日までの午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマ区切りの値のリスト ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,3,4,5'"]}," ","フィールドの許可される値のリストを示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1,11,21 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、11 日、21 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["周期性インジケータ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*/5'"]}," ","フィールドの有効な値の範囲に基づいて、"," ","スケジュールが実行を許可される頻度を表現します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'30 */2 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、00:30 から 2 時間ごとに実行するようにスケジュールを設定します。"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 */5 * *'"]}," は、毎月 5 日から 5 日ごとに午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," ","ワイルドカードを除く上記の"," ","いずれかのカンマ区切りリストもサポートされています"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,*/5,8-10'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 5,*/10,25 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 5 日、10 日、20 日、25 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリを実行する","__idx":13},"children":["クエリを実行する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに名前を付けて保存して実行するか、単にクエリを実行します。クエリが正常に完了すると、クエリ結果は指定された宛先に自動的にエクスポートされます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定エラーにより継続的に失敗するスケジュールジョブは、複数回通知された後、システム側で無効化される場合があります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ワークフローでのエクスポート結果の設定オプション","__idx":14},"children":["ワークフローでのエクスポート結果の設定（オプション）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure ワークフローでは、このデータコネクタを使用してデータをエクスポートするよう指定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/api#workflow-commands"},"children":["TD Toolbeltを使用してワークフローでデータをエクスポートする方法"]},"の詳細をご覧ください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リストidでプロファイルを追加するワークフローの例","__idx":15},"children":["リストIDでプロファイルを追加するワークフローの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: klaviyo_db\n\n+klaviyo_export_task:\n  td>: export_data.sql\n  database: ${td.database}\n  result_connection: new_created_klaviyo_auth\n  result_settings:\n    type: klaviyo\n    api_token: api_token\n    operation: add\n    list_identify_type: id\n    list_value: id_value\n    wait_for_completion: true\n    waiting_time_for_completion_millis: 3600000\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リスト名でプロファイルを追加するワークフローの例","__idx":16},"children":["リスト名でプロファイルを追加するワークフローの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: klaviyo_db\n\n+klaviyo_export_task:\n  td>: export_data.sql\n  database: ${td.database}\n  result_connection: new_created_klaviyo_auth\n  result_settings:\n    type: klaviyo\n    api_token: api_token\n    operation: add\n    list_identify_type: name\n    list_value: name_value\n    wait_for_completion: true\n    waiting_time_for_completion_millis: 3600000\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リストidでプロファイルを削除するワークフローの例","__idx":17},"children":["リストIDでプロファイルを削除するワークフローの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: klaviyo_db\n\n+klaviyo_export_task:\n  td>: export_data.sql\n  database: ${td.database}\n  result_connection: new_created_klaviyo_auth\n  result_settings:\n    type: klaviyo\n    api_token: api_token\n    operation: remove_profiles\n    list_identify_type: id\n    list_value: id_value\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リスト名でプロファイルを削除するワークフローの例","__idx":18},"children":["リスト名でプロファイルを削除するワークフローの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: klaviyo_db\n\n+klaviyo_export_task:\n  td>: export_data.sql\n  database: ${td.database}\n  result_connection: new_created_klaviyo_auth\n  result_settings:\n    type: klaviyo\n    api_token: api_token\n    operation: remove_profiles\n    list_identify_type: name\n    list_value: name_value\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リスト名でプロファイルを登録するワークフローの例","__idx":19},"children":["リスト名でプロファイルを登録するワークフローの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: klaviyo_db\n\n+klaviyo_export_task:\n  td>: export_data.sql\n  database: ${td.database}\n  result_connection: new_created_klaviyo_auth\n  result_settings:\n    type: klaviyo\n    api_token: api_token\n    operation: batch_consent\n    list_identify_type: name\n    list_value: name_value\n    consent_type: subscribed\n    subscription_type: all_marketing\n    historical_consent: false\n    skip_invalid_records: true\n    stop_on_batch_failure: false\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リストidでプロファイルを登録解除するワークフローの例","__idx":20},"children":["リストIDでプロファイルを登録解除するワークフローの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: klaviyo_db\n+klaviyo_export_task:\n  td>: export_data.sql\n  database: ${td.database}\n  result_connection: new_created_klaviyo_auth\n  result_settings:\n    type: klaviyo\n    api_token: api_token\n    operation: batch_consent\n    list_identify_type: id\n    list_value: id_value\n    consent_type: unsubscribed\n    subscription_type: email_marketing_only\n    skip_invalid_records: true\n    stop_on_batch_failure: false\n","lang":"yaml"},"children":[]}]},"headings":[{"value":"Klaviyo Export Integration","id":"klaviyo-export-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"API情報","id":"api情報","depth":2},{"value":"要件と制限事項","id":"要件と制限事項","depth":2},{"value":"Klaviyo ConsoleからPrivate APIアクセストークンを取得","id":"klaviyo-consoleからprivate-apiアクセストークンを取得","depth":2},{"value":"Klaviyo Consoleからリスト名またはリストIDを取得","id":"klaviyo-consoleからリスト名またはリストidを取得","depth":2},{"value":"Treasure コンソールを使用してコネクションを作成","id":"treasure-コンソールを使用してコネクションを作成","depth":2},{"value":"新しいコネクションを作成","id":"新しいコネクションを作成","depth":3},{"value":"クエリを定義","id":"クエリを定義","depth":3},{"value":"クエリ例","id":"クエリ例","depth":2},{"value":"(オプション) Query Export ジョブをスケジュールする","id":"オプション-query-export-ジョブをスケジュールする","depth":3},{"value":"Treasure コンソール を使用してジョブをスケジュールする","id":"treasure-コンソール-を使用してジョブをスケジュールする","depth":4},{"value":"Custom cron... の詳細","id":"custom-cron-の詳細","depth":4},{"value":"クエリを実行する","id":"クエリを実行する","depth":3},{"value":"ワークフローでのエクスポート結果の設定（オプション）","id":"ワークフローでのエクスポート結果の設定オプション","depth":2},{"value":"リストIDでプロファイルを追加するワークフローの例","id":"リストidでプロファイルを追加するワークフローの例","depth":3},{"value":"リスト名でプロファイルを追加するワークフローの例","id":"リスト名でプロファイルを追加するワークフローの例","depth":3},{"value":"リストIDでプロファイルを削除するワークフローの例","id":"リストidでプロファイルを削除するワークフローの例","depth":3},{"value":"リスト名でプロファイルを削除するワークフローの例","id":"リスト名でプロファイルを削除するワークフローの例","depth":3},{"value":"リスト名でプロファイルを登録するワークフローの例","id":"リスト名でプロファイルを登録するワークフローの例","depth":3},{"value":"リストIDでプロファイルを登録解除するワークフローの例","id":"リストidでプロファイルを登録解除するワークフローの例","depth":3}],"frontmatter":{"seo":{"title":"Klaviyo Export Integration"}},"lastModified":"2026-06-01T09:47:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/klaviyo-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}