Create ACTION_VECTOR tasks for a workflow run's trigger perimeter
Materializes PRODUCT_ACTION tasks from gold.action_vector rows scoped to the workflow trigger’s matched entities. Every inserted task row is stamped with the workflowRunId for lifecycle ownership. Idempotent: re-running for the same (organizationId, perimeter) produces no duplicates. Sticky dismissal: tasks dismissed by a user are never resurrected by a later run. DEFERRED: task.update and task.close are owned by the scheduled org-global materializer for now. Requires Bearer token authentication.
Authorizations
Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.
Body
Action-vector domains to materialize tasks for. Non-empty subset of ["restock", "rebalance", "markdown"].
1restock, rebalance, markdown Minimum confidence threshold in [0, 1]. Rows with numeric confidence below this value are suppressed. Use 0 to disable filtering.
0 <= x <= 1UUID of the organization that owns the tasks
1List of (variantId, shopId) pairs from the trigger matched entities. Provide the trigger perimeter here.
Databricks workflow run ID; stamped on every task row created by this run for lifecycle ownership
1
