Calculations and variables
Josef bots can now perform mathematical operations! We’re empowering our bot builders to build calculations that can be used in automated documents, rules, messages and notifications.
The new Variables library displays an overview of all the bot responses and calculation variables available for builders to use across the platform. From here builders can also create a new calculation or edit an existing one.
Create a new calculation
Create a new calculation by using numerical responses and values together with standard mathematical operators. Type @ in the calculation field to search for responses or other calculations to include.
Bots can calculate dates, durations, percentages, currencies and more.
Read more about setting up calculations here.
Other features and improvements
Additional response types
We have added the formatted response types Currency and Percentage, as well as new formatted Single choice subtypes (percentage, date, currency, number) for builders to use when they would like to gather specifically formatted responses from users.
To make it easier to build rules with numerical values and dates, we’ve included the following logical operators: Greater than, Greater than or equal to, Less than, and Lesser than or equal to.
Builders can now set preferences for time zone, currency and date format in their account. These settings will flow through to bots and format any currency and date responses.
Message and response types
To increase your flexibility as a builder, we have divided message content types into message and response types, meaning that builders can now mix and match the message type and the response type. For example, a bot can show a video and ask for a date response.