Views

Views

Every screen in Sendwend Studio, what it shows, where each number comes from and how to read it.

This page walks through the studio screen by screen. Structural views (canvases, templates, segment definitions) come from your compiled config and always work. Numbers come from the stats source described in Configuration; where one is missing, the view says so instead of showing zeros. Every view is a URL, listed under each heading.

Home

/

Six tiles. Three are counts from the config: Workflows, Templates (every template registered or referenced) and Segments. When a workflow references a template that no registry provides, the Templates tile adds "N referenced without content".

The other three need reports(): Entered and Converted summed over every workflow, and the Conversion rate (converted ÷ entered). Without a stats source they show a dash.

Workflows

/workflows

One row per registered workflow, with a search box that matches the workflow's id, name and description. Each row shows the workflow's name and its shape: how many message nodes and how many delays it contains, counted across every branch and cohort arm.

With reports(), four columns follow:

ColumnValueRate against
DeliveredMessages delivered, all channels
OpenedOpen rateDelivered
ClickedClick rateDelivered
ConvertedConversion rateEntered

Each column carries a sparkline of the source's recent daily counts (series); @sendwend/studio/postgres provides the last 14 days. On a narrow window a row folds into the name followed by its numbers.

The canvas

/workflows/<id>/workflow

The Workflow tab draws the compiled IR: the trigger at the top, then one card per node, joined by connectors. Each card carries an icon for its node type or channel, colored by category (trigger, message, delay, control flow, data, exit). Pan and zoom freely; nodes cannot be dragged or edited, because the layout is a pure function of the IR and the structure is owned by code.

Edge labels name each path: a branch's case labels (or its condition) and else, a cohort arm's name and weight, a wait's met and timeout. Because the canvas is drawn from IR rather than from your source, it shows what the compiler produced and the runner executes. If the canvas surprises you, the compiled workflow is what surprised you.

Users waiting here. With nodeStats(workflow), a node shows a badge with how many users are currently sitting on it: running instances whose current node is that one. On a delay, that is the users asleep until it ends; on a wait, the users waiting for the event or the timeout. Without nodeStats there are no badges.

The node inspector

Click a node and a panel opens over the top-right of the canvas. It floats rather than docking so that the drawing does not shift under the cursor. It shows:

  • the node type (Message, Time delay, Random delay, Time window, Wait until, Branch, Filter, Random cohort, Exit, Send event, Custom action), its node id (the structural path every send and stat is keyed by) and its label, if you gave one;
  • a summary per type: channel and template for a message, each case's label for a branch, each arm's weight for a cohort, the event for a send-event, the action name for a custom action;
  • the node's parameters: Wait for on a delay, At least / At most on a random delay, Give up after on a wait, From, To and Timezone on a time window, Reason on a filter or exit;
  • the literals inside its conditions, prefixed with which condition they belong to: eq(u.plan, 'pro') shows pro as a Value, performed(e.login, { within: '7 days' }) shows the window as Within;
  • Source: the file and line that built the node, resolved through the dev server's source map.

A message node also shows what it sends. An email renders as a thumbnail from the template's preview props, a push as a small notification; either one links to the template's full preview. The selected node survives a reload, so editing the workflow in your editor does not lose your place.

The Overview tab

/workflows/<id>

The funnel over time. A toolbar sets one date range (the last 30 days by default), a granularity (daily, weekly or monthly) and a channel filter (email, iOS, Android and web notifications, Slack, Discord, SMS, webhook, or all channels). All three panels below follow it, so they never disagree about which fortnight they cover.

Chart cards (from metrics()):

CardHeadlineDenominator
SentMessages handed to the transport
OpenedOpen rateDelivered
ClickedClick rateDelivered
ConvertedConversion rateEntered, for the users who entered in that bucket

The headline is the whole range, compared with the range of the same length just before it ("+2.1% vs. previous period"). Hover a chart for each bucket's value. When the source reports opens and clicks split into human and machine for every bucket, the Opened and Clicked cards draw three lines: total, Human Opened and Machine Opened (or the click equivalents). Read the human line: Apple Mail Privacy Protection prefetches the tracking pixel of everything it relays and corporate scanners follow links, so a raw open rate that doubled overnight usually means a mail client changed, not an audience.

