Give tokens action
Automation · 2 min read ·
Gives a viewer tokens to spend on your viewer site, or tokens for every number of bits.
Give tokens is the clip.credits Automation action. Gives a viewer tokens to spend on your viewer site, or tokens for every number of bits.
Availability: Choose this action in a flow when its feature and required connections are available to your channel. Before you start: Create or open an Automation flow with a trigger.
Options and starting values
The values below are what the editor starts with for a channel with no matching resources selected. They are starting values, not a guarantee that the step can run as shown. Required resource choices and trigger fields may change the starting values.
who— text; minimum 1 characters; maximum 40 characters; required; editor starts withuser.- Tokens (
count) — text; accepts fill-ins; new steps start with1. Up to 100 a step. Tokens spend on your viewer site and in the Twitch panel, like playing a clip. - For every number of bits — ticked, it gives the tokens for every Every (
every, 1 to 100,000 bits; 100 when ticked) in Bits (bits,{bits}when ticked). Bits short of that carry over to the viewer’s next cheer.
In a flow
Add Give tokens after the event, command or timer that should cause it. Gives a viewer tokens to spend on your viewer site, or tokens for every number of bits.
For orientation, the editor starts with {"who":"user","count":"1"} in a blank channel. Complete any placeholder destination, resource or text before enabling the flow; passing the field schema alone does not prove this will run.
In tests default: New Give tokens steps start at Apply. The trigger editor’s Run test currently applies every action regardless of this per-step default. Use a harmless flow when learning the Test panel; a test can make real changes.
Needs tokens on (a way to earn on Settings › Viewer site › Tokens). A test gives a sample viewer only. There is no Undo: a token can be spent right away. See Configure viewer tokens.
Values for later steps
This action does not declare a named output for later steps.
If the step fails
The run log records the failed step and its reason. The step’s Stop the run if it fails setting decides whether later steps run. Missing connections, permissions, or required choices can prevent this step from completing.