Docs

Docs

/

Getting Started

/

Understanding Workflow Logic

Understanding Workflow Logic

Workflows are the engine of Clovve. They are built on an event-driven architecture designed to process, filter, and route data streams with zero latency.

1. The Workflow Anatomy

Every workflow operates as an immutable pipeline composed of three distinct nodes:

  • Triggers (The Source): The entry point for your data.

    • Webhooks: Asynchronous HTTP listeners for real-time external events.

    • CRON: Scheduled tasks for batched operations or periodic reconciliation.

    • UI Events: Triggered actions from your dashboard or custom client-side SDK implementation.

  • Logic Gates (The "Deep Logic" Engine): This is where you manipulate the data payload before it reaches the final destination. You can inject custom JavaScript filters or use our visual builder to evaluate conditions.

    • Example: if (payload.plan === 'enterprise' && payload.status === 'active') Continue.

  • Actions (The Egress): The final transformation. Pipe your processed data to external APIs, notification services (Slack, Discord), or your private internal endpoint.

2. Data Mapping & Payload Transformation

Data isn't just passed; it’s transformed. Clovve maps source properties to target schemas automatically, but you maintain full control:

  1. Ingestion: Incoming payload is normalized into a standard JSON schema.

  2. Transformation: You can reformat the schema, add computed properties (e.g., converting currencies or timestamps), or mask sensitive PII before transmission.

  3. Delivery: The final payload is transmitted via secure, authenticated requests.

3. Error Handling & Retry Policies

In distributed systems, failures happen. Clovve handles this at the infrastructure level:

  • Exponential Backoff: If an Action fails (e.g., your API returns 500), the system automatically retries with an exponential delay.

  • Dead Letter Queue (DLQ): Events that fail after max retries are captured in the DLQ for manual inspection in your dashboard.

Create a free website with Framer, the website builder loved by startups, designers and agencies.