Ask AI
Skip to main content

Map to uppercase

Function: Map to uppercase

This action takes a list of items and converts every item in that list to its uppercase equivalent. It's useful for standardizing data, preparing text for display, or ensuring consistency across your application.

Input,

  • List (ARRAY): The list of text items you want to convert to uppercase.

Output,

  • The mapped list name (ARRAY): A new list containing all the original items, but now converted to uppercase. This list will be stored under the name you provide.

Execution Flow,

Real-Life Examples,

Example 1: Standardizing Product Categories

  • Scenario: You have a list of product categories entered by different users, and you want to ensure they are all consistently capitalized for display on your website.
  • Inputs:
    • List: ["electronics", "clothing", "home goods", "books"]
  • Result: The action creates a new list named "Standardized Categories" with the values ["ELECTRONICS", "CLOTHING", "HOME GOODS", "BOOKS"]. This new list can then be used to update your product records or display on your site.

Example 2: Processing User Tags

  • Scenario: Users can add tags to their posts, and you want to store these tags in a standardized uppercase format to make searching and filtering easier, regardless of how the user typed them.
  • Inputs:
    • List: ["travel", "adventure", "photography", "nature"]
  • Result: The action generates a new list named "Processed Tags" containing ["TRAVEL", "ADVENTURE", "PHOTOGRAPHY", "NATURE"]. This list can then be saved to your database.

Example 3: Normalizing City Names from a Form

  • Scenario: You collect city names through a form, and users might enter them with various capitalizations (e.g., "new york", "New York", "NEW YORK"). You need to normalize them to a consistent uppercase format before saving.
  • Inputs:
    • List: ["london", "paris", "berlin", "rome"]
  • Result: A new list named "Normalized Cities" is created with the values ["LONDON", "PARIS", "BERLIN", "ROME"]. This ensures all city names are uniformly capitalized in your records.