---
schema_version: "1"
id: e2cc18867a200d12ac661376dce49948389b4474855df219977fbfbc43b7bcbc
title: Supported Functions in Messaging Component Formulas
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/messaging_components_formula_functions.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.messaging_components_formula_functions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f2e53d23b304092084f6c2fac7a4ae32ffcb1b09da61249b5036bc6335204265
description: Before you customize components in the Messaging Component Builder, review which functions are and aren’t supported.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Supported Functions in Messaging Component Formulas

Before you customize components in the Messaging Component Builder, review which functions are and aren’t supported.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions.</a></td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <a name="messaging_components_formula_functions__d415e784"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="messaging_components_formula_functions__d415e784" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span>
            <strong>This article applies to:</strong>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced In-App Chat, Enhanced Web Chat v1, Enhanced Web Chat v2, Enhanced
            WhatsApp, Enhanced Facebook Messenger, Enhanced SMS, Enhanced Apple Messages for
            Business, Enhanced LINE, and Bring Your Own Channel</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/crossmark.png" alt="X icon"></span>
            <strong>This article doesn’t apply to:</strong>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Standard SMS channels</td>

        </tr>
      </tbody>
    </table>

## Supported Functions

- `+`
- `-`
- `*`
- `/`
- `^`
- `=`
- `<>`
- `<`
- `>`
- `<=`
- `>=`
- `AND`
- `NOT`
- `OR`
- `&`
- `TEXT`
- `DATE`
- `DAY`
- `MONTH`
- `YEAR`
- `TODAY`
- `NOW`
- `TIMENOW`
- `TIMEVALUE`
- `HOUR`
- `MINUTE`
- `SECOND`
- `MILLISECOND`
- `ADDMONTHS`
- `WEEKDAY`
- `DATEVALUE`
- `DATETIMEVALUE`
- `ISNUMBER`
- `ISNULL`
- `ISBLANK`
- `ISPICKVAL`
- `NULLVAL`
- `BLANKVALUE`
- `MOD`
- `MAX`
- `MIN`
- `ROUND`
- `GEOLOCATION`
- `ABS`
- `SQRT`
- `CEILING`
- `FLOOR`
- `MCEILING`
- `MFLOOR`
- `LOG`
- `EXP`
- `LN`
- `DISTANCE`
- `VALUE`
- `LEN`
- `LEFT`
- `MID`
- `RIGHT`
- `BEGINS`
- `CONTAINS`
- `SUBSTITUTE`
- `TRIM`
- `LPAD`
- `RPAD`
- `UPPER`
- `LOWER`
- `FIND`
- `CURRENCYRATE`
- `IF`
- `CASE`
- `INCLUDES`
- `CASESAFEID`
- `BR`
- `TRUE`
- `FALSE`
- `NULL`
- `NOUNESCAPE_STRING_LITERAL`
- `STRING_LITERAL`
- `TEMPLATE_STRING_LITERAL`
- `NUBMER`
- `IDENT`
- `MESSAGINGIMAGE`

## Unsupported Functions

HTML-generating functions aren’t supported.

- `IMAGE`
- `HYPERLINK`
- `GETSESSIONID`
- `PREDICT`
- `DYNAMIC_REF (”[]”)`
- `DYNSAMICREF_IDENT`

#### See Also

- [Add Dynamic Images to Messaging Components](https://help.salesforce.com/s/articleView?id=service.messaging_components_images_dynamic.htm&release=264.0.0&type=5 "If you want a messaging component to show different images depending on the situation, define the images in the Messaging Component Builder by using parameters or sObject formulas. Adding dynamic images to messaging components is more advanced than adding static images, but it’s an effective way to personalize messages sent to customers.")