Skip to main content
Triggers run platform actions automatically — re-cluster a collection nightly, re-enrich documents as new data lands, or rerun a batch on a schedule. Instead of calling an endpoint by hand, you define what to run and when, and Mixpeek executes it.

Anatomy of a trigger

Every trigger combines an action (what to run) with a schedule (when to run it):

Schedule types

Run on a cron expression in a given timezone — best for fixed times (“every night at 2am”).
The expression is standard 5-field cron (minute hour day-of-month month day-of-week).

Actions

Cluster

Re-run a clustering definition on a schedule so groupings stay current as data grows.

Taxonomy enrichment

Re-classify a collection against a taxonomy. Use incremental: true to enrich only new documents — far cheaper than re-running the whole collection.
Enrich into a separate target collection on a nightly cron:
incremental: true only processes documents added since the last run, so it won’t re-pay extraction/enrichment cost on documents already processed. Prefer it for recurring enrichment.

Batch rerun & collection trigger

batch_rerun re-runs processing for a collection’s documents; collection_trigger fires a collection’s configured processing. Both take a collection_id in action_config.

Manage triggers

Run a trigger on demand (outside its schedule) to test it:
Check recent runs and their outcomes:
  • Clusters — define the clustering a cluster trigger reruns
  • Taxonomies — define the taxonomy a taxonomy_enrichment trigger applies
  • Alerts — get notified when content matches a condition
  • Storage syncs — continuously ingest new files from object storage