Lowercase
Converts all characters in a string to lowercase.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- String - The string to convert to lowercase.
Options
This node does not have configurable options.
Output
- Result - The lowercase version of the input string.
How It Works
The Lowercase node converts all uppercase letters to their lowercase equivalents:
- Uppercase letters (A-Z) → lowercase (a-z)
- Already lowercase letters remain unchanged
- Numbers and special characters remain unchanged
- Unicode characters are properly converted
Usage Examples
Example 1: Convert Mixed Case
- String:
"Hello World" - Result:
"hello world"
Example 2: Already Lowercase
- String:
"hello" - Result:
"hello"
Example 3: All Uppercase
- String:
"HELLO WORLD" - Result:
"hello world"
Example 4: With Numbers and Symbols
- String:
"Product-ABC-123" - Result:
"product-abc-123"
Example 5: Unicode Characters
- String:
"CAFÉ" - Result:
"café"
Tips
- Use for case-insensitive comparisons - convert both strings to lowercase first
- Essential for normalizing user input (emails, usernames)
- Great for search functionality - make search case-insensitive
- Use before sorting for alphabetical order
- Combine with Trim for complete input normalization
- Database keys often require lowercase
Common Errors and Solutions
Error: Need to convert only first letter
- Cause: Lowercase converts all characters
- Solution: Use custom logic with Index and Replace for title case
Error: Special characters affected
- Cause: Misunderstanding - special characters don't change
- Solution: Only letters are converted, numbers and symbols unchanged
Practical RPA Examples
Example: Normalize Email Address
String: "User@Example.COM"
Lowercase: "user@example.com"
Use: Standardize email for database storage
Example: Case-Insensitive Search
Input: "Product Name"
Search Term: "PRODUCT"
Step 1: Lowercase input → "product name"
Step 2: Lowercase search → "product"
Step 3: Includes check → true
Example: Normalize Username
String: "JohnDoe123"
Lowercase: "johndoe123"
Use: Consistent username format
Example: File Name Standardization
String: "MyDocument.PDF"
Lowercase: "mydocument.pdf"
Use: Standardize file extensions
Example: URL Normalization
String: "HTTPS://Example.COM/Path"
Lowercase: "https://example.com/path"
Use: Normalize URLs for comparison
Example: Database Key Normalization
String: "Customer-ID-12345"
Lowercase: "customer-id-12345"
Use: Consistent database keys
Pattern: Case-Insensitive Comparison
Compare strings regardless of case:
Step 1: Lowercase first string
Step 2: Lowercase second string
Step 3: Compare lowercased strings
Result: Case-insensitive match
Example:
"Hello" and "HELLO"
Both become "hello"
Compare: Equal
Pattern: Input Normalization Pipeline
Standard input cleaning:
Step 1: Trim whitespace
Step 2: Lowercase
Step 3: Remove special characters
Step 4: Validate format
Pattern: Search with Multiple Terms
Case-insensitive multi-keyword search:
Step 1: Lowercase content
Step 2: Lowercase all search terms
Step 3: Check if content includes each term
Result: Case-insensitive keyword matching
Use Cases
Email Validation
Input: User@Example.COM
Lowercase: user@example.com
Use: Standard email format for validation
Username Login
Input: JohnDoe
Lowercase: johndoe
Use: Case-insensitive login
File Extension Detection
Filename: "document.PDF"
Lowercase: "document.pdf"
HasSuffix: ".pdf" → true
Category Matching
Category: "ELECTRONICS"
Lowercase: "electronics"
Match: Consistent category names
Combining with Other Nodes
With Trim
Input: " USER@EXAMPLE.COM "
Trim: "USER@EXAMPLE.COM"
Lowercase: "user@example.com"
With Replace
Input: "PRODUCT_NAME"
Lowercase: "product_name"
Replace "_" with " ": "product name"
With Compare
String1: "Hello"
String2: "HELLO"
Both to Lowercase: "hello"
Compare: Equal (0)