{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Incremental Activationスタンドアロンワークフロー","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":"incremental-activationスタンドアロンワークフロー","__idx":0},"children":["Incremental Activationスタンドアロンワークフロー"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Incremental Activationはベータ版リリースです。詳細については、カスタマーサクセス担当者にお問い合わせください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このページでは、Audience Studioを使用せずにスタンドアロンワークフローとしてIncremental Activationを使用する方法を説明します。これにより、スケジュールベースで任意のTDテーブルから直接差分エクスポートを実行できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"概要","__idx":1},"children":["概要"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スタンドアロンワークフローとしてIncremental Activationを実行する場合、次のことができます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["任意のTDテーブルから差分の変更をエクスポート(セグメントデータだけでなく)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["送信先への定期的な差分エクスポートをスケジュール"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience StudioのActivationフレームワーク外でデータを処理"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["主な違い"]},": すべてのパラメータは、Audience Studioによって自動的に設定されないため、ワークフローで明示的に設定する必要があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"必須の追加パラメータ","__idx":2},"children":["必須の追加パラメータ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"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":"th","attributes":{"data-label":"例"},"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":["activation_actions_db"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ソースTDデータベース"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"my_database\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_table"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ソーステーブル名"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"customer_profiles\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクタ認証名"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"my_snowflake_connection\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection_settings"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクタ設定オブジェクト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["以下の例を参照"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"スタンドアロンワークフローテンプレート","__idx":3},"children":["スタンドアロンワークフローテンプレート"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"timezone: \"UTC\"\n_export:\n  params:\n    # API endpoint - change based on your TD site\n    api_endpoint: \"https://integrations-gateway.us01.treasuredata.com\"\n\n    # Unique identifier column\n    id_key: \"customer_id\"\n\n    # Columns to check for changes\n    delta_keys: [\"email\", \"status\", \"tier\"]\n\n    # Delta mappings\n    activation_mappings: [\n      {\n        \"delta_status\": \"new\",\n        \"connector_field\": \"mode\",\n        \"connector_field_value\": \"append\"\n      },\n      {\n        \"delta_status\": \"updated\",\n        \"connector_field\": \"mode\",\n        \"connector_field_value\": \"append\"\n      }\n    ]\n\n    # REQUIRED: Standalone mode parameters\n    activation_actions_db: \"my_database\"\n    activation_actions_table: \"customer_profiles\"\n    result_connection_name: \"my_snowflake_connection\"\n    result_connection_settings:\n      type: \"snowflake\"\n      database: \"MARKETING_DB\"\n      schema: \"PUBLIC\"\n      table: \"CUSTOMER_SEGMENTS\"\n      mode: \"append\"\n\n# Fetch and execute incremental activation workflow\n+fetch_incremental_activation_wf:\n  http_call>: \"${params.api_endpoint}/integration_workflow/workflows/incremental_activation/fetch\"\n  method: POST\n  headers:\n    - Authorization: ${secret:td.apikey}\n    - Content-Type: \"application/json\"\n  content_type_override: application/x-yaml\n  content: |\n    {\n      \"database\": \"${params.activation_actions_db}\",\n      \"source_table\": \"${params.activation_actions_table}\",\n      \"id_key\": \"${params.id_key}\",\n      \"delta_keys\": ${JSON.stringify(params.delta_keys)},\n      \"activation_mappings\": ${JSON.stringify(params.activation_mappings)},\n      \"result_connection_settings\": ${JSON.stringify(params.result_connection_settings)},\n      \"result_connection_name\": \"${params.result_connection_name}\"\n    }\n  retry: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"コネクタ設定例","__idx":4},"children":["コネクタ設定例"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"snowflake","__idx":5},"children":["Snowflake"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"result_connection_settings:\n  type: \"snowflake\"\n  database: \"MARKETING_DB\"\n  schema: \"PUBLIC\"\n  table: \"CUSTOMER_SEGMENTS\"\n  mode: \"append\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mysql","__idx":6},"children":["MySQL"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"result_connection_settings:\n  type: \"mysql\"\n  database: \"marketing\"\n  table: \"customer_segments\"\n  mode: \"append\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"postgresql","__idx":7},"children":["PostgreSQL"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"result_connection_settings:\n  type: \"postgresql\"\n  database: \"marketing\"\n  schema: \"public\"\n  table: \"customer_segments\"\n  mode: \"append\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"google-sheets","__idx":8},"children":["Google Sheets"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"result_connection_settings:\n  type: \"google_sheets\"\n  spreadsheet_id: \"1ABC...xyz\"\n  sheet_name: \"Customer List\"\n  mode: \"replace\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"セットアップ手順","__idx":9},"children":["セットアップ手順"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TD Data Workbench > Workflowsで新しいユーザー定義ワークフローを作成"]},"します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["上記のスタンドアロンテンプレートをコピー&ペースト"]},"します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["すべての必須パラメータを設定"]},"します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["TDサイトに合わせて",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_endpoint"]},"を設定"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一意の識別子カラムに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]},"を設定"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["追跡したいカラムに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]},"を設定"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_db"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_table"]},"を設定"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["送信先に合わせて",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection_settings"]},"を設定"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["認証に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection_name"]},"を設定"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ワークフローを保存"]},"します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["手動で実行"]},"するか、ワークフローを",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["スケジュール"]},"します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"スケジューリング","__idx":10},"children":["スケジューリング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スケジュールに従ってワークフローを実行するには、スケジュール設定を追加します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"schedule:\n  daily>: 02:00:00  # Run daily at 2 AM UTC\n\ntimezone: \"UTC\"\n_export:\n  params:\n    # ... rest of configuration\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ユースケース","__idx":11},"children":["ユースケース"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"日次顧客プロファイル同期","__idx":12},"children":["日次顧客プロファイル同期"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["毎晩変更された顧客プロファイルのみをデータウェアハウスにエクスポート:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"schedule:\n  daily>: 01:00:00\n\n_export:\n  params:\n    api_endpoint: \"https://integrations-gateway.us01.treasuredata.com\"\n    id_key: \"customer_id\"\n    delta_keys: [\"email\", \"phone\", \"address\", \"tier\"]\n    activation_actions_db: \"customer_data\"\n    activation_actions_table: \"unified_profiles\"\n    # ... connector settings\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"時間単位の商品カタログ更新","__idx":13},"children":["時間単位の商品カタログ更新"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["商品カタログの変更をeコマースプラットフォームに同期:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"schedule:\n  hourly>: 00\n\n_export:\n  params:\n    api_endpoint: \"https://integrations-gateway.us01.treasuredata.com\"\n    id_key: \"product_id\"\n    delta_keys: [\"price\", \"stock_quantity\", \"availability\"]\n    activation_actions_db: \"product_catalog\"\n    activation_actions_table: \"products\"\n    # ... connector settings\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"activation-actionモードとの違い","__idx":14},"children":["Activation Actionモードとの違い"]},{"$$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":"Activation Actionモード"},"children":["Activation Actionモード"]},{"$$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":["トリガー"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audience Studioセグメントactivation"]},{"$$mdtype":"Tag","name":"td","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":["任意のTDテーブル(手動設定)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["自動設定されるパラメータ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["あり(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_db"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_table"]},"、コネクタ設定)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["なし(すべてのパラメータを設定する必要があります)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユースケース"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["セグメントからのマーケティングactivation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["任意のテーブルからのスケジュール済み差分エクスポート"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":15},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-overview"},"children":["Incremental Activation概要"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-parameters"},"children":["Incremental Activationパラメータ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-workflow-templates"},"children":["ワークフローテンプレート"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連トピック","__idx":16},"children":["関連トピック"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/activation/configure-incremental-activation"},"children":["Incremental Activationの設定"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/workflows/getting-started-with-treasure-workflow"},"children":["Workflowの作成と編集"]}]}]}]},"headings":[{"value":"Incremental Activationスタンドアロンワークフロー","id":"incremental-activationスタンドアロンワークフロー","depth":1},{"value":"概要","id":"概要","depth":2},{"value":"必須の追加パラメータ","id":"必須の追加パラメータ","depth":2},{"value":"スタンドアロンワークフローテンプレート","id":"スタンドアロンワークフローテンプレート","depth":2},{"value":"コネクタ設定例","id":"コネクタ設定例","depth":2},{"value":"Snowflake","id":"snowflake","depth":3},{"value":"MySQL","id":"mysql","depth":3},{"value":"PostgreSQL","id":"postgresql","depth":3},{"value":"Google Sheets","id":"google-sheets","depth":3},{"value":"セットアップ手順","id":"セットアップ手順","depth":2},{"value":"スケジューリング","id":"スケジューリング","depth":2},{"value":"ユースケース","id":"ユースケース","depth":2},{"value":"日次顧客プロファイル同期","id":"日次顧客プロファイル同期","depth":3},{"value":"時間単位の商品カタログ更新","id":"時間単位の商品カタログ更新","depth":3},{"value":"Activation Actionモードとの違い","id":"activation-actionモードとの違い","depth":2},{"value":"次のステップ","id":"次のステップ","depth":2},{"value":"関連トピック","id":"関連トピック","depth":2}],"frontmatter":{"seo":{"title":"Incremental Activationスタンドアロンワークフロー"}},"lastModified":"2025-12-06T08:05:40.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/audience-studio/activation/incremental-activation-standalone-workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}