# How can I use separate variables together in a JSON

**URL:** <https://community.make.com/t/how-can-i-use-separate-variables-together-in-a-json/97126>\
**Category:** Questions\
**Tags:** json, arrays\
**Created:** [November 23, 2025, 1:17pm UTC](https://community.make.com/t/how-can-i-use-separate-variables-together-in-a-json/97126 "2025-11-23T13:17:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swarient](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@Swarient](https://community.make.com/u/Swarient)\
**Post date:** [November 23, 2025, 1:17pm UTC](https://community.make.com/t/how-can-i-use-separate-variables-together-in-a-json/97126/1 "2025-11-23T13:17:46Z")

</div>

### 🎯 What is your goal?

Put ‘n’ no. of variables in the JSON in (" ").

### 🤔 What is the problem & what have you tried?

> [@How can I separate this variable into separate variables](https://community.make.com/t/how-can-i-separate-this-variable-into-separate-variables/96309):
>
> Hey, I was trying to fix this issue. Here is the title(role) variable that I have obtained from the http module via A, I and after that, I parsed it using Parse JSON. Now, since I want to use the Apify module, the expected input should be ik “CEO”, “CFO“, “CXO“ … But I am getting it as “CEO, CFO, CXO“. How do I achieve my expected format? I even tried to use the /split function in the ‘set multiple variable‘ module, but I didn’t succeed.

Hey, that thing worked, but I was facing one more thing. See, by doing this, we separate the variables into as many fields as there exist. However, since I wanted to put them in JSON, they should be in (“ “). The issue is that I don’t know how many fields will be present in one variable, because the scenario will receive a webhook response from the client. So he can add just a single role (Ex, CEO) or so many roles (Ex, CEO, CXO, CFO,…), so how should I place them in my JSON without knowing the no. of fields?  
That JSON’s Part :

“personTitleIncludes”: [  
“(values)”  
],

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [November 25, 2025, 4:00am UTC](https://community.make.com/t/how-can-i-use-separate-variables-together-in-a-json/97126/2 "2025-11-25T04:00:01Z")

</div>

What is the result after you’ve successfully used the split function?

You can probably use the “ **Transform to JSON** ” module, or use the built-in function **`join()`**.

If you need further assistance, please provide the following:

## 1. Updated Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

- the **full scenario** , and the zoomed in parts of the scenario that you are referring to (if your scenario is huge),
- a **full scenario run/execution** from the history (showing output “speech” bubbles),
- relevant **module fields** (_showing how you’ve used any built-in functions, and how you’ve mapped the variables_),
- relevant filters between modules (_showing which operators and any built-in functions you’ve used, and how you’ve mapped the variables_),
- relevant module input/output bubbles,
- if applicable, any error messages,
- and if applicable, any external services (_spreadsheet headers/ sample data/ regex101.com/ etc. to show the item/ record exists, and is set up correctly_).

> **Need help❓View instructions ◀**
>
> > ## Uploading Attachments
> > 
> > - You can upload files and images to this forum by clicking on the upload button:  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/c/5c7c8f11d1316a1cc6984d252a732946207bf634.png)
> > 
> > We would appreciate it if you could **upload screenshots here** instead of linking to them outside of the forum. This allows us to directly zoom in on the image when clicked, and also having improved privacy from third-party sources.

## 2. Updated Scenario Blueprint

Providing your scenario will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return. This would benefit you in implementing our suggestions as you can view screenshots of the changes or paste corrected modules back into your scenario.

> **Need help❓View instructions ◀**
>
> > ## A. Export Blueprint
> > 
> > To export your scenario blueprint, click the three dots at the top-right of the scenario editor then choose “Export Blueprint”.  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/5/152b265128a71a7a2937c4f701c4beba3f5f610c.png)
> > 
> > - You can upload files and images to this forum by clicking on the upload button:  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/c/5c7c8f11d1316a1cc6984d252a732946207bf634.png)
> > 
> > ## B. Create Public Share Link
> > 
> > You can also share your scenario by creating a public share link.  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/a/0ad95b052c1a1651a310868e4eacd432c289022c.png)

## 3. Updated Module Output Bundles

Please provide the **output bundles** (_input bundles are not so crucial_) of each of the relevant modules by running the scenario, or get output bundles from a previous scenario run from the [“History” tab](https://www.make.com/en/help/scenarios/scenario-execution-history).

Providing the output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections), especially if external services are involved, and help you with mapping the raw property names from collections.

> **Need help❓View instructions ◀**
>
> > Click on the white speech bubbles on the top-right of each module and select “ **Download output bundles** ”.  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)
> > 
> > ## A. Upload as a Text File
> > 
> > Save each bundle contents in a **plain text** editor as a `bundle.txt` file. Open the file to check if it has not added additional formatting or encoded the plain text.
> > 
> > - You can upload files and images to this forum by clicking on the upload button:  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/c/5c7c8f11d1316a1cc6984d252a732946207bf634.png)
> > 
> > ## B. Insert as Formatted Code Block
> > 
> > If you are unable to upload files on this forum, alternatively you can **paste the bundles** AND **format them correctly**.
> 
> > # ⚠Formatting IS Important! ⚠
> > 
> > Here are some ways to provide text content in a way that it won’t be modified by the forum.
> > 
> > - **Method 1: Type code fence manually** —  
> > Manually type three backticks ````` in a separate line before and after the content, like this,
> > 
> > - **Method 2: Highlight the pasted content, then click the preformatted text/code button** —  
> > ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/b/7b91db14846cb99e1084b77e4362a273f8324e74.png)
> > 
> > - **Method 3: Upload your file elsewhere and share the public link** —  
> > This method is only advised for large files exceeding the forum upload limit.

Sharing these details will make it easier for others to assist you, so that you can get better answers, faster.

Hope this helps! If you are still having trouble, please [provide more details](https://community.make.com/t/mastering-the-make-community-get-started/11682).

— @samliew

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [February 23, 2026, 4:12am UTC](https://community.make.com/t/how-can-i-use-separate-variables-together-in-a-json/97126/3 "2026-02-23T04:12:06Z")

</div>


