Skip to main content

Resources & actions

Two connected ideas let your veacons do things, not just show things:

  • Resources (also called assets) — digital items you can create, own, and give to others: a text, an image, a PDF, audio, video, a vote, a 3D/AR model, or a voucher (an individual code such as a promocode or gift certificate).
  • Actions (also called triggers) — things a veacon's content can do when it's viewed: open another piece of content, grant an asset to the reader, or request a donation of an asset from the reader.

Together they turn a veacon into something interactive — a coupon you hand out, a scavenger-hunt token, a petition to sign, a bonus page to unlock.

"It is not the gift, but the thought that counts." — Henry Van Dyke

Diagram: an asset held by users, and a trigger on a veacon that grants or requests it
Assets are held by people; actions move them between the author and readers.

Resources (assets)​

An asset is a digital item with a few properties:

  • Type — Text, Image, PDF, Audio, Video, Vote, 3D/AR model, or Voucher. The type decides how it's viewed.
  • Amount — how many units exist. It can be a fixed number or infinite (∞). Giving a unit away reduces how many you hold — the total is conserved.
  • Collection — a named group you keep assets in. Everyone also has a special "Acquired" collection that holds assets other people have given them.
  • Age rating — a minimum age; younger users can't receive the asset.
  • Expiry (optional) — a date after which the asset can no longer be given.
  • Security code (optional) — a private code used to control donations.

You create assets in TS Studio, and you hold and use them in the app's Assets tab.

Vouchers​

Most assets are interchangeable — if you hold three units, any three are the same. A voucher is different: it's an asset made of individual, identifiable codes, such as a promocode, a gift certificate, or an entry pass. Each unit carries its own code that the issuer generates, hands out through a veacon, and validates with their own system.

Vouchers follow a few special rules:

  • The issuer uploads the codes in bulk rather than typing them one by one — see TS Studio → Assets.
  • A voucher always has an expiry date, and its amount can't be infinite.
  • When you receive a voucher you get one specific code, shown on a card you can tap to copy in your Assets tab.
  • If the issuer turns on redemption, holders get a Redeem button that marks the code as used through the issuer's own system.

Because each code can go to only one person, voucher grants and donation requests must be once-per-person actions — see below.

A voucher is a shop, not a shelf​

This is the part that surprises almost everyone, so it's worth saying plainly. When you create a voucher and upload nine codes, you don't receive nine codes. They go into a shared pool that belongs to the voucher, and you become its issuer — the shopkeeper, not a customer. Your veacons hand codes out of that pool; nothing is ever placed in your own hands.

So there are two quite different relationships you can have with an asset:

  • Holding — someone gave it to you. It sits in your read-only Acquired collection, and you can open it, copy it, redeem it, or delete it.
  • Issuing — you put it into circulation. You can see how many codes there are and where they've got to, but you never hold them yourself.

Every other asset type blurs the two, because creating one puts the units straight into your hands. A voucher doesn't — and that one difference explains most of the surprises around them, including the app telling you that you hold no codes of a voucher you made yourself. That's accurate, not a bug — see a voucher you issued yourself.

Where every code is​

Four numbers describe a voucher's pool at any moment, and they always account for each other:

available + distributed + redeemed = issued

NumberWhat it counts
IssuedEvery code the issuer has uploaded and not destroyed — the size of the whole pool.
AvailableStill in the pool, waiting. Nobody has it.
DistributedSomebody holds it and hasn't used it.
RedeemedUsed up and out of circulation.

Codes travel one way — available → distributed → redeemed — and nothing sends one back. If a holder deletes an acquired voucher, that code is simply gone rather than returned to the pool. Available never goes up once the voucher is live.

How a code leaves the pool​

The only way out is a grant — an action attached to a veacon's content. When a reader triggers it, Espy takes one code at random from the available pool and gives it to them. The issuer doesn't choose which code goes to whom, and is never told which one went out; the reader finds it in their Acquired collection.

Because moving assets between people is sensitive, a veacon carrying a grant goes for moderator review before it's live — and, as above, a voucher grant has to be once-per-person.

You can't test a voucher on yourself

Espy deliberately hides your own asset actions from you, so opening your own veacon on your own phone shows no give button at all — there's nothing wrong with the veacon. Trying a voucher end to end takes a second account.

Actions (triggers)​

An action is attached to a veacon's content block. It has two parts.

How it activates​

  • On view — runs automatically, invisibly, when the content is opened.
  • On view, once — runs automatically the first time the content is opened, then never again for that person.
  • Button — shows a button the reader can tap, every time.
  • Button, once — shows a button that works once per person, then hides.

What it does​

  • Open content block — jumps the reader to another piece of your content.
  • Grant resource — gives the reader one of your assets (e.g. a reward).
  • Request donation — asks the reader to donate an asset back to you (e.g. collect votes, tokens, or contributions).

You can attach up to 3 actions to a content block.

Vouchers are once-only

Because each voucher code is unique, a grant or donation request that involves a voucher must use a once-per-person activation — On view, once or Button, once. And a grant disappears for readers once the issuer runs out of codes to give.

Donations use a security code

A Request donation action only accepts assets that you created and that carry the matching security code. This makes sure people can only donate the specific asset you intend — not just anything of that type. The reader never sees the code.

Grant & donation actions are reviewed

Because "grant" and "request donation" actions move assets between people, attaching one to a veacon sends that veacon for moderator review — it's automatically taken offline until it's approved. See attaching actions.

Where each part lives​

I want to…Where
Create assets & collections🖥️ TS Studio → Assets
Create actions & attach them to content🖥️ TS Studio → Actions
See, view, and manage assets I hold📱 App → Assets tab
Receive a grant or make a donation📱 On a veacon's content — Reading veacons
Limits

There's a cap on how many collections, assets, and actions you can create. Assets other people give you don't count toward your limits.