> For the complete documentation index, see [llms.txt](https://docs.dckapintegrator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dckapintegrator.com/tutorials/workflow-builder-tutorial/2.-hello-workflow/exercise-2.md).

# 🎯 Exercise 2

**Activity:**

Initialize a JSON object variable called customer:

json

`{`

&#x20; `"first_name": "alice",`

&#x20; `"last_name": "johnson",`

&#x20; `"email": "  alice.johnson@example.com  ",`

&#x20; `"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:**&#x20;

* [Allowed functions](https://docs.dckapintegrator.com/project-manager/workflows/inline-transformations/allowed-functions)

**Expected Output:**

`ALICE`

`Alice Johnson`

`alice.johnson@example.com`

`42`

`City Not Available`

<br>

<br>

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dckapintegrator.com/tutorials/workflow-builder-tutorial/2.-hello-workflow/exercise-2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
