Collectables

Collectables

Points and currencies you invent, with your own rules for how they're earned and spent through your Flows.

A Collectable is a name, a number and your rules. What you do with one is up to you. A few real shapes this takes:

  • Loyalty points viewers earn by following, cheering or chatting, and spend on a shoutout or a fun redeem.
  • Spell tokens viewers spend to set off an effect on your stream, like a "fireball" alert.
  • Event currency that only exists during a specific week or campaign, and expires when it's over.
  • Raffle tickets viewers buy with their points, each one an extra chance on your giveaway wheel.

None of that is built in. You define it, and your Flows hand it out and take it away.

Default vs. custom

Every platform you connect brings its own Default Collectables that StreamWizard tracks automatically, no setup needed. Twitch brings seven, Discord brings one.

They arrive with your past already filled in where the platform allows it (see Your history, imported below). These are read-only running totals: handy as at-a-glance stats, but you can't create, edit or grant them by hand.

Custom Collectables are the ones you actually design. Click New collectable, give it a name and pick its Platform. That's it. Each name can only be used once on your account.

The Collectables list: two custom ones (Giveaway Tickets, Loyalty Points) above the Default ones, each showing its platform, and the Default ones their history tag: Backfilled for Bits Count, Follow Count and the Discord Member Count, No history for raids and subscriptions

Imported history

A fresh account doesn't have to start at zero. When you connect a platform, StreamWizard imports the history that platform still has into your Default Collectables. Your Dashboard charts and leaderboards then show your channel's past from day one. This is called a backfill, and it runs by itself in the background.

Default Collectable What gets imported Dated at
Follow Count (Twitch) Every viewer following you right now The day they followed
Bits Count (Twitch) Your Bits history from Twitch's leaderboards, back to when your channel started The day (last 30 days) or the week (older) the Bits were cheered
Member Count (Discord) Every member of each server the StreamWizard bot is in (a member of two of your servers holds 2) The day they joined that server
Subscriptions and raids Nothing: Twitch doesn't give out that history They count from the moment you connected

How long it takes. It depends on the size of your channel: Twitch hands over 100 followers per second, and Discord 1,000 members every 10 seconds. While it runs, the numbers keep growing until it's done. Nothing to wait for: everything new is counted live alongside.

The history tag. Each Default Collectable shows how far its history goes; hover the tag for the details:

  • Ongoing backfill: importing right now.
  • Backfill paused: your Twitch access needed a refresh. StreamWizard refreshes it within a day and the import carries on by itself.
  • Backfilled: everything the platform had is imported, and new activity is counted as it happens.
  • No history: the platform doesn't give out the earlier history, so it counts from the moment you connected.

Members who leave. On Member Count, a member who leaves your server has their point marked spent. When a whole server goes away (you remove the bot), its members' points are marked expired. Active = members right now. Twitch doesn't report unfollows, so Follow Count never goes down.

Imported history doesn't use your plan's event allowance (see Account).

How points actually move

Every point moves through a Flow; there's no manual "give this viewer points" button here. Typically an event happens, like a cheer, a redeem or a chat command. An action in the resulting Flow then adjusts the balance of the person you point it at, usually whoever triggered it.

  • Add collectable — takes an Amount and an optional Expires at. See Expiry: the Expires at input below.
  • Spend collectable — takes an Amount from the viewer's balance. It doesn't check whether they have that much. A viewer with 3 points redeeming something that costs 10 just drops to 0, and the Flow carries on. See Only charge what they have below.
  • Collectable (a data loader) — reads a balance inside a Flow, as a number. Read it before Spend collectable runs to check the viewer can afford it. You can also narrow it to a From/To date range, like the campaign window of an event currency. See Collectable: read a balance below.

Whose points: one platform, one User ID

Points are held by people, and on StreamWizard a person always belongs to one platform. Nothing tells StreamWizard that a Twitch viewer and a Discord member are the same person. So every Collectable belongs to one platform, and only that platform's users can hold it.

You pick the platform when you create the Collectable: Twitch or Discord, any connected platform where people have their own accounts. The choice is final. Want loyalty points on both Twitch and Discord? Create one Collectable for each. The Default ones belong to the platform that brought them.

Creating a Collectable: a Name field and a Platform dropdown, with the note that only this platform's users can hold it and it can't be changed later

All three nodes need to know whose points they work with, so each one has a User ID input. On the Collectable node it shows only in the User scope. Wire in that person's ID on the Collectable's platform:

  • The person who triggered the event: the usual case. Read event data gives you their ID, for example Viewer Twitch ID on a Twitch event.
  • Someone else, by name: a chatter types !points @bob. Parameter 1 gives you "bob", with the @ dropped for you. A Retrieve with Get User By Name (Twitch) or Get Member By Username (Discord) turns that into bob's ID. If nobody is called bob, the lookup's Viewer Exists? (or Is Member?) says No and the ID comes back as "null", so check it first and let the Flow answer in chat.
  • One fixed person: a Create value with the ID typed in. Handy in a timer Flow, which has no event and so no "who".

You can't publish a Flow while a User ID is left unconnected. Giving points to someone StreamWizard hasn't seen before just works: it checks with the platform that they exist and adds them. When the Flow runs:

  • An empty ID: Add collectable and Spend collectable are skipped and you get a notification (see Account).
  • An ID nobody on that platform has: Add collectable is skipped the same way.
  • Someone StreamWizard has never seen: Spend collectable has nothing to take, so it does nothing, and the Collectable node reads 0 for them.

The rest of the Flow runs either way.

The nodes in the Flow Builder

