Function Explorer

All Power Platform functions at a glance

How the Explorer works

Step 1

Choose platform

Switch between Power Automate and Power Apps functions.

Step 2

Filter & Search

Use category filters and full-text search to find the right function.

Step 3

Copy & Use

Copy function name and syntax directly to your clipboard.

106 results

add

Math

Adds two numbers together.

add(number1, number2)
MS Learn

addDays

Date & Time

Adds a number of days to a timestamp.

addDays(timestamp, days, format?)
MS Learn

addHours

Date & Time

Adds a number of hours to a timestamp.

addHours(timestamp, hours, format?)
MS Learn

addMinutes

Date & Time

Adds a number of minutes to a timestamp.

addMinutes(timestamp, minutes, format?)
MS Learn

addProperty

JSON & XML

Adds a property and its value to a JSON object.

addProperty(object, 'property', value)
MS Learn

addSeconds

Date & Time

Adds a number of seconds to a timestamp.

addSeconds(timestamp, seconds, format?)
MS Learn

addToTime

Date & Time

Adds specified time units to a timestamp.

addToTime(timestamp, interval, unit, format?)
MS Learn

and

Logic

Returns true only when all conditions are true.

and(expr1, expr2, ...)
MS Learn

array

Conversion

Converts a single value into an array.

array(value)
MS Learn

actionBody

Workflow

Gets the body output of a specific action.

actionBody('actionName')
MS Learn

actionOutputs

Workflow

Returns the output of an action at runtime.

actionOutputs('actionName')
MS Learn

base64

Conversion

Encodes a string as a base64 value.

base64(value)
MS Learn

base64ToString

Conversion

Decodes a base64 string back to plain text.

base64ToString(value)
MS Learn

body

Workflow

Returns the body output of an action.

body('actionName')
MS Learn

bool

Conversion

Converts an input value into a Boolean.

bool(value)
MS Learn

chunk

Text

Splits a string or collection into equal-length segments.

chunk(text, size)
MS Learn

coalesce

JSON & XML

Returns the first non-null value from a list of parameters.

coalesce(value1, value2, ...)
MS Learn

concat

Text

Combines multiple strings into a single text value.

concat(text1, text2, ...)
MS Learn

contains

Collection

Checks whether a collection includes a specific value.

contains(collection, value)
MS Learn

convertFromUtc

Date & Time

Converts a UTC timestamp to the target time zone.

convertFromUtc(timestamp, destZone, format?)
MS Learn

convertTimeZone

Date & Time

Converts a timestamp between time zones.

convertTimeZone(timestamp, srcZone, destZone, format?)
MS Learn

convertToUtc

Date & Time

Converts a timestamp to UTC from a source time zone.

convertToUtc(timestamp, srcZone, format?)
MS Learn

createArray

Conversion

Creates an array from multiple input values.

createArray(item1, item2, ...)
MS Learn

dateDifference

Date & Time

Calculates the time span between two date values.

dateDifference(startDate, endDate)
MS Learn

dayOfMonth

Date & Time

Returns the day of the month for a timestamp.

dayOfMonth(timestamp)
MS Learn

dayOfWeek

Date & Time

Returns the weekday of a timestamp as a number.

dayOfWeek(timestamp)
MS Learn

dayOfYear

Date & Time

Returns the day of the year for a timestamp.

dayOfYear(timestamp)
MS Learn

decimal

Conversion

Converts a decimal string into a decimal number.

decimal(value)
MS Learn

div

Math

Divides the first number by the second.

div(dividend, divisor)
MS Learn

empty

Collection

Returns true when a collection or string is empty.

empty(collection)
MS Learn

endsWith

Text

Checks whether a string ends with a specified substring.

endsWith(text, searchText)
MS Learn

equals

Logic

Checks whether two values are equal.

equals(value1, value2)
MS Learn

first

Collection

Returns the first item from a collection.

first(collection)
MS Learn

float

Conversion

Converts an input value into a floating-point number.

float(value)
MS Learn

formatDateTime

Date & Time

Converts a timestamp into a formatted date string.

formatDateTime(timestamp, format?, locale?)
MS Learn

formatNumber

Text

Converts a number to a formatted string representation.

formatNumber(number, format, locale?)
MS Learn

getFutureTime

Date & Time

Returns the current time plus specified units.

getFutureTime(interval, unit, format?)
MS Learn

getPastTime

Date & Time

Returns the current time minus specified units.

getPastTime(interval, unit, format?)
MS Learn

greater

Logic

Checks whether the first value is greater than the second.

greater(value, compareTo)
MS Learn

greaterOrEquals

Logic

Checks if the first value is greater than or equal to the second.

greaterOrEquals(value, compareTo)
MS Learn

guid

Text

Generates a globally unique identifier (GUID) as a string.

guid(format?)
MS Learn

if

Logic

Returns one of two values based on whether a condition is true.

if(condition, trueValue, falseValue)
MS Learn

indexOf

Text

Returns the starting position of a substring within text.

indexOf(text, searchText)
MS Learn

int

Conversion

Converts a string representation to an integer.

int(value)
MS Learn

intersection

Collection

Returns items that exist in all specified collections.

intersection(col1, col2, ...)
MS Learn

isFloat

Text

Checks whether a value is a valid floating-point number.

isFloat(value, locale?)
MS Learn

isInt

Text

Checks whether a value is a valid integer.

isInt(value)
MS Learn

item

Workflow

Returns the current item in a loop iteration.

item()
MS Learn

items

Workflow

Returns the current item in a For Each loop.

items('loopName')
MS Learn

join

Collection

Merges array items into a string using a delimiter.

join(collection, delimiter)
MS Learn

json

Conversion

Parses a string or XML input as a JSON object.

