Roadie

Give or take currency action

Automation · 2 min read ·

Adds or removes points from a viewer’s balance. Learn its setup, options and use in Roadie Automation.

Give or take currency is the currency.change Automation action. Adds or removes points from a viewer’s balance.

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.

  • currencyId — text; minimum 1 characters; maximum 100 characters; required; editor starts with ``; may start with a matching channel resource instead.
  • who — the viewer from the trigger (new steps start with user), someone the trigger or its Only when pattern names, Everyone in chat (everyone, who Roadie counts in chat right now) or Active chatters (active, who chatted within one payout interval). Bots are left out. A trigger with nobody, like a timer, starts with Everyone in chat. The Stream log says how many it reached.
  • mode — choice; required; choices: give, take; editor starts with give.
  • amount — text; maximum 500 characters; required; editor starts with 1; accepts fill-ins.

Before saving: Complete the required choices or values; the blank-channel starting state does not pass validation.

In a flow

Add Give or take currency after the event, command or timer that should cause it. Adds or removes points from a viewer’s balance.

For orientation, the editor starts with {"currencyId":"","who":"user","mode":"give","amount":"1"} in a blank channel. Choose the missing resources or values before saving; this is not a ready-to-run configuration.

In tests default: New Give or take currency 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.

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.

Browse all actions · Use fill-ins