Below, each of the three nodes as it looks on the canvas. Flow Builder explains how to place and connect nodes, and the Nodes reference lists every field.

Collectable: read a balance

Collectable (under Data loaders) reads a balance, as a number:

  • Scope: Streamer reads the whole channel's total. User reads one person's total: whoever you wire into User ID, which only shows up in this scope.
  • Filter type: Active counts only points that are still unspent and unexpired. All counts every point ever given, including the ones already spent or expired.
  • Type: the Collectable to read, with its platform in brackets.
  • From and To (optional): limit it to points given in that time range. See The time range: From and To just below.
The Collectable node: From and To (optional) and User ID inputs, Scope set to User, Filter type Active, Type Priority Requests (Twitch), and a number output

The time range: From and To

Both are optional and take a date and time. Left empty, From means "from the very beginning" and To means "up to right now". Wire in a datetime to count only points that were given between the two moments.

That answers questions like these:

  • "How much did this viewer earn during the campaign week?" Set From to the start of the week.
  • "How much in the last 24 hours?" Wire a Create value set to Now, run through a Delay of -1 day, into From.

Whether a point is still active or has expired is always judged against right now, whatever To says.

Add collectable: give points

Add collectable (under Actions) gives points. Amount is how many, Expires at (optional) is when they run out, User ID is who gets them, and Type is which Collectable. Like every action, it has an optional Condition and a Delay (s).

The Add collectable node with Condition, Amount, Expires at and User ID inputs, Type set to Priority Requests (Twitch), and a Delay field

Expiry: the Expires at input

Expires at takes the exact moment these particular points stop being usable.

  • Left empty (the default): the points never expire. They stay in the viewer's balance until they are spent.
  • How to set it: wire in a date and time. The usual way is a Create value set to Datetime and Now, run through a Delay (for example +30 days), into Expires at. Every point given by that Flow then lasts 30 days from the moment it was given.
  • When to use it: whenever the points shouldn't pile up forever. Think of an event currency that ends with the campaign, or a bonus that has to be used within a week. A "use it or lose it" reward also keeps viewers coming back.
  • What happens at that moment: they can't be spent anymore and no longer count in the Active total (you'll find them under Expired in the per-viewer breakdown).

Spend collectable: take points

Spend collectable (under Actions) takes points away. It needs an Amount, a User ID (whose points) and a Type, plus the usual optional Condition and Delay (s).

The Spend collectable node with Condition, Amount and User ID inputs, Type set to Priority Requests (Twitch), and a Delay field

Oldest points go first

There's nothing to set up. The oldest points are usually the ones that would expire soonest, so fewer points are lost to expiry. Say a viewer has 10 points that expire tomorrow and 10 fresh ones that last a month. Spending 10 uses up the ones about to expire.

Only charge what they have

To run a redeem only when the viewer can afford it:

  1. A Collectable node reads their balance. Set Scope to User and Type to the Collectable you're charging for. Wire the chatter's ID (Read event data, Viewer Twitch ID) into User ID.
  2. A Numeric comparison set to Greater or equals than compares that balance against the cost.
  3. Wire the comparison's yes/no answer into the Condition (optional) point on every action the redeem depends on. That's Spend collectable and whatever it pays for, like a Play alert.
  4. Wire the same Viewer Twitch ID into Spend collectable's User ID, so it charges the same person.

See Nodes for the exact fields on each.

Put it to work

The spell-token idea from above is a simple build. A chat-command Flow (say, !fireball) checks the viewer's balance with the Collectable node. If they have enough, Spend collectable takes the cost while Play alert shows the effect on stream. Flow ideas works it out as a "mana" system. It also has a "turn Bits directly into points" idea that needs no math, and a !points @name command that shows anyone's balance.

The raffle-ticket idea works the same way with an overlay. !ticket checks the balance, Spend collectable takes the price, and Add Entry puts the viewer's name on your Picker / Raffle wheel. Adding the same name again gives it one more chance, so every ticket bought really does raise the odds, right there on screen.

Curious who's actually got the most, right now, without building anything? Click the arrow on the right of a Collectable's row on this page. It expands into a per-viewer breakdown with Total / Active / Spent / Expired columns. That's handy for a quick check mid-stream. To keep that leaderboard visible the whole time you're live, build a Collectable top list widget on your Dashboard instead.

A custom Collectable ("Priority Requests") expanded to show its per-viewer Total/Active/Spent/Expired breakdown

See it on your Dashboard. Once a Collectable has real activity, add a balance/history/trend/top-list widget to your Dashboard to watch it move.

Finding a Collectable

Click Search, top-right of the Collectables page, to filter by Name. Type narrows it down to points in one state, like only the expired ones, and Start date / End date to points given in that time range. Only Collectables that have such points stay in the list. The per-viewer breakdown follows the same filter. Clear search in the same panel brings everything back.

The Collectables page's Search filter: Name, Type, Start date, and End date, with Search and Clear search buttons

With your mods

Helpers you invited through Shared Access can help run your Collectables. What they can do depends on their role:

What they can do Analyst Moderator Supermod Full access
See balances and history
Create and rename
Delete

Deleting a Collectable wipes every viewer's points in it, so it's left to Supermod and Full access.

Good habits

  • Set Expires at on purpose. Left empty, points never expire. A moment days or weeks out is what creates urgency, like a currency that's only good until the stream ends.
  • Gate the spend, don't just fire it. Check the balance in front of Spend collectable, so a viewer without enough gets told "not enough points" instead of being drained to zero.
  • Name it for what it does, not what it's worth. "Spell Tokens" tells a viewer what spending one gets them; "Points" doesn't.