In today's digital landscape, businesses rely on a complex ecosystem of applications, from CRMs and e-commerce platforms to internal databases and communication tools. The challenge? These systems often exist in silos, requiring manual intervention to share information and initiate processes. This manual glue is slow, error-prone, and a major bottleneck to growth.
What if your systems could react to events in real-time, automatically? What if a new sale in Shopify could instantly trigger inventory updates, notify your fulfillment team, and add the customer to a marketing sequence without a single human click? This is the power of event-based automation, and it's the key to building a truly responsive and efficient business.
At its core, event-based automation is simple. It follows a basic rule: "When this happens, do that." The "this" is an event trigger—a signal that something important has occurred. The "that" is a workflow—a sequence of actions carried out by automated agents.
At Triggers.do, we believe that defining these rules should be as robust and manageable as the rest of your codebase. That's why we empower developers to define triggers as simple, declarative code, creating a powerful, version-controllable foundation for all your business process automation.
Instead of clicking through complex UI menus, you can define a sophisticated trigger in just a few lines of code. This "automation as code" approach brings the power of software development best practices—like version control, peer reviews, and reusability—to your workflows.
Consider this example, which initiates a workflow for high-value orders from Shopify:
import { trigger } from '@do-sdk/triggers';
// Define a trigger that starts a workflow when a new
// high-value order is received from Shopify.
await trigger.create({
name: 'High-Value Shopify Order',
event: 'shopify.order.created',
filter: 'body.total_price > 100.00',
workflow: 'process-high-value-order',
});
Let's break it down:
A trigger system is only as powerful as the events it can listen to. With Triggers.do, you can initiate workflows from virtually any event source across your entire tech stack.
Webhooks are the de facto standard for real-time communication between web services. You can trigger workflows from:
Not all automation is reactive. Some processes need to run on a fixed schedule. Use cron-based triggers to handle routine tasks automatically:
Connect directly to the pulse of your own applications. Trigger workflows from:
True business automation is rarely a single, linear task. A single event often needs to set multiple processes in motion. Triggers.do is built for this complexity. A single trigger, like a new user signing up, can be configured to launch multiple, parallel workflows simultaneously:
This ability to orchestrate complex, branching processes from a single event transforms isolated tasks into a seamless, integrated system that works for you 24/7.
Ready to stop gluing systems together manually and start building responsive, event-driven workflows? Explore Triggers.do and discover how simple, code-based trigger definitions can unlock a new level of business process automation.