Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.superblocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Workflows let you automate business processes that span multiple systems (databases, APIs, SaaS tools, and custom logic), triggered automatically on a schedule or from custom events in your systems via wehbooks. Describe what you want to automate in natural language, and Clark builds your workflow end-to-end on top of your integrations. Superblocks Workflows are real TypeScript code (just like the backend APIs you already use in your applications) but triggered automatically by external events.

What you can build

  • Webhook automations - Receive events from Stripe, GitHub, Segment, or any service and react with multi-step logic across your stack
  • Scheduled jobs - Run reports, sync data, or clean up resources on a cron schedule
  • Slack-triggered workflows - Let teams kick off approvals, lookups, or actions directly from Slack
  • Email-triggered workflows - Parse incoming emails to create tickets, route requests, or update records
  • Cross-system orchestration - Chain together database queries, API calls, AI models, and notifications into reliable automated pipelines

How it works

1. Build with Clark

Tell Clark what you want to automate, just like building a backend API today. Clark writes the workflow logic, wires up your integrations, and handles error cases.
"When a new order comes in via webhook from Shopify, enrich the customer
from our Postgres database, run a fraud check against our ML model, and
if approved, update the order status and send a confirmation via Slack."
Clark generates a complete TypeScript workflow using your connected integrations. You can inspect the code, test individual steps, and iterate, all from the same editor you use to build apps.

2. Add triggers

Every workflow has one or more triggers. Choose from:
TriggerDescription
WebhookHTTP endpoint that receives POST requests from any external service
ScheduleCron-based execution (every 5 minutes, daily at 9am, first Monday of the month)
SlackActivated by a message, slash command, or interaction in Slack
EmailActivated by an incoming email to a generated address

3. Deploy and monitor

Deploy your workflow with one click. Superblocks handles execution reliability, retries, and observability. Every run is logged with full trace visibility (inputs, outputs, timing, and errors for each step) so you can debug production issues in seconds.

Key capabilities

Full integration access

Workflows use the same integrations you’ve already configured in Superblocks: Postgres, Snowflake, REST APIs, Salesforce, and more. No separate configuration or credentials to manage.

Secure by default

Workflows execute on your On-Premise Agent, so sensitive data never leaves your network. All triggers are authenticated and audited. RBAC controls who can create, edit, and deploy workflows.

Version controlled

Like all Superblocks resources, workflows have native version control, automatic checkpointing, policy agent enforcement, and one-click deploy. They can also be synced to your Git provider for code review and audit.

Use cases

Use caseTriggerWhat it does
New user onboardingWebhook (Auth0)Create CRM record, provision accounts, notify team in Slack
Daily revenue reportSchedule (9am daily)Query Snowflake, format summary, post to #finance Slack channel
Support escalationEmailParse email, create Jira ticket, assign based on priority, notify on-call
Deployment notificationsWebhook (GitHub)Track deploys, update status page, post changelog to Slack
Approval flowsSlack (slash command)Collect approval from managers via Slack buttons, update database, notify requester
Data syncSchedule (every 15 min)Sync records between Salesforce and Postgres, log discrepancies