asopi tech
asopi techIndie Developer

Asopitech With · Automation service

IFTTT with Alopex DB

IFTTT is an automation service that links apps and devices with triggers and actions. What if we rebuilt it with Alopex DB?

Updated: Oct 12, 2026

What the service does

An IFTTT-like automation service connects apps, devices and services. Users build applets that pair a trigger with an action, such as getting the weather forecast every morning or turning on the security system on leaving home. The data is users, connected services, applet definitions, trigger events and run history.

Where the data lives

  • SQL tables: users, connected services and applets live in tables. Trigger and action settings differ by service, so they go in a JSON column.
  • Transactions: incoming trigger events go into a table with a unique constraint on the event identifier. Recording the event and queuing its run commit in the same transaction. However many times the same event arrives, the applet does not run again.
  • Columnar tables: run records are loaded in batches into a columnar table through HTTP ingest. Success rates per applet and failure trends per service are aggregated in SQL.

The scheduler that checks services on a schedule and the workers that call actions are app code. Both read and write Alopex DB to share state.

Deployment

Alopex DB runs as a server. The endpoint that receives triggers, the scheduler and the workers each connect to the same database over HTTP or gRPC. Operators query the same database in SQL from the CLI. As usage grows, it scales out to an Alopex DB cluster with the same SQL.

Why Alopex DB fits

In an automation service, settings, events and logs, data of very different character, are read and written by many processes at once. Alopex DB handles tables, JSON and columnar logs with the same SQL from HTTP, gRPC or the CLI, and stops duplicates with transactions.

An Alopex DB server, with rules in SQL and JSON and run logs in columnar tables, is our pick for an automation service. The quickstart is a good companion.