Skip to content

Components ​

Components are the building blocks of custom logic in Hantera. They contain code written in Filtrera that can be executed in different contexts to automate workflows, expose APIs, enforce business rules, and calculate dynamic pricing.

Use Cases ​

Jobs ​

Components are wrapped in job definitions to enable scheduling:

  • Process orders at night
  • Generate reports
  • Clean up old data
  • Sync with external systems

Learn more about Job Definitions → | Learn more about Jobs →

Ingresses ​

Expose components as APIs:

  • Custom HTTP endpoints
  • Webhook handlers
  • Message queue processors
  • Integration APIs

Learn more about Ingresses →

Rules ​

React to system events and actor lifecycle hooks:

  • Execute logic when orders are created, updated, or deleted
  • Trigger actions on payment captures or refunds
  • Automate workflows based on entity state changes

Learn more about Rules →

Promotions ​

Calculate dynamic discounts and display promotional messages on orders:

  • Promotions re-evaluate whenever an order changes
  • Pure calculation components (no side effects)
  • Support both discount effects and customer-facing messages
  • Combination rules control how promotions interact

Learn more about Promotions →

Access Control ​

The ACE for components looks like this:

components[/`<id>`]:read|write

© 2026 Hantera AB. Org. no.: 559242-9582