json(value)
MS Learn

last

Collection

Returns the last item from a collection.

last(collection)
MS Learn

lastIndexOf

Text

Finds the last occurrence of a substring and returns its position.

lastIndexOf(text, searchText)
MS Learn

length

Text

Returns the character count of a string.

length(text)
MS Learn

less

Logic

Checks whether the first value is less than the second.

less(value, compareTo)
MS Learn

lessOrEquals

Logic

Checks if the first value is less than or equal to the second.

lessOrEquals(value, compareTo)
MS Learn

max

Math

Returns the highest value from a set of numbers.

max(number1, number2, ...)
MS Learn

min

Math

Returns the lowest value from a set of numbers.

min(number1, number2, ...)
MS Learn

mod

Math

Returns the remainder after dividing two numbers.

mod(dividend, divisor)
MS Learn

mul

Math

Multiplies two numbers.

mul(number1, number2)
MS Learn

not

Logic

Inverts the result of a boolean expression.

not(expression)
MS Learn

nthIndexOf

Text

Returns the position of the nth occurrence of a substring.

nthIndexOf(text, searchText, n)
MS Learn

or

Logic

Returns true when at least one condition is true.

or(expr1, expr2, ...)
MS Learn

outputs

Workflow

Returns the full output of a specified action.

outputs('actionName')
MS Learn

parameters

Workflow

Returns the value of a defined parameter.

parameters('paramName')
MS Learn

parseDateTime

Date & Time

Parses a date string into a timestamp value.

parseDateTime(text, locale?, format?)
MS Learn

rand

Math

Generates a random integer within a defined range.

rand(minValue, maxValue)
MS Learn

range

Math

Creates an integer array starting from a specified number.

range(startIndex, count)
MS Learn

removeProperty

JSON & XML

Removes a property from a JSON object.

removeProperty(object, 'property')
MS Learn

replace

Text

Substitutes a substring with a replacement string.

replace(text, oldText, newText)
MS Learn

result

Workflow

Returns inputs and outputs from actions within a scope.

result('scopeName')
MS Learn

reverse

Collection

Reverses the order of items in an array.

reverse(collection)
MS Learn

setProperty

JSON & XML

Sets or updates a property value in a JSON object.

setProperty(object, 'property', value)
MS Learn

skip

Collection

Skips a number of items and returns the remaining ones.

skip(collection, count)
MS Learn

slice

Text

Extracts a substring using start and end index positions.

slice(text, startIndex, endIndex)
MS Learn

sort

Collection

Sorts items in a collection in ascending order.

sort(collection, sortBy?)
MS Learn

split

Text

Splits a string into an array based on a delimiter.

split(text, delimiter)
MS Learn

startOfDay

Date & Time

Returns the start of the day for a timestamp.

startOfDay(timestamp, format?)
MS Learn

startOfHour

Date & Time

Returns the start of the hour for a timestamp.

startOfHour(timestamp, format?)
MS Learn

startOfMonth

Date & Time

Returns the start of the month for a timestamp.

startOfMonth(timestamp, format?)
MS Learn

startsWith

Text

Checks whether a string begins with a specified substring.

startsWith(text, searchText)
MS Learn

string

Conversion

Converts any input value to a string.

string(value)
MS Learn

sub

Math

Subtracts the second number from the first.

sub(number1, number2)
MS Learn

substring

Text

Returns characters from a string starting at a given position.

substring(text, startIndex, length)
MS Learn

subtractFromTime

Date & Time

Subtracts time units from a timestamp.

subtractFromTime(timestamp, interval, unit, format?)
MS Learn

take

Collection

Returns the first N items from a collection.

take(collection, count)
MS Learn

ticks

Date & Time

Returns the ticks value for a given timestamp.

ticks(timestamp)
MS Learn

toLower

Text

Converts all characters to lowercase.

toLower(text)
MS Learn

toUpper

Text

Converts all characters to uppercase.

toUpper(text)
MS Learn

trigger

Workflow

Returns the output of the trigger.

trigger()
MS Learn

triggerBody

Workflow

Retrieves the body output of the current trigger.

triggerBody()
MS Learn

triggerOutputs

Workflow

Returns all outputs from the trigger at runtime.

triggerOutputs()
MS Learn

trim

Text

Strips leading and trailing whitespace from a string.

trim(text)
MS Learn

union

Collection

Merges multiple collections into one with unique items.

union(col1, col2, ...)
MS Learn

uriComponent

Conversion

Encodes an input as a URI component.

uriComponent(value)
MS Learn

uriHost

URI

Extracts the host component from a URI.

uriHost(uri)
MS Learn

uriPath

URI

Extracts the path component from a URI.

uriPath(uri)
MS Learn

uriPathAndQuery

URI

Returns the path and query string of a URI.

uriPathAndQuery(uri)
MS Learn

uriPort

URI

Returns the port number of a URI.

uriPort(uri)
MS Learn

uriQuery

URI

Extracts the query string component from a URI.

uriQuery(uri)
MS Learn

uriScheme

URI

Returns the scheme (e.g. https) of a URI.

uriScheme(uri)
MS Learn

utcNow

Date & Time

Returns the current UTC timestamp.

utcNow(format?)
MS Learn

variables

Workflow

Returns the current value of a workflow variable.

variables('variableName')
MS Learn

workflow

Workflow

Returns details about the current workflow.

workflow()
MS Learn

xml

Conversion

Converts a JSON string into an XML object.

xml(value)
MS Learn

xpath

JSON & XML

Returns nodes or values matching an XPath expression.

xpath(xml, 'xpathExpression')
MS Learn

Ready for Power Platform?

Book a complimentary Quick Assessment and let us analyze your automation potential.

Book Quick Assessment