Lowercase
Function: Lowercase
This action allows you to easily convert any piece of text into its lowercase equivalent. It's useful for standardizing data, ensuring consistency, or preparing text for case-insensitive comparisons.
Input
- Text
- Description: The specific piece of text you want to convert to all lowercase characters.
- Type: Text
- Required: Yes
Output
- Result Variable Name
- Description: This output provides the name of the variable where the converted lowercase text has been stored. You can then use this variable (e.g.,
\{\{RESULT\}\}) in subsequent steps to access the lowercase text. - Type: Text
- Default Value:
RESULT(If you don't specify a variable name, the lowercase text will be stored in a variable namedRESULT.)
- Description: This output provides the name of the variable where the converted lowercase text has been stored. You can then use this variable (e.g.,
Execution Flow
Real-Life Examples
Here are some practical ways you can use the "Lowercase" action in your applications:
Example 1: Standardizing Product Codes
Imagine you have product codes entered by different users, sometimes in uppercase, sometimes mixed. You want to ensure all product codes are stored in lowercase for consistent searching and reporting.
- Inputs:
- Text:
\{\{Product.SKU\}\}(e.g., "PROD-ABC-123", "prod-abc-123", "Prod-Abc-123")
- Text:
- Result: The action completes. A new variable named
RESULTis created (or updated) and contains the lowercase version of the product SKU (e.g., "prod-abc-123"). You can then use\{\{RESULT\}\}to update your product record.
Example 2: Normalizing User Email Addresses
When collecting user email addresses, you might want to convert them to lowercase to avoid issues with case sensitivity when logging in or sending notifications.
- Inputs:
- Text:
\{\{UserForm.EmailInput\}\}(e.g., "[email protected]")
- Text:
- Result: The action completes. A new variable named
RESULTis created (or updated) and contains the lowercase email address (e.g., "[email protected]"). ThisRESULTcan then be saved to the user's profile.
Example 3: Processing Search Queries
If your application allows users to search for items, converting their search query to lowercase before processing can help ensure that searches are case-insensitive and return more relevant results.
- Inputs:
- Text:
\{\{SearchBox.Query\}\}(e.g., "No-Code Platform")
- Text:
- Result: The action completes. A new variable named
RESULTis created (or updated) and contains the lowercase search query (e.g., "no-code platform"). ThisRESULTcan then be used to query your database.