For the complete documentation index, see llms.txt. This page is also available as Markdown.

🎯 Exercise 2

Objective: Practice using inline transformations to manipulate and format data directly within a step — without using a separate Formatter or Code Runner tool.

Activity:

Initialize a JSON object variable called customer:

json

{

"first_name": "alice",

"last_name": "johnson",

"email": " alice.johnson@example.com ",

"score": "42.5"

}

Using inline transformations, add Console steps to display the following:

  1. The customer's first name in uppercase

  2. The customer's full name in title case

  3. The email after removing leading and trailing spaces

  4. The score converted to an integer

  5. A fallback value — Try converting to lower customer’s city; for fallback case, display "City Not Available"

Hints:

Expected Output:

ALICE

Alice Johnson

alice.johnson@example.com

42

City Not Available

Last updated

Was this helpful?