Power Automate Expressions
Searchable reference for every Power Automate expression function — with syntax, description, and a live input/output example. Filter by category.
54 expressions
String
Concatenates strings together.
Returns the number of characters in a string (or items in an array).
Extracts characters from a string starting at an index.
Converts a string to lowercase.
Converts a string to uppercase.
Removes leading and trailing whitespace.
Replaces all occurrences of a substring.
Splits a string into an array.
Returns true if text starts with prefix.
Returns true if text ends with suffix.
Returns true if string contains the value (also works with arrays).
Returns the zero-based start position of a substring, or -1 if not found.
Formats a number as a string using a format specifier.
Logical
Returns one of two values depending on a condition.
Returns true if both values are equal.
Returns the boolean inverse of a value.
Returns true if all expressions are true.
Returns true if any expression is true.
Returns true if a string, array, or object is empty.
Returns the first non-null value.
Date & Time
Returns the current UTC timestamp.
Converts a timestamp from one time zone to another.
Adds a number of days to a timestamp.
Adds hours to a timestamp.
Formats a timestamp string.
Returns the day of the week as an integer (0 = Sunday).
Returns ticks (100ns intervals since Jan 1 0001) for a timestamp.
Collection
Returns the first item in an array or string.
Returns the last item in an array.
Returns the first N items from an array.
Removes the first N items from an array.
Returns an array with unique items from all arrays.
Returns items that appear in all collections.
Joins array items into a string.
Sorts an array of values.
Math
Adds two numbers.
Subtracts the second number from the first.
Multiplies two numbers.
Divides two numbers.
Returns the remainder after division.
Returns the highest number from a collection.
Returns the lowest number from a collection.
Returns a random integer in a range.
Conversion
Converts a string to an integer.
Converts a string to a floating-point number.
Converts a value to a string.
Converts a value to a boolean.
Parses a JSON string into an object or array.
Returns the base64 encoding of a string.
Decodes a base64 string.
Encodes a string for safe use in a URL.
Object
Adds a property to a JSON object.
Removes a property from a JSON object.
Sets or updates a property on a JSON object.