Skip to content

Token: replace

Plugin ID: eca_token_replace

Available since: 2.0.0

Replace all tokens, using a recursive strategy.

Fields

Name of token — config key: token_name

Provide the name of a token where the value should be stored. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string

Value of the token — config key: token_value

The value of the token.
This field supports tokens.

Type: textarea · Required: no · Default: empty string

Interpret above value as YAML format — config key: use_yaml

Nested data can be set using YAML format, for example mykey: "My value". When using this format, this option needs to be enabled. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: title: "[node:title]"

Type: checkbox · Required: no · Default: false

Validate YAML to prevent this from being executed when invalid — config key: validate_yaml

Type: checkbox · Required: no · Default: false