Standard Variables
How to use standard variables in any steptype
Most FlowEQ variables (accessible with the button in steptype configurations) are dependent upon the systems you have connected to FlowEQ.
But FlowEQ has its own variables, listed below, which can be used in any steptype without any special integrations or login credentials.
December 31, 2023, 4:00 PM PST in San Francisco
. The corresponding date and time in UTC (which is 8 hours ahead of San Francisco PST) is January 1, 2024, 12:00 AM
.<%= currentDate %>
- Output: Gives the current date in a MM-DD-YYYY format in local browser time.
- Example: 12-31-2023
<%= currentDateUTC %>
- Output: Gives the current date in a MM-DD-YYYY format in UTC.
- Example: 01-01-2024
<%= currentDateISO %>
- Output: Gives the current date in ISO format in local browser time.
- Example: 2023-12-31
<%= currentDateISOUTC %>
- Output: Gives the current date in ISO format in UTC.
- Example: 2024-01-01
<%= currentDateTimeISO %>
- Output: Gives the current time in ISO format in local browser time.
- Example: 2023-12-31T16:00:00.000-08:00
<%= currentDateTimeISOUTC %>
- Output: Gives the current time in ISO format in UTC.
- Example: 2024-01-01T00:00:00.000Z
<%= currentYear %>
- Output: Gives the current year in YYYY format in local browser time.
- Example: 2023
<%= currentYearUTC %>
- Output: Gives the current year in YYYY format in UTC.
- Example: 2024
<%= currentMonth %>
- Output: Gives the current month number in local browser time.
- Example: 12
<%= currentMonthUTC %>
- Output: Gives the current month number in UTC.
- Example: 1
<%= currentMonthName %>
- Output: Gives the name of the current month in local browser time.
- Example: December
<%= currentMonthNameUTC %>
- Output: Gives the name of the current month in UTC.
- Example: January
<%= currentDay %>
- Output: Gives the current day of the month in local browser time.
- Example: 31
<%= currentDayUTC %>
- Output: Gives the current day of the month in UTC.
- Example: 1
<%= currentDayOf %>
- Output: Gives the current day of the month with ordinal suffix in local browser time.
- Example: 31st
<%= currentDayOfUTC %>
- Output: Gives the current day of the month with ordinal suffix in UTC.
- Example: 1st
<%= currentHour %>
- Output: Gives the current hour of the day in local browser time.
- Example: 16
<%= currentHourUTC %>
- Output: Gives the current hour of the day in UTC.
- Example: 00
<%= currentMinute %>
- Output: Gives the current minute of the hour in local browser time.
- Example: 00
<%= currentMinuteUTC %>
- Output: Gives the current minute of the hour in UTC.
- Example: 00
<%= currentUrl %>
- Output: Gives the full URL of the current page currently loaded in your browser.
- Example:
https://example.zendesk.com/agent/tickets/12345
(if run from Zendesk ticket 12345)