Documents
HomeAcademyContactInstallation Guide
User Manual
User Manual
  • Introduction & High Level Architecture
  • 200 OK Versions
    • Prerequisites
      • Internal Authentication Setup
      • Configuration for Email Threshold
    • Release Notes 200 OK Version 5.68.0
    • Release Notes 200 OK Version 5.36.0
    • Release Notes 200 OK Version 5.0.0
    • Release Notes 200 OK Version 4.26.0
    • Release Notes 200 OK Version 4.22.0
    • Release Notes 200 OK Version 4.6.0
    • Release Notes 200 OK Version 4.1.0
    • Release Notes 200 OK Version 3.47.0
    • Release Notes 200 OK Version 3.41.0
  • 200 OK UI Walkthrough
  • Access Configuration
  • Integration Channel
    • How to Create an Integration Channel.
    • Run Your Integration Channel: Let’s Make It Happen!
  • Integration Actions
    • Data Store
    • sObject
    • Apex Class
    • File
    • Platform Event
    • Quick Action
    • Global Action
    • Big Object
    • External Object
    • Integration Channel
    • Auto-launched Flow
    • Callback (client callback)
    • Custom Settings
    • Custom Metadata Type
    • Custom Label
    • Push Notification
  • ETL
    • Create Your ETL
      • Data Source
      • Transform
      • Load
      • Additional Features of ETL
  • Webhook
    • Setting Up Your Webhook!
    • Create Your Webhook!
    • Putting Your Webhook to the Test!
  • Invoke Integration Channel
    • Flow into Action: Invoking Your Integration Channel!
    • Unleash the Power: Invoke with Apex!
  • LWS
    • Transform Data on Demand: ETL as an API!
    • Supercharge Your Workflow: Invoke Integration Channel via API!
  • Built-in Functions
    • Text
      • getChar
      • extract
      • proper
      • len
      • trim
      • rightPad
      • leftPad
      • left
      • right
      • mid
      • getCharIndex
      • coalesce
      • toBoolean
      • toDecimal
      • split
      • replace
      • remove
      • toLowerCase
      • ascii
      • begins
      • capitalize
      • contains
      • deDuplicate
      • escapeHtml
      • generateRandomString
      • getValueFromResponseHeader
      • join
      • reverse
      • startCase
      • stripHtml
      • toBinaryBase64
      • toInt
      • toString
      • toUpperCase
      • escapeMarkDown
    • Math
      • abs
      • acos
      • asin
      • average
      • base64Decode
      • base64Encode
      • ceil
      • generateRandom
      • max
      • min
      • parseNumber
      • round
      • sum
      • switch
      • floor
    • Date & Time
      • toSeconds
      • daysBetween
      • dayPrecision
      • setHour
      • daysInMonth
      • dateTimeNow
      • netWorkDays
      • dateAdd
      • dateDiff
      • addMonths
      • date
      • dateTimeValue
      • dateValue
      • day
      • dayofYear
      • formatDate
      • formatDateToday
      • formatDateTodayFormat
      • formatDateTodayUnix
      • formatDateUnix
      • formatDateUnixFormat
      • toTime
      • toDate
      • toDateTime
      • toDateTimeUnix
    • Advanced
      • generateUUID
      • uncompress
      • compress
      • exists
      • dwTransform
      • discard
      • currencyRate
      • decodeUrl
      • encodeUrl
      • getChannelData
      • getLink
      • invokeFlow
      • invokeETL
      • lookup
      • md5
      • sha1
      • sha256
      • sha512
      • toJson
    • Logical
      • and
      • blankValue
      • case
      • if
      • isBlank
      • isNull
      • isNumber
      • not
      • nullValue
      • or
  • Custom Function
  • Filters for Integration Action
  • Data Mapping Types
    • Key/Value
    • JSON
  • Global variables for Data Mapping
    • Index
    • Record field
    • User
    • Organization
    • Custom Settings
    • Custom Metadata Type(MDT)
  • Advance Setting
  • Schedule
  • Utilities
    • Add Remote Site
    • Json To Apex
    • JSON parser invocable method
    • Export/Import Functionality
    • Import from Postman
    • Curl Import
    • Apex Class Template Creation for Header, Request and Response.
  • Logging
  • Monitor
    • Measure and track the usage
    • Integration channel (total active channels)
    • Callouts (total monthly callouts)
  • Most frequently used scenarios
    • Efficient Bulk Data Handling Using "!index"
    • How to access authentication data from a custom setting?
    • How to set up auth provider and named credentials?
    • How to use named credentials in an integration channel?
    • How to invoke integration channels from flow?
      • Screen flow
      • Record trigger flow
      • Platform event
      • Scheduled flow
    • How to set up a quick action with the integration channel flow?
