{"id":6797,"date":"2026-01-20T17:13:55","date_gmt":"2026-01-20T14:13:55","guid":{"rendered":"https:\/\/help.bothelp.io\/?p=6797"},"modified":"2026-03-27T19:24:17","modified_gmt":"2026-03-27T16:24:17","slug":"dostupnye-funkczii-v-shage-formula","status":"publish","type":"post","link":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/","title":{"rendered":"Available Functions in the \"Formula\" Step"},"content":{"rendered":"<p>The &#8220;Formula&#8221; step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems.<\/p>\n<p>For clarity, copy the template via the <a href=\"https:\/\/main.bothelp.io\/f\/465c9948d65\" target=\"_blank\" rel=\"noopener\">link<\/a> \u2013 click <strong>Copy in BotHelp<\/strong>, specify your account domain, and click <strong>Save Flow<\/strong>. Within a few minutes, the template will be copied to your account. You can then edit the blocks to suit your needs.<\/p>\n<h2>Mathematical Functions<\/h2>\n<p>Arithmetic operations are supported: <code data-start=\"1035\" data-end=\"1038\">+<\/code>, <code data-start=\"1040\" data-end=\"1043\">-<\/code>, <code data-start=\"1045\" data-end=\"1048\">*<\/code>, <code data-start=\"1050\" data-end=\"1053\">\/<\/code><\/p>\n\n<table id=\"tablepress-5\" class=\"tablepress tablepress-id-5\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><strong>Function<\/strong><\/th><th class=\"column-2\"><strong>Description<\/strong><\/th><th class=\"column-3\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">round(x)<\/td><td class=\"column-2\">Rounds a number to the nearest integer (0.5 rounds up).<br \/>\nWhen using a numeric field, the function round round({%numeric_field%}, 3) rounds only to 3 decimal places (thousandths). For example, the number 2.123456789 becomes 2.123 after rounding.<\/td><td class=\"column-3\">round(2.5) \u2192 3<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">int(x)<\/td><td class=\"column-2\">Converts a value to an integer.<\/td><td class=\"column-3\">int(\"42\") \u2192 42<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">float(x)<\/td><td class=\"column-2\">Converts a string to a floating-point number.<\/td><td class=\"column-3\">float(\"12.34\") \u2192 12.34<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">str(x)<\/td><td class=\"column-2\">Converts a value to a text string.<\/td><td class=\"column-3\">str(100) \u2192 \"100\"<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-5 from cache -->\n<p>Let\u2019s look at calculation examples. Variables must be set in <strong>advance<\/strong>.<\/p>\n<p>Create a Formula step.<\/p>\n<p>&#8220;&#8221;&#8221;&#8221;Calculate variable values&#8221;&#8221;&#8221;<br \/>\nclient.A = 2 &#8211; 4 # Data type &#8220;Number, negative&#8221;<br \/>\nclient.B = 1.275 + 5 # Data type &#8220;Number, decimal&#8221;<br \/>\nclient.C = 5 * 10 \/ 2 # Data type &#8220;Number, integer&#8221;<br \/>\nclient.D = &#8220;10&#8221; # Data type &#8220;String&#8221;<br \/>\nclient.E = &#8220;10.5&#8221; # Data type &#8220;String&#8221;<\/p>\n<p>&#8220;&#8221;&#8221;&#8221;Working with local variables&#8221;&#8221;&#8221;<br \/>\nlocal1 = 2 # Assigned a local variable<br \/>\nlocal2 = 3<\/p>\n<p><strong>Added local variables into a user variable<\/strong><\/p>\n<p>client.F = local1 + local2<\/p>\n<p>&#8220;&#8221;&#8221;&#8221;Apply mathematical functions&#8221;&#8221;&#8221;<br \/>\nclient.discount = round(client.B) # Round to nearest integer<br \/>\nclient.sum_orders = int(client.D) # Convert string to number<br \/>\nclient.life_number = float(client.E) # Convert string to number with decimal<br \/>\nclient.forecast = str(client.C) # Convert number to string<\/p>\n<p>In the Message step, display text to the subscriber<\/p>\n<p>\u2014 Calculate variable values<br \/>\nA = {%A%}<br \/>\nB = {%B%}<br \/>\nC = {%C%}<br \/>\nD = {%D%}<br \/>\nE = {%E%}<br \/>\n\u2014 Working with local variables<br \/>\nF = {%F%}<br \/>\n\u2014 Apply mathematical functions<br \/>\ndiscount = {%discount%}<br \/>\nsum_orders = {%sum_orders%}<br \/>\nlife_number = {%life_number%}<br \/>\nforecast = {%forecast%}<\/p>\n<h2>Logical and Conditional Functions<\/h2>\n\n<table id=\"tablepress-6\" class=\"tablepress tablepress-id-6\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><strong>Function<\/strong><\/th><th class=\"column-2\"><strong>Description<\/strong><\/th><th class=\"column-3\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">if(condition, then_value, else_value)<\/td><td class=\"column-2\">Checks a condition. If it is true, returns then_value; otherwise, returns else_value.<\/td><td class=\"column-3\">if(client.age >= 18, \"\u0412\u0437\u0440\u043e\u0441\u043b\u044b\u0439\", \"\u041d\u0435\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e\u043b\u0435\u0442\u043d\u0438\u0439\")<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">if(condition, then_value)<\/td><td class=\"column-2\">If else_value is not specified, returns an empty string.<\/td><td class=\"column-3\">if(is_null(client.phone), \"\u041d\u043e\u043c\u0435\u0440 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\")<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">is_null(var)<\/td><td class=\"column-2\">Checks if a variable is empty.<\/td><td class=\"column-3\">is_null(client.email) \u2192 True<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">and, or, not<\/td><td class=\"column-2\">Logical operators for combining conditions.<\/td><td class=\"column-3\">if(a > 0 and b < 10, \"ok\")<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-6 from cache -->\n<p>Boolean values are supported: <code data-start=\"1754\" data-end=\"1760\">True<\/code>, <code data-start=\"1762\" data-end=\"1769\">False<\/code>.<\/p>\n<p>In this example, we calculate the final discount based on previous purchases and the number of completed lessons. Make sure all necessary variables are created in <strong>advance<\/strong>.<\/p>\n<p>#1. Loyalty: 20% discount if purchases &gt; 3<\/p>\n<p>base_discount = if(client.sum_orders &gt; 3, 20, 0)<\/p>\n<p>#2. Engagement: 20% for &gt;=10 lessons, 10% for &gt;=5<\/p>\n<p>engagement_discount = if(client.completed_lessons &gt;= 10, 20, if(client.completed_lessons &gt;= 5, 10, 0))<\/p>\n<p>#3. Final discount<\/p>\n<p>client.discount = base_discount + engagement_discount<\/p>\n<p>In line <strong>2<\/strong> we use the logical <code>if<\/code> condition:<\/p>\n<ul>\n<li>if the variable value (e.g., number of previous purchases) is greater <strong>than 3<\/strong>, set <strong>base_discount = 20<\/strong>;<\/li>\n<li>otherwise (less than 3) \u2014 <strong>0.<\/strong><\/li>\n<\/ul>\n<p>In line <strong>5<\/strong> we create a condition for the number of completed lessons. The condition here is double:<\/p>\n<ul>\n<li>if value <strong>&gt;= 10<\/strong> \u2014 <strong>engagement_discount = 20<\/strong>;<\/li>\n<li>if value <strong>&gt;= 5<\/strong> \u2014 <strong>engagement_discount = 10<\/strong>;<\/li>\n<li>otherwise \u2014 <strong>0<\/strong>.<\/li>\n<\/ul>\n<p>Note: <strong>base_discount<\/strong> and <strong>engagement_discount<\/strong> are variables <strong>without<\/strong> prefixes. They work only within the current &#8220;Formula&#8221; step and serve as intermediate calculations. They are needed later in line 8 to get the final value.<\/p>\n<p>In line <strong>8<\/strong> we sum the local variables.<\/p>\n<p>The resulting value is written to the user variable <strong>discount<\/strong>, which can be displayed to the subscriber in the next scenario steps.<\/p>\n<h2>Working with Strings<\/h2>\n\n<table id=\"tablepress-7\" class=\"tablepress tablepress-id-7\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><strong>Function<\/strong><\/th><th class=\"column-2\"><strong>Description<\/strong><\/th><th class=\"column-3\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">len(text)<\/td><td class=\"column-2\">Returns the number of characters in a string.<\/td><td class=\"column-3\">len(\"\u041f\u0440\u0438\u0432\u0435\u0442\") \u2192 6<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">substring(str, n1, n2)<\/td><td class=\"column-2\">Trims the string: n1 \u2014 how many characters to keep from the left, n2 \u2014 how many to trim from the right.<\/td><td class=\"column-3\">substring(\"BotHelp\", 3, -2) \u2192 \"tHel\"<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">upper(text)<\/td><td class=\"column-2\">Converts text to uppercase.<\/td><td class=\"column-3\">upper(\"\u043f\u0440\u0438\u0432\u0435\u0442\") \u2192 \"\u041f\u0420\u0418\u0412\u0415\u0422\"<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">lower(text)<\/td><td class=\"column-2\">Converts text to lowercase.<\/td><td class=\"column-3\">lower(\"HELLO\") \u2192 \"hello\"<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">split(text, separator)<\/td><td class=\"column-2\">Splits the string by a separator and returns the first part.<\/td><td class=\"column-3\">split(\"\u0418\u0432\u0430\u043d \u041f\u0435\u0442\u0440\u043e\u0432\", \" \") \u2192 \"\u0418\u0432\u0430\u043d\"<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">match(text, pattern, ignore_case=True)<\/td><td class=\"column-2\">Checks if the string contains the specified word (by pattern).<\/td><td class=\"column-3\">match(\"\u043a\u0443\u043f\u0438\u0442\u044c \u0442\u043e\u0432\u0430\u0440\", \"\u043a\u0443\u043f\u0438\u0442\u044c\") \u2192 True<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-7 from cache -->\n<p>Variables of type &#8220;Date&#8221; and &#8220;DateTime&#8221; are stored in internal format: <code class=\"whitespace-pre!\">YYYY-MM-DD<\/code>. For example, a user input of <code data-start=\"377\" data-end=\"389\">11.11.2011<\/code> is stored internally as <code data-start=\"410\" data-end=\"424\">\"2011-11-11\"<\/code>. Therefore, when using <code data-start=\"453\" data-end=\"466\">substring()<\/code>, the trimming is done according to this format.<\/p>\n<p>To get the expected values:<\/p>\n<p><strong>Option 1: convert the date to the familiar format<\/strong><\/p>\n<p><code>date = format_date(client.birth_date, \"%d.%m.%Y\")<\/code><\/p>\n<p><strong>Option 2: trim the date considering the YYYY-MM-DD format<\/strong><\/p>\n<p>Use the indices of the string <code data-start=\"767\" data-end=\"781\">\"2011-11-11\"<\/code>.<\/p>\n<p>All operations are performed in the account timezone.<br \/>\nMultiplying or dividing dates will cause a &#8220;Type Error&#8221;.<\/p>\n<p>As an example, let&#8217;s count the number of characters in a string using <strong>len(x)<\/strong>. Variables with the required names must be created in <strong>advance<\/strong>.<\/p>\n<p>#Count the number of characters<br \/>\nclient.answer_count = len(client.answer)<\/p>\n<p>#Check if the number of characters is more than 10. Apply a logical condition \u2013 if more than 10, assign 1 to answer_valid. If less, assign 0<br \/>\nclient.answer_valid = len(client.answer) &gt;= 10<\/p>\n<p>In the next example, we calculate the life number \u2013 the sum of all digits in the birth date.<\/p>\n<p>After obtaining the subscriber&#8217;s date, we can pass it in the variable <strong>birth_date<\/strong> in the &#8220;Formula&#8221; step.<\/p>\n<ul>\n<li>In line 1, convert the date format to the required form. Since variables of type &#8220;Date&#8221; and &#8220;DateTime&#8221; are stored internally as <code>YYYY-MM-DD<\/code>, even if the user entered <code>11.11.2011<\/code>, inside BotHelp it is stored as <code>\"2011-11-11\"<\/code>.<\/li>\n<li>From lines 3 to 10, use <strong>substring()<\/strong> to extract the digits of the birth date and store them in local variables.<\/li>\n<li>In line 11, sum the extracted digits into <strong>life_number<\/strong> to display to the subscriber.<\/li>\n<\/ul>\n<p>date = format_date(client.birth_date, &#8220;%d.%m.%Y&#8221;)<\/p>\n<p>d1 = int(substring(date, 0, -9))<br \/>\nd2 = int(substring(date, 1, -8))<br \/>\nd3 = int(substring(date, 3, -6))<br \/>\nd4 = int(substring(date, 4, -5))<br \/>\nd5 = int(substring(date, 6, -3))<br \/>\nd6 = int(substring(date, 7, -2))<br \/>\nd7 = int(substring(date, 8, -1))<br \/>\nd8 = int(substring(date, 9, 0))<\/p>\n<p>client.life_number = d1+d2+d3+d4+d5+d6+d7+d8<\/p>\n<h2>Working with Dates and Time<\/h2>\n<p>\n<table id=\"tablepress-8\" class=\"tablepress tablepress-id-8\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><strong>Function<\/strong><\/th><th class=\"column-2\"><strong>Description<\/strong><\/th><th class=\"column-3\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">get_current_time()<\/td><td class=\"column-2\">Returns the current date and time in the cabinet\u2019s time zone. Format: %Y-%m-%d %H:%M:%S.<\/td><td class=\"column-3\">globals.now = get_current_time() \u2192 \"2025-11-11 16:30:00\"<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">addYear(date, years)<\/td><td class=\"column-2\">Adds or subtracts years (taking leap years into account). Use a negative number to subtract.<\/td><td class=\"column-3\">addYear(\"2020-01-01\", 3) \u2192 \"2023-01-01\"<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">addMonth(date, months)<\/td><td class=\"column-2\">Adds or subtracts months (takes month lengths and leap years into account).<\/td><td class=\"column-3\">addMonth(\"2025-01-10\", 2) \u2192 \"2025-03-10\"<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">addDays(date, days)<\/td><td class=\"column-2\">Adds or subtracts days. Use a negative number to subtract.<\/td><td class=\"column-3\">addDays(\"20.08.2019\", -99) \u2192 \"13.05.2019\"<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">addMinutes(date, minutes)<\/td><td class=\"column-2\">Adds or subtracts minutes (for \"Date and Time\" values).<\/td><td class=\"column-3\">addMinutes(get_current_time(), 20) \u2192 \"2025-11-11 16:50:00\"<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">format_date(date, \"\u0444\u043e\u0440\u043c\u0430\u0442\")<\/td><td class=\"column-2\">Converts a date to the specified format. Supported formats: %Y-%m-%d, %d.%m.%Y, %Y-%m-%d %H:%M:%S, %d.%m.%Y %H:%M:%S.<\/td><td class=\"column-3\">format_date(\"2025-10-10\", \"%d.%m.%Y\") \u2192 \"10.10.2025\"<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">date_diff(date1, date2, unit)<\/td><td class=\"column-2\">Returns the difference between two dates. The unit parameter can be \"days\" or \"minutes\".<\/td><td class=\"column-3\">date_diff(client.birth_date, get_current_time(), \"days\") \u2192 9125<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-8 from cache --><br \/>\nWhen comparing, data1 is subtracted from data2.<\/p>\n<p>Calculate the subscriber&#8217;s age and make a prediction based on it. First, request the birth date and store the answer in a date variable <strong>birth_date<\/strong>.<\/p>\n<p>Then in the &#8220;Formula&#8221; step:<\/p>\n<ol>\n<li>Use <strong>int<\/strong> to remove fractions and get the full number of years.<\/li>\n<li>Use <strong>date_diff<\/strong> to calculate the difference in days between the previously entered <strong>birth_date<\/strong> and the current date <strong>get_current_time<\/strong>.<\/li>\n<li>Then use an <strong>IF<\/strong> condition to write the corresponding answer into the variable <strong>forecast<\/strong>.<\/li>\n<\/ol>\n<pre>client.age_years = int(date_diff(client.birth_date, get_current_time(), \"days\") \/ 365)\r\nclient.forecast = if(client.age_years &gt;= 30,\"Now is the time for consistency and stability \ud83d\udc4c\",\"Period of experiments and growth, try something new \ud83d\udcab\")<\/pre>\n<p>And display the answer to the subscriber in the bot.<\/p>\n<pre>You are {%age_years%} years old {%forecast%}<\/pre>\n<p><strong>Birth Date Parsing Template<\/strong><\/p>\n<p>One of the popular requests is working with personal data to create forecasts, horoscopes, or individual offers. We have prepared a ready template that demonstrates the &#8220;Formula&#8221; in action.<\/p>\n<p><strong>What this template does:<\/strong><\/p>\n<ol>\n<li>Accepts the user&#8217;s birth date in a unified format.<\/li>\n<li>Automatically separates it into three variables: Day, Month, and Year.<\/li>\n<li>Prepares data for generating a personal forecast for the upcoming year.<\/li>\n<\/ol>\n<p><strong>Why this is useful for your business?<\/strong><\/p>\n<p>Create unique forecasts or calculations (numerology, astrology, financial indicators).<\/p>\n<p><a href=\"https:\/\/main.bothelp.io\/f\/f7cfa9aa6c2\" target=\"_blank\" rel=\"noopener\">Link to the ready template<\/a><\/p>\n<h2>Line Break (<strong><code>\\n<\/code><\/strong>)<\/h2>\n<p>The <code>\\n<\/code> character adds a line break within text.<\/p>\n<p>Example:<\/p>\n<pre>client.text =\"First line\\nSecond line\"<\/pre>\n<p>Result:<\/p>\n<pre>First line\r\nSecond line<\/pre>\n<h2>String Concatenation<\/h2>\n<ol>\n<li><strong>Concatenating strings using the <code>+<\/code> operator<\/strong><\/li>\n<\/ol>\n<p>Task: combine multiple values into <strong>one string<\/strong> and store the result in a variable. Used when you need to:<\/p>\n<ul>\n<li>create text once<\/li>\n<li>assemble a final message,<\/li>\n<li>create an identifier or signature.<\/li>\n<\/ul>\n<p><strong>Logic<\/strong><\/p>\n<ol>\n<li>Concatenation with + works only with strings. Values of other types must be converted to a string using str() beforehand. Example: str(client.A)<\/li>\n<li>Concatenate them using +.<\/li>\n<li>Assign the result to a variable.<\/li>\n<\/ol>\n<p>Example:<\/p>\n<pre>client.result =\"Order #\" + client.order_id +\" accepted\"<\/pre>\n<p>What is stored in <strong>client.result<\/strong><\/p>\n<pre>Order #12345 accepted<\/pre>\n<p><strong>Note:<\/strong> the + operator creates a new value. If you execute this code again, the previous value will be overwritten.<\/p>\n<ol start=\"2\">\n<li><strong>Adding text to a string using the <code>+=<\/code> operator<\/strong><\/li>\n<\/ol>\n<p>Task: gradually append text to an existing string without overwriting previous values. Used for:<\/p>\n<ul>\n<li>logs,<\/li>\n<li>message history,<\/li>\n<li>accumulating comments.<\/li>\n<\/ul>\n<p><strong>Logic<\/strong><\/p>\n<ol>\n<li>The variable already contains text.<\/li>\n<li>Use <code>+=<\/code> to add a new line at the end.<\/li>\n<li>The old value is preserved.<\/li>\n<\/ol>\n<p>Example:<\/p>\n<pre>client.log =\"First message\"\r\nclient.log +=\"\\nSecond message\"\r\nclient.log +=\"\\nThird message\"<\/pre>\n<p>What is stored in <strong>client.log<\/strong><\/p>\n<pre>First message\r\nSecond message\r\nThird message<\/pre>\n<p><strong>Note:<\/strong> the <code>+=<\/code> operator <strong>does not replace<\/strong> the value, it adds a new one at the end of the string. For visual line separation, use \\n (line break).<\/p>\n<p>As an example, we will accumulate the user&#8217;s input history in one variable, adding the event time to each entry.<\/p>\n<p><strong>Logic<\/strong><\/p>\n<ol>\n<li>Write the current time to a local variable using <code>get_current_time()<\/code>.<\/li>\n<li>Concatenate into the output variable (for checking) the data from the variable number_order adding a line break via \u201c\\n\u201d. Concatenation can only be done with string variables. If a variable is another type, convert it to string using str().<\/li>\n<li>Add the entry to the end of the log using <code>+=<\/code>, separating entries with an empty line.<\/li>\n<\/ol>\n<pre>A = get_current_time ()\r\nclient.check += ( '\\n'+ '\\n' + client.number_order + '\\n' + ' \u25f7 ' + A )<\/pre>\n<p><strong>Checking if a Field is Filled (<code>is_null<\/code>)<\/strong><\/p>\n<p>Check if the subscriber entered a value and:<\/p>\n<ul>\n<li>get the technical check result (<code>True \/ False<\/code>),<\/li>\n<li>display a user-friendly message based on the result.<\/li>\n<\/ul>\n<p><strong>Logic<\/strong><\/p>\n<ol>\n<li>Check the variable using <code>is_null()<\/code>.<\/li>\n<li>Store the check result in a separate variable.<\/li>\n<li>Use <code>if()<\/code> to convert the result to text for the subscriber.<\/li>\n<li>Display the result in a message.<\/li>\n<\/ol>\n<p><strong>Formula Step Code<\/strong><\/p>\n<pre>client.A = is_null(client.answer)\r\nclient.D = if(is_null(client.answer), \"Field is empty\", \"Field is not empty\")<\/pre>\n<p>Display in the message<\/p>\n<pre>{%A%}\r\n{%D%}<\/pre>\n<p><strong>What the subscriber sees<\/strong><\/p>\n<p>If the field is empty:<\/p>\n<pre>1\r\nField is empty<\/pre>\n<p>If the field is filled:<\/p>\n<pre>0\r\nField is not empty<\/pre>\n<p><strong>Important to know<\/strong><\/p>\n<p><code>is_null()<\/code> returns a logical value. When stored in a variable:<\/p>\n<ul>\n<li><code>1<\/code> means <code>True<\/code>,<\/li>\n<li><code>0<\/code> means <code>False<\/code>.<\/li>\n<li>The results (1 or 0) can only be stored in a variable of type number or text.<\/li>\n<\/ul>\n<hr data-start=\"1913\" data-end=\"1916\" \/>\n<p data-start=\"1918\" data-end=\"1964\">If you did not find the answer to your question, feel free to contact us in the chat inside your dashboard, message us on Telegram at <a href=\"https:\/\/t.me\/BotHelpSupportBot\" target=\"_blank\" rel=\"noopener\"><strong data-start=\"1851\" data-end=\"1873\">@BotHelpSupportBot<\/strong><\/a>, or email us at <a href=\"mailto:hello@bothelp.io\" target=\"_blank\" rel=\"noopener\"><strong data-start=\"1890\" data-end=\"1910\">hello@bothelp.io<\/strong>.<\/a><\/p>\n<p>Get 14 Days of Full Access to the Platform<\/p>\n<p data-start=\"1966\" data-end=\"2095\">Enjoy the full functionality of the BotHelp platform for creating broadcasts, automated funnels, and chatbots \u2014 free for 14 days.<\/p>\n<p data-start=\"2097\" data-end=\"2117\"><a href=\"https:\/\/bothelp.io\/ru\"><strong data-start=\"2097\" data-end=\"2117\">Get 14 Days Free<\/strong><\/a><\/p>\n\r\n\t\t\t<div id=\"daexthefu-container\"\r\n\t\t\t\tclass=\"daexthefu-container daexthefu-layout-side-by-side daexthefu-alignment-left\"\r\n\t\t\t\tdata-post-id=\"6797\">\r\n\r\n\t\t\t\t<div class=\"daexthefu-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefu-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefu-title\">\u0411\u044b\u043b\u0430 \u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u0430?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefu-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefu-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-yes daexthefu-button daexthefu-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefu-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefu-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefu-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-no daexthefu-button daexthefu-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefu-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefu-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefu-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-comment\">\r\n\t\t\t\t\t<div class=\"daexthefu-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefu-comment-label\" class=\"daexthefu-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefu-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefu-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefu-comment-textarea\" class=\"daexthefu-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefu-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-submit daexthefu-button\">\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-cancel daexthefu-button\">\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-successful-submission-text\">\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>The &#8220;Formula&#8221; step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems. For clarity, copy the template via the link \u2013 click Copy in BotHelp, specify your account domain, and click Save Flow. Within a [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_helpful_status":1,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-6797","post","type-post","status-publish","format-standard","hentry","category-shagi-v-botah"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Available Functions in the &quot;Formula&quot; Step<\/title>\n<meta name=\"description\" content=\"The &quot;Formula&quot; step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems. For clarity, copy the template via the link \u2013 click Copy in BotHelp, specify your account domain, and click Save Flow. Within a&hellip;\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/The%20Formula%20step%20supports%20a%20set%20of%20built-in%20functions%20for%20working%20with%20numbers,%20strings,%20dates,%20and%20logical%20conditions.%20They%20help%20perform%20calculations,%20transformations,%20and%20checks%20directly%20within%20the%20scenario,%20without%20external%20systems.%20For%20clarity,%20copy%20the%20template%20via%20the%20link%20\u2013%20click%20Copy%20in%20BotHelp,%20specify%20your%20account%20domain,%20and%20click%20Save%20Flow.%20Within%20a&hellip;\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Available Functions in the &quot;Formula&quot; Step\" \/>\n<meta property=\"og:description\" content=\"The &quot;Formula&quot; step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems. For clarity, copy the template via the link \u2013 click Copy in BotHelp, specify your account domain, and click Save Flow. Within a&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bothelpru\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-20T14:13:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-27T16:24:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.bothelp.io\/wp-content\/uploads\/2026\/01\/snimok-ekrana-2026-03-17-v-12.34.21-scaled.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"699\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"e.bezmaternykh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"e.bezmaternykh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/\"},\"author\":{\"name\":\"e.bezmaternykh\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#\\\/schema\\\/person\\\/3d6703d74bf6281d752af998b5a7a799\"},\"headline\":\"Available Functions in the \\\"Formula\\\" Step\",\"datePublished\":\"2026-01-20T14:13:55+00:00\",\"dateModified\":\"2026-03-27T16:24:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/\"},\"wordCount\":1052,\"image\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/help.bothelp.io\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png\",\"articleSection\":[\"Steps in bots\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/\",\"url\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/\",\"name\":\"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u0448\u0430\u0433\u0435 \u00ab\u0424\u043e\u0440\u043c\u0443\u043b\u0430\u00bb - \u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/help.bothelp.io\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png\",\"datePublished\":\"2026-01-20T14:13:55+00:00\",\"dateModified\":\"2026-03-27T16:24:17+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#\\\/schema\\\/person\\\/3d6703d74bf6281d752af998b5a7a799\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#primaryimage\",\"url\":\"https:\\\/\\\/help.bothelp.io\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png\",\"contentUrl\":\"https:\\\/\\\/help.bothelp.io\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/available-functions-in-the-formula-step\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"How to Work with BotHelp Service: Setting Up Your Account for Your Business Goals\",\"item\":\"https:\\\/\\\/help.bothelp.io\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Available Functions in the \\\"Formula\\\" Step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/\",\"name\":\"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp\",\"description\":\"\u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#\\\/schema\\\/person\\\/3d6703d74bf6281d752af998b5a7a799\",\"name\":\"e.bezmaternykh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cb3cb3e24dd71cdab99be19c756f97e910900e6371c5573a7604f4cb2a523a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cb3cb3e24dd71cdab99be19c756f97e910900e6371c5573a7604f4cb2a523a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5cb3cb3e24dd71cdab99be19c756f97e910900e6371c5573a7604f4cb2a523a9?s=96&d=mm&r=g\",\"caption\":\"e.bezmaternykh\"},\"url\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/author\\\/e-bezmaternykh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Available Functions in the \"Formula\" Step","description":"The \"Formula\" step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems. For clarity, copy the template via the link \u2013 click Copy in BotHelp, specify your account domain, and click Save Flow. Within a&hellip;","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"The \"Formula\" step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems. For clarity, copy the template via the link \u2013 click Copy in BotHelp, specify your account domain, and click Save Flow. Within a&hellip;","og_locale":"en_US","og_type":"article","og_title":"Available Functions in the \"Formula\" Step","og_description":"The \"Formula\" step supports a set of built-in functions for working with numbers, strings, dates, and logical conditions. They help perform calculations, transformations, and checks directly within the scenario, without external systems. For clarity, copy the template via the link \u2013 click Copy in BotHelp, specify your account domain, and click Save Flow. Within a&hellip;","og_url":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/","og_site_name":"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp","article_publisher":"https:\/\/www.facebook.com\/bothelpru","article_published_time":"2026-01-20T14:13:55+00:00","article_modified_time":"2026-03-27T16:24:17+00:00","og_image":[{"width":2560,"height":699,"url":"https:\/\/help.bothelp.io\/wp-content\/uploads\/2026\/01\/snimok-ekrana-2026-03-17-v-12.34.21-scaled.png","type":"image\/png"}],"author":"e.bezmaternykh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"e.bezmaternykh","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#article","isPartOf":{"@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/"},"author":{"name":"e.bezmaternykh","@id":"https:\/\/help.bothelp.io\/#\/schema\/person\/3d6703d74bf6281d752af998b5a7a799"},"headline":"Available Functions in the \"Formula\" Step","datePublished":"2026-01-20T14:13:55+00:00","dateModified":"2026-03-27T16:24:17+00:00","mainEntityOfPage":{"@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/"},"wordCount":1052,"image":{"@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#primaryimage"},"thumbnailUrl":"https:\/\/help.bothelp.io\/wp-content\/uploads\/2026\/01\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png","articleSection":["Steps in bots"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/","url":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/","name":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u0448\u0430\u0433\u0435 \u00ab\u0424\u043e\u0440\u043c\u0443\u043b\u0430\u00bb - \u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp","isPartOf":{"@id":"https:\/\/help.bothelp.io\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#primaryimage"},"image":{"@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#primaryimage"},"thumbnailUrl":"https:\/\/help.bothelp.io\/wp-content\/uploads\/2026\/01\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png","datePublished":"2026-01-20T14:13:55+00:00","dateModified":"2026-03-27T16:24:17+00:00","author":{"@id":"https:\/\/help.bothelp.io\/#\/schema\/person\/3d6703d74bf6281d752af998b5a7a799"},"breadcrumb":{"@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#primaryimage","url":"https:\/\/help.bothelp.io\/wp-content\/uploads\/2026\/01\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png","contentUrl":"https:\/\/help.bothelp.io\/wp-content\/uploads\/2026\/01\/snimok-ekrana-2026-03-17-v-12.34.21-1024x280.png"},{"@type":"BreadcrumbList","@id":"https:\/\/help.bothelp.io\/en\/available-functions-in-the-formula-step\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"How to Work with BotHelp Service: Setting Up Your Account for Your Business Goals","item":"https:\/\/help.bothelp.io\/"},{"@type":"ListItem","position":2,"name":"Available Functions in the \"Formula\" Step"}]},{"@type":"WebSite","@id":"https:\/\/help.bothelp.io\/en\/#website","url":"https:\/\/help.bothelp.io\/en\/","name":"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp","description":"\u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.bothelp.io\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/help.bothelp.io\/#\/schema\/person\/3d6703d74bf6281d752af998b5a7a799","name":"e.bezmaternykh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5cb3cb3e24dd71cdab99be19c756f97e910900e6371c5573a7604f4cb2a523a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5cb3cb3e24dd71cdab99be19c756f97e910900e6371c5573a7604f4cb2a523a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5cb3cb3e24dd71cdab99be19c756f97e910900e6371c5573a7604f4cb2a523a9?s=96&d=mm&r=g","caption":"e.bezmaternykh"},"url":"https:\/\/help.bothelp.io\/en\/author\/e-bezmaternykh\/"}]}},"_links":{"self":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts\/6797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/comments?post=6797"}],"version-history":[{"count":45,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts\/6797\/revisions"}],"predecessor-version":[{"id":7788,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts\/6797\/revisions\/7788"}],"wp:attachment":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/media?parent=6797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/categories?post=6797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/tags?post=6797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}