Functions for Flows

Prev Next

Functions for Flows allow you to manipulate data within your workflow using a variety of built-in functions. These functions can be applied to strings, numbers, and other data types to transform and process your data before moving on to the next steps.

Configuring the Functions for Flows Action

In your Workflow, select the Built-in tool "Functions" as an action.

Choose the Function Type as Event: Based on your needs, you can choose from a variety of functions for different data types.

Text Functions

Here are the available text functions you can use in your workflow:

Convert text from Base64: Converts a Base64-encoded string back to its original text form.

Get length of text: Returns the length of the text string (number of characters).

Get Count of words in text: Returns the number of words in a text string.

Replace phrase in text: Replaces a specific phrase in the text with another string.

Reverse the text: Reverses the order of characters in the text.

Split text: Splits the text based on a specified delimiter (e.g., a space or comma).

Convert text to Base64: Encodes a text string into Base64 format.

Lowercase all characters: Converts all characters in the text to lowercase.

Titlecase the text: Capitalizes the first letter of each word in the text, except for certain small words such as "a", "an", "the", "in", "of", etc

Uppercase all characters: Converts all characters in the text to uppercase.

Uppercase first character in text: Capitalizes only the first character of the text.

Uppercase first character in all words: Capitalizes the first character of each word in the text.

Long Functions

Here are the available long functions you can use in your workflow:

Long Maths: Allows you to perform mathematical operations like addition, subtraction, multiplication, division.

In example,:
a) you can input values for the Number parameters.

or

b) you can choose outputs from previous steps for the Number parameters:

And set the MathOperator to your chosen method:

  • Add - Adds first Number to second Number

  • Subtract- Subtracts first Number from second Number

  • Divide:  Divides first Number to second Number and returns the  integer part

  • Modulo: Divides first Number to second Number and returns the remainder

  • Multiply: Multiplies first Number with second Number

After clicking on Save & test action - you will receive in the “Selected output“ with the result of the operation.