{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Products","product_name":"Audience Studio","type":"markdown"},"seo":{"title":"Incremental Activation Standalone Workflow","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-standalone-workflow","__idx":0},"children":["Incremental Activation Standalone Workflow"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Incremental Activation is a Beta release. For more information, contact your Customer Success Representative."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This page explains how to use Incremental Activation as a standalone workflow without Audience Studio. This allows you to perform delta exports directly from any TD table on a scheduled basis."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When running Incremental Activation as a standalone workflow, you can:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Export delta changes from any TD table (not just segment data)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Schedule periodic delta exports to your destination"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Process data outside of Audience Studio's activation framework"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Key difference"]},": All parameters must be explicitly configured in the workflow, as they are not automatically populated by Audience Studio."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"required-additional-parameters","__idx":2},"children":["Required Additional Parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In standalone mode, you must configure these additional parameters:"]},{"$$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":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$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":["Source TD database"]},{"$$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":["Source table name"]},{"$$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":["Connector authentication name"]},{"$$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":["Connector configuration object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["See examples below"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"standalone-workflow-template","__idx":3},"children":["Standalone Workflow Template"]},{"$$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":"connector-configuration-examples","__idx":4},"children":["Connector Configuration Examples"]},{"$$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":"setup-steps","__idx":9},"children":["Setup Steps"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create a new user-defined workflow"]}," in TD Data Workbench > Workflows"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copy and paste"]}," the standalone template above"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Configure all required parameters"]},":",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_endpoint"]}," for your TD site"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id_key"]}," to your unique identifier column"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delta_keys"]}," to columns you want to track"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_db"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_table"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Configure ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection_settings"]}," for your destination"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection_name"]}," to your authentication"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save the workflow"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Run manually"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["schedule"]}," the workflow"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"scheduling","__idx":10},"children":["Scheduling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To run the workflow on a schedule, add a schedule configuration:"]},{"$$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":"use-cases","__idx":11},"children":["Use Cases"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"daily-customer-profile-sync","__idx":12},"children":["Daily Customer Profile Sync"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Export only changed customer profiles to your data warehouse every night:"]},{"$$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":"hourly-product-catalog-updates","__idx":13},"children":["Hourly Product Catalog Updates"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sync product catalog changes to an e-commerce platform:"]},{"$$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":"differences-from-activation-action-mode","__idx":14},"children":["Differences from Activation Action Mode"]},{"$$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":"Aspect"},"children":["Aspect"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Activation Action Mode"},"children":["Activation Action Mode"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Standalone Mode"},"children":["Standalone Mode"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Triggered by"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audience Studio segment activation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Workflow schedule or manual run"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Segment syndication table (automatic)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Any TD table (manual configuration)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Auto-populated params"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_db"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activation_actions_table"]},", connector settings)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No (all parameters must be configured)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Use case"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Marketing activations from segments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Scheduled delta exports from any table"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":15},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/audience-studio/activation/incremental-activation-overview"},"children":["Incremental Activation Overview"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/audience-studio/activation/incremental-activation-parameters"},"children":["Incremental Activation Parameters"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/audience-studio/activation/incremental-activation-workflow-templates"},"children":["Workflow Templates"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-topics","__idx":16},"children":["Related Topics"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/audience-studio/activation/configure-incremental-activation"},"children":["Configure 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":["Creating and Editing a Workflow"]}]}]}]},"headings":[{"value":"Incremental Activation Standalone Workflow","id":"incremental-activation-standalone-workflow","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Required Additional Parameters","id":"required-additional-parameters","depth":2},{"value":"Standalone Workflow Template","id":"standalone-workflow-template","depth":2},{"value":"Connector Configuration Examples","id":"connector-configuration-examples","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":"Setup Steps","id":"setup-steps","depth":2},{"value":"Scheduling","id":"scheduling","depth":2},{"value":"Use Cases","id":"use-cases","depth":2},{"value":"Daily Customer Profile Sync","id":"daily-customer-profile-sync","depth":3},{"value":"Hourly Product Catalog Updates","id":"hourly-product-catalog-updates","depth":3},{"value":"Differences from Activation Action Mode","id":"differences-from-activation-action-mode","depth":2},{"value":"Next Steps","id":"next-steps","depth":2},{"value":"Related Topics","id":"related-topics","depth":2}],"frontmatter":{"seo":{"title":"Incremental Activation Standalone Workflow"}},"lastModified":"2025-12-06T07:48:20.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/audience-studio/activation/incremental-activation-standalone-workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}