Powered by GitBook
On this page
  • Text
  • Math
  • Date & Time
  • Advanced
  • Logical

Built-in Functions

PreviousSupercharge Your Workflow: Invoke Integration Channel via API!NextText

Last updated 1 year ago

200 OK features a range of predefined functions aimed at simplifying the implementation process. These pre-built functions provide ready-to-use logic for a variety of scenarios, effectively streamlining the entire implementation process. The functions are organized into several categories such as Text, Math, Date & Time, Advanced, Logical, and Custom Functions. Users can conveniently access these functions within the Data Mapper section, making it easy to integrate them while configuring requests or handling responses. This accessibility enhances efficiency and empowers users to achieve precise outcomes effortlessly.

In 200 OK we have six types of function categories.

Let us see the different types of functions available in each category.

Text

Function
Description

Converts the specified text to lowercase

Returns the input string after removing characters that do not fall within the normal ASCII values range.

Checks if a text begins with specified characters.

Transforms a string by capitalizing its first letter.

Checks if the specified value is contained within the given path.

Removes duplicate values from the array of values passed as parameters.

Escapes HTML tags within the provided string.

Generates a random decimal number within the specified range.

Used to get the data from the response header.

Concatenates a list of values using a specified separator.

Reverses the order of values within a list.

Capitalizes the first letter of each word in the input string.

Used to remove HTML tags from a given string.

Converts a string value to an integer.

Converts any value to a string.

Converts lowercase words or sentences to uppercase.

Ensure special characters in text are displayed as literals in Markdown syntax.

Math

Function
Description

Gives you the absolute value of a number without its sign.

Used to find the angle (in radians) whose cosine is a given number.

Used to find the angle (in radians) whose sine is a given number.

Calculates the arithmetic mean of a set of numbers, representing their central tendency.

Used to round a number up to the nearest integer.

Generates a random value within a specified range.

Returns the maximum value from a set of given inputs.

Returns the minimum value from a set of given inputs.

Converts a string representation of a number into its numerical value.

Used to round a number to the nearest integer.

Calculates the total of a set of numbers by adding them together.

Control statement used to select one of many code blocks to be executed based on a specified condition.

Used to round a number down to the nearest integer.

Date & Time

Function
Description

Calculates a date by adding a specified number of months to a given date.

Creates a date based on the provided year, month, and day inputs.

Formats the input expression as a date and time value.

Formats the input expression as a date.

Returns the day of the month based on the date passed.

Returns the number of the day in the year based on the date passed.

Returns a formatted date based on the input date and specified format.

Formats the current date according to a specified format.

Modifies the time part of a datetime value according to the specified format.

Converts the input date into the specified format.

Converts the input date and time into the specified format.

converts the input Unix timestamp into the specified format.

Advanced

Function
Description

Returns the conversion rate based on the provided amount and conversion rate.

searches for a value in a dataset and returns the corresponding result based on predefined criteria.

Retrieving the ETL response within the integration channel

Highlighting the automatic launch flow within the Integration Channel

Generates a cryptographic hash of a given input, typically used for data integrity verification and password hashing.

Generates a cryptographic hash using the SHA-1 algorithm for a given input.

Generates a cryptographic hash using the SHA-256 algorithm for a given input.

Generates a cryptographic hash using the SHA-512 algorithm for a given input.

Converts data into a JSON (JavaScript Object Notation) format, commonly used for data interchange between systems.

Checks whether a given element exists in a collection or sequence.

Logical

Function
Description

Represents an empty or null value within a dataset.

Evaluates a logical test and returns one value if the test is true, and another if it is false.

Checks whether an expression is blank and returns TRUE or FALSE accordingly.

Checks whether a given value is null.

Checks whether a given value is a numerical value.

checks if an expression is null and returns a substitute expression if it is. If the expression is not null, it returns the original expression value.

Returns true if at least one of the given conditions is true.

Text
Math
Date & Time
Advanced
Logical
Custom function
toLowerCase
ascii
begins
capitalize
contains
deDuplicate
escapeHtml
generateRandomString
getValueFromResponseHeader
join
reverse
startCase
stripHtml
toInt
toString
toUpperCase
escapeMarkDown
abs
acos
asin
average
ceil
generateRandom
max
min
parseNumber
round
sum
switch
floor
addMonths
date
dateTimeValue
dateValue
day
dayofYear
formatDateTodayFormat
formatDateTodayUnix
toTime
toDate
toDateTime
toDateTimeUnix
currencyRate
lookup
invokeETL
invokeFlow
md5
sha1
sha256
sha512
toJson
exists
blankValue
if
isBlank
isNull
isNumber
nullValue
or