Are you building AI applications and looking for a reliable and simple way to initiate workflows or actions based on specific events? Look no further than trigger.do!
Instantly Activate Your Agentic Workflows
trigger.do empowers you to launch any process, workflow, or action within your .do environment with a simple API call. This is particularly powerful for building agentic workflows and complex AI systems where different components need to communicate and trigger actions based on real-time events.
Whether it's a user signing up, a new piece of data arriving, or an internal system event, trigger.do provides the mechanism to activate your desired automation effortlessly.
Easily Trigger Events and Actions via Simple API Calls.
With trigger.do, you can define and manage various triggers within the .do platform. Once configured, you can initiate these workflows or actions from any application or service by making a straightforward API request.
This eliminates the need for complex integrations and provides a clean, standardized way to connect different parts of your application ecosystem.
Start Anything Now
Think of the possibilities: automate responses to customer inquiries, initiate data processing pipelines, trigger notifications, or orchestrate complex multi-agent interactions – all simply by triggering the right workflow.
Here's a quick example of how easy it is to trigger a workflow using the .do SDK:
import { Do } from "@do/sdk";
const doClient = new Do({
apiKey: "YOUR_API_KEY"
});
async function triggerWorkflow() {
try {
const result = await doClient.trigger(
"your-workflow-id", // Replace with your actual workflow ID
{
payload: {
"user_id": "abc123",
"event_type": "user_registered"
}
}
);
console.log("Trigger successful:", result);
} catch (error) {
console.error("Failed to trigger workflow:", error);
}
}
triggerWorkflow();
In this example, we're using the doClient.trigger method to initiate a workflow identified by "your-workflow-id". We're also passing a payload object containing relevant data for the workflow to process.
Frequently Asked Questions
Ready to get started?
Sign Up for a free .do account and explore the power of event-triggered workflows. Defining and triggering your first workflow is just a few clicks away!
Learn more about setting up workflows and finding your workflow IDs within the .do platform documentation.
Start building reactive and powerful AI applications with trigger.do!