DashboardSign inStart your trial

Workflows

The node reference for building workflows: triggers, logic, and actions, plus variables, approval gates, and retries.

A workflow is a visual diagram of nodes connected by arrows. Triggers start runs, logic nodes shape the flow, and action nodes do the work. You build it, save it, and Rills handles execution, retries, and versioning.

#Node categories

There are three categories: triggers (start a run), logic (shape control flow), and actions (do work).

#Triggers

NodeWhen it fires
Manual TriggerYou click “Run” in the builder.
ScheduleA cron schedule. Timezone-aware (defaults to UTC).
WebhookAn external system POSTs to a unique URL. See Webhooks .
Integration EventA connected integration emits an event (Gmail message, Stripe charge, Slack message, etc.). Pick the integration and the event in the node config.
Data ChangeA row is added to a workspace table, or a bound form is submitted.
Inbound EmailAn email arrives at your workflow’s inbound address.

A workflow can have multiple triggers: Manual Trigger plus Schedule plus Webhook can all be active at once. Triggers cost 0 credits. See Triggers for the full setup of every trigger type.

#Logic

NodeWhat it does
ConditionBranch based on rules. Each branch evaluates a field with an operator (Equals, Contains, Greater Than, Is Empty, etc.). Compound rules supported with AND/OR.
LoopIterate over a collection. Configure the items expression, item/index variable names, optional max iterations, concurrency for parallel iteration, and batching.
DelayPause for a duration (“2 hours”), until a specific time, until a variable resolves, or for a relative period (business days, calendar days, weeks). Free.
Human ReviewPause for human review. See Modes & Confidence for full config.
Any (First)After a branching split, continue as soon as one branch finishes. Optionally cancel the rest.
All (Wait)After a branching split, wait for every branch. Pick a failure mode: Fail Fast, Collect Errors, or Partial Success (configurable minimum success count).

#Actions

NodeWhat it does
AI Call a language model with a prompt. Configurable model, temperature, max tokens, output mode (text or JSON schema), plus research tools.
HTTP RequestCall any REST endpoint with optional auth.
Send Email Send email from Rills. Supports HTML/text bodies, CC/BCC, attachments, and a base template.
Custom CodeRun JavaScript or Python in a sandbox. See Custom Code .
Transform DataReshape data between steps (map, filter, pick, omit, etc.).
Integration ActionAny action exposed by a connected integration: send Slack message, refund a Stripe charge, create a Notion page.
DataAdd, find, update, or delete rows in a workspace table, to persist and read data across runs.
Aggregate RowsGroup table rows and compute sum, average, min, max, count, or percentile.
Save File to StorageSave a file to your workspace storage from a web link, text, or file data.
Get File URLLook up a stored file’s link and details by key.
Delete FilePermanently delete a stored file.

#Variables

Reference data from earlier nodes with {{node_name.field}}. The builder shows what’s available at each step.

#Approval gates

Add a Human Review node anywhere a step needs a human in the loop. The Human Review node has two approval modes, Always ask (every run pauses) and Confidence gated (auto-approve when the run’s confidence score clears your bar, otherwise route to your queue).

See Modes & Confidence for the full picture.

#Retry and error handling

HTTP Request, Custom Code, AI, Send Email, and Integration Action nodes support a retry policy. When a step fails with a retryable error, Rills retries before marking the step failed.

SettingDefaultRange
Max retries31–10
StrategyExponentialFixed or Exponential
Base delay1,000 ms100–60,000 ms
Backoff multiplier21–3
Max delay60,000 ms1,000–300,000 ms
Retryable HTTP codes408, 429, 500, 502, 503, 504Any HTTP status codes

Exponential backoff: delay = min(maxDelay, baseDelay × multiplier^attempt) with jitter to prevent thundering herd.

Each part of the workflow lifecycle has its own page below. For optimization suggestions drawn from your run history, see Learning & Insights (Pro+).