Docs

Automation flows

The visual flow designer: triggers, scheduling, the node catalog, variables, debugging, audit logs and inbound webhooks.

Flows are Workcraft's automation engine: a visual graph of nodes wired by edges, triggered manually, on a schedule, by a webhook, or by an inbound channel event. Flows send email, call APIs, read and write data, run AI agents, and orchestrate multi-step jobs.

Anatomy of a flow

  • Start node — the entry point. Chooses the trigger: manual, scheduled, or webhook.
  • Action nodes — the steps: email, HTTP webhook, database queries, AI agents, conditions, loops, sub-flows, and 40+ integration nodes.
  • End node — returns the final result.
  • Edges — connect nodes; if/else branches use labeled outputs (condition paths + default).

Open a flow in the designer, drag nodes onto the canvas, wire them, and configure each node's panel on the right.

Flow designer canvas for the Quote to Sales Order flow: Trigger, Datastore read and create nodes, Loop and End

Automation flows list with status, schedule and actions per flow

Triggers

TriggerWhen it runsConfiguration
ManualWhen a user or another flow invokes itOptional input parameters
ScheduledOn a Quartz scheduleInterval, daily, weekly, cron, or once
WebhookOn an inbound HTTP callGenerated endpoint + secret
Form submitWhen a bound form saves a recordPick the form/table
Inbound channelSlack, Teams, SMS, Stripe, DocuSign, email eventsVia a managed connection — see Channels

Schedule types

  • Interval — every N minutes.
  • Daily / weekly — at a set time on a set day.
  • Cron — a full cron expression for anything else.
  • Once — a single future timestamp.

Schedules persist across restarts; scheduled flows count against your plan's schedule quota (shared with scheduled imports).

Node catalog

Node types fall into families. The palette in the designer groups them; this is the overview map — the flow node reference lists every node with its operations.

Core

NodeDoes
Start / EndEntry and exit; carry input parameters and final output
If/ElseBranch on expression conditions — each condition gets an output handle, plus a default path
LoopRepeat over a count, a collection, or while a condition holds (with max iterations)
JavaScriptRun a script; return values feed later nodes via ${nodeId.key}
Sub-flowRun another flow as a step
Webhook (outbound)HTTP request to any URL — method, headers, body; private/loopback hosts are blocked
JoltJSON-to-JSON transformation

Communication

NodeDoes
EmailSend email via the app's SMTP settings or a template
Slack / TeamsPost messages, DMs, Block Kit / adaptive cards via a connection
TwilioSMS, WhatsApp, voice calls
SendGrid / GmailTransactional email; Gmail send/search/read/modify
Microsoft 365Outlook mail, OneDrive, SharePoint, Excel via Graph

Data

NodeDoes
DataStoreRead/write form records: getRecords, getRecord, create, update, delete — with search filters and field mappings
Data tableRead/write raw data table rows: getRows, addRow, updateRow, deleteRow
Mongo / MySQL / SQL / OracleQuery external databases (prefer bound parameters — see security note)
RedisCache get/set/delete with TTL
Google Sheets / AirtableRead/write sheet ranges and Airtable records

Enterprise integrations

Salesforce, Jira, HubSpot, ServiceNow, Zendesk, SAP (OData), Workday, NetSuite, Stripe, Razorpay, DocuSign, GitHub, AWS (S3/SQS/SNS/SES) — each is a node offering the common operations (query, get, create, update, delete, plus provider-specific extras) against a managed connection.

AI

NodeDoes
OpenAI / Anthropic / Gemini / Perplexity / OpenRouter / HuggingFaceLLM calls with system prompt, user prompt, temperature, max tokens
Ollama / LM StudioLocal models via your endpoint
RAGRetrieval-augmented query against a knowledge base
Embedding / Vector DB / Document uploadBuild and query vector indexes
Speech-to-text / Text-to-speechAudio in and out

Chat & misc

chatinput pauses a flow to ask the user a structured question; messageinput/chatresponse emit chat messages; pdf generates documents; filewriter writes files; meshcentral manages devices; oauth runs auth flows.

Note: a few nodes exist in the palette but aren't executable yet (Google Calendar/Drive/Workspace, Notion, Elasticsearch, generic Postgres/SQL, decision-rule) — the designer marks them; don't build production flows on them.

Variables and data passing

Node outputs are referenced with ${nodeId.path} — e.g. ${step-1.total} or ${formData.data.email} for submitted form fields, ${body.data.x} for raw webhook payloads. Placeholder strings like {{field}} are rewritten to these references at build time.

Security: when a node accepts caller-controlled text (webhook bodies, form input), bind it as a parameter (? placeholder) rather than splicing it into SQL/queries — the platform quotes it as data. Outbound HTTP is restricted to http/https and public hosts.

Debugging and audit

  • Debug mode — run a flow step by step: set breakpoints on nodes, pause, inspect each step's input/output/timing in the debug panel (data diffs, step detail, timeline), then resume or step over.
  • Execution details page — every run gets a details view listing per-node status, inputs, outputs, errors and duration; open it from the flow's run history.
  • Execution history / audit — runs are logged to the flow audit log (read access is plan-gated on some tiers — see Plans & limits).
  • Test with real-ish data — seed a record or POST a webhook payload, then watch the trace; chat flows can be tested by sending a message in the widget.

Common patterns

  1. Notify on submit — form-submit trigger → if/else on status → email + Slack post.
  2. Approval chain — form-submit → datastore update → notification flow (the human approval itself lives in Workflows).
  3. Scheduled digest — daily trigger → datastore getRecords → JavaScript summarise → email.
  4. Sync to external system — form-submit → JavaScript shape payload → webhook POST.
  5. AI triage — chat page or inbound message → LLM node → datastore write → chatresponse.
  6. Maintenance job — weekly trigger → query old records → archive/update → summary email.

For chat pages, the backing flow receives the message as ${message}; end it with messageinput/chatresponse nodes so the widget shows a proper reply.