Skip to main content
Version: 9.4

Tokens

Tokens are parameters or variables that act as containers for data. Tokens can be used across different contexts in the application.

Types of Tokens

Qrvey supports the following token types:

  • System Tokens - Standard tokens provided by the system.

  • Data Tokens - Tokens automatically generated from the rows or columns within a dataset and used to reference values from the data.

  • User Defined Tokens - Tokens created manually in text, numeric, or date format.

Tokens Suggestions

Type two curly brackets {{ into the text field where you want to use a token. The dropdown displays available tokens for the specific context.

To access the Tokens Management modal, select Add/Manage Tokens

1_tokens

Token Management

This view displays the available data and user defined tokens in corresponding tabs. Each token can be given a name, a value, an alias for reference, and a description. The User Defined tab is where you can create and manage your own tokens.

2_tokens

In the Data tab, you can find automatically generated tokens for each column in your connected datasets. You can add aliases to any or all of these columns as needed.

3_tokens

System Tokens

System tokens cannot be edited and are available throughout your application with self-explanatory names. The list of supported system tokens is as follows:

  • {{CURRENT_DATE}}
  • {{CURRENT_TIME}}
  • {{CURRENT_TIMEZONE}}
  • {{CURRENT_MONTH}}
  • {{CURRENT_MONTH_NAME}}
  • {{CURRENT_MONTH_START}}
  • {{CURRENT_MONTH_END}}
  • {{LAST_MONTH}}
  • {{LAST_MONTH_NAME}}
  • {{LAST_MONTH_START}}
  • {{LAST_MONTH_END}}
  • {{CURRENT_WEEK}}
  • {{CURRENT_WEEK_START}}
  • {{CURRENT_WEEK_END}}
  • {{LAST_WEEK}}
  • {{LAST_WEEK_START}}
  • {{LAST_WEEK_END}}
  • {{CURRENT_QUARTER}}
  • {{CURRENT_QUARTER_START}}
  • {{CURRENT_QUARTER_END}}
  • {{LAST_QUARTER}}
  • {{LAST_QUARTER_START}}
  • {{LAST_QUARTER_END}}
  • {{CURRENT_YEAR}}
  • {{CURRENT_YEAR_START}}
  • {{LAST_YEAR}}
  • {{LAST_YEAR_START}}
  • {{LAST_YEAR_END}}
  • {{CURRENT_DAY}} — The day of the week (for example, Tuesday)
  • {{CURRENT_DAY_OF_WEEK}}
  • {{CURRENT_DAY_OF_YEAR}}
  • {{NOW}} — The exact time, in mm/dd/yyyy hh:mm:ss format
  • {{TODAY}} — today's date , in mm/dd/yyyy format
  • {{TODAY-7}}
  • {{TODAY-30}}
  • {{TODAY-60}}
  • {{TODAY-90}}
  • {{TODAY-120}}
  • {{TODAY-365}}
  • {{YESTERDAY}}
  • {{TOMORROW}}