Workflows Tips #29: Create JSON Objects, Dynamic URLs, and Normalize Inputs
Tags: nocode, workflows, okta, ipaas
Published: 2022-08-30 18:37:31

---
title: Workflows Tips #29: Create JSON Objects, Dynamic URLs, and Normalize Inputs
published: true
date: 2022-08-30 06:26:47 UTC
tags: NoCode,Workflows,okta, ipaas
canonical_url: https://maxkatz.net/2022/07/13/workflows-tips-29-create-json-objects-dynamic-urls-and-normalize-inputs/
---

Welcome to another Okta Workflows Tips post. Read all other tips ⤵️
{% embed https://dev.to/oktaworkflows/okta-workflows-tips-57bj %}
In this post:

- Use Compose card to create a JSON object
- Use Compose card to create dynamic links
- Normalize inputs with To Lower Case/To Upper Case cards

_These tips come from [Ylan Muller](https://www.linkedin.com/in/ylanmuller/), an avid Okta admin and certified consultant, member of the [MacAdmins Slack Community](https://www.macadmins.org/), and the IT Manager at [FireHydrant](https://firehydrant.com/)._

## Use Compose card to create a JSON object

Use the **Text – Compose** card to create a JSON object where parts of the JSON are dynamically mapped.

[![Creating a JSON object with Compose card](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_json_blob.png?w=1024)](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_json_blob.png)
<figcaption>Creating a JSON object with Compose card</figcaption>

The **Compose** card will return a text representation of the JSON object. Use **JSON – Parse** card to parse it into an actual JSON object.

## Use Compose card to create dynamic links

You can also **Text – Compose** card to create dynamic URLs.

[![Creating dynamic URLs with Compose card](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_json_urls2.png?w=1024)](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_json_urls2.png)
<figcaption>Creating dynamic URLs with Compose card</figcaption>

## Normalize inputs with To Lower Case/To Upper Case cards

Use **Text – To Lower Case** card to normalize inputs for URLs or when building bots that might interact with APIs that are case sensitive.

[![Normalizing text with To Lower Case card](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_tolowercase2.png?w=1024)](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_tolowercase2.png)
<figcaption>Normalizing text with To Lower Case card</figcaption>

Running the above flow, the output of the **Compose** card will be:

`https://host.com/api/v1/vnjmqueihquoziex/groups`

And, **Text – To Upper Case** is used in a similar way:

[![Normalizing text with To Upper Case card](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_touppercase.png?w=1024)](https://katzmax.files.wordpress.com/2022/07/workflows_tips29_compose_touppercase.png)
<figcaption>Normalizing text with To Upper Case card</figcaption>

The output is:

`https://host.com/api/v1/DTSLPDLODABWOKDR/groups`

* * *

Two resources to help you learn more: 

🎥 Short how-to [Workflows videos](https://youtube.com/playlist?list=PLIid085fSVdvyK8F4xuk49EchBPmAVNHG) to help you become a better automation builder.

✏️ Read our [Workflows How-To Guides](https://maxkatz.net/okta-workflows-how-to-guides/) based on community member questions.