Sent and delivered are different facts: sent is what was handed to the transport, delivered is what it accepted (or, for iOS and web push, what the device reported). The gap is your bounce or undelivered rate.

Message Metrics (from messages()): one row per message node, not per template, because the question it answers is "which send underperforms". A template sent twice in one flow is two rows. Each row is named by the node's label, else the template's title, else its key, and shows sent, delivered, opened, clicked and unsubscribed, each with its rate above the count. A totals row sums the rows.

Links (from links()): the ten most-clicked destination URLs across the whole workflow, as written in the message before click-tracking rewrites them. @sendwend/studio/postgres counts human clicks on content links only.

Each panel distinguishes loading, an error from the stats source (also raised as a toast) and an empty range, so a failing source never looks like "no data".

Templates

/templates, /templates/<key>?channel=<channel>

The list holds every registered template, whether a workflow uses it yet or not, plus every template a workflow references without registering it, marked as missing. Templates are found by id per channel: an email and a push that share an id are two templates, which is why the URL carries the channel.

Above each preview is its envelope. For an email: From, Reply to, Subject and Unsubscribe link (the template's own, else the config's default). For a push: Title, Body and Image.

Email renders through @react-email/render from the template's preview props, validated against its props schema exactly as a send would be. The toolbar switches light and dark mode (simulating a mail client's dark mode), desktop and mobile width, and zoom. One known difference: the studio renders with @react-email/render, while the Worker's renderer uses react-dom's static markup, so whitespace and attribute order in the HTML can differ slightly. What the email says and how it is laid out does not.

Push renders as two lock screens side by side, an iPhone and a Pixel, because iOS and Android lay notifications out differently and the copy has to survive both.

Slack and Discord templates render as chat messages in each client's style. A Slack block type the preview does not draw is shown as a placeholder naming the block.

The props editor holds the preview props as JSON. Edit them to try other values; they live in memory only, are never saved, and are checked against the template's schema on every change. When something fails, the preview is replaced by the reason and the failing fields: invalid JSON, props that do not match the schema, a push content() that did not return a valid notification, or a template that threw while rendering. Reset goes back to the template's own preview. An edit to the template file keeps your props and validates them again against the new schema.

Segments

/segments, /segments/<id>

Every segment registered in the config, whether a workflow uses it or not, plus any segment a workflow references that is not registered (marked as not defined). Each row says which workflows use it, through a trigger, a goal, an exit condition, a filter, a branch or a wait.

With segments(), each row shows the segment's Size (users in it now) and a sparkline of its size Over time. A segment's definition is code, but its size is a fact about your user base, and the only thing that tells you whether a condition matches the people you meant.

Open a segment for its Overview: Size, Change (the percentage change across the charted history), Profiles (the member count), a chart of size over time, and the Members table, 25 per page, with each member's email, UTM source and created date. The member table needs profiles().

One person's profile

Click a member and a drawer opens over the right edge with that person's full record, without leaving the list. Properties are grouped into User Data (id, name, email, company), Source Info (country, region, city, platform, language, time zone, release), Device Info (device, OS, browser, screen resolution, pixel ratio), UTM parameters, and Others for every key the studio does not recognize, so nothing a project stores is hidden. Each value has a copy button.

The drawer shows the profile, not the person's journey: there is no view of the nodes one user passed through. To follow one user's path, query the engine's instance, message and event tables directly.

Settings

/settings

  • Language: English or Simplified Chinese, for the studio interface only.
  • Theme: light, dark, or system.
  • Email: the config's email settings shared by every email template: the default unsubscribe link, and the quick-click window (email.tracking.quickClickMs), within which a click after delivery counts as a weak machine signal.
  • Stats source: which of reports, nodeStats and metrics the stats source defines, or "Not configured".

Next

  • CLI: the commands beside the dev server.
  • Embedding: these components in your own app.