Win alert card

A deal-closed celebration that takes over the screen: the closer's picture and name, the deal and a huge amount over confetti, then settles into the latest win, today's tally against the target and the wins before it.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

Category: Operations. Tags: Recognition, Alerts and status, Offices and workplaces.

Data and privacy

This card uses its configured properties and live card data.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Deal closed"maxLength: 30The label on the celebration.
currencystring"$"maxLength: 4The currency symbol shown before amounts.
celebrateSecinteger30minimum: 5; maximum: 600How long a new win holds the celebration before the card settles.

Dynamic properties

NameTypeDefaultValues and limitsDescription
targetnumberminimum: 0Today's target in major units; the settled view shows progress towards it.
winsarray[]maxItems: 50Closed deals, in any order; the newest by at is the win on show. A win less than celebrateSec old takes the card over.
wins[].idstring""maxLength: 40Keys the win, so one already shown does not celebrate again.
wins[].namestringminLength: 1; maxLength: 60; RequiredWho closed the deal.
wins[].teamstring""maxLength: 40
wins[].photostring""maxLength: 120A media reference to the person's picture; empty shows their initials.
wins[].dealstring""maxLength: 100The customer or deal name.
wins[].amountnumber0minimum: 0The deal value in major units.
wins[].atstring""maxLength: 40When the deal closed, an ISO 8601 instant.
wins[].notestring""maxLength: 120A short line under the deal, such as a product or term.

Example params

{
  "theme": "neomustard"
}
screenrig card create --type win-alert --major 1 --file params.json --context-file context.md

Example data

{
  "target": 1,
  "wins": []
}

Layouts

This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.

Layouts: full. Forms: landscape, portrait.

Use this card

Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.