# Set Multiple Variables From an Array

**URL:** <https://community.make.com/t/set-multiple-variables-from-an-array/51925>\
**Category:** Questions\
**Tags:** set-variable, arrays\
**Created:** [August 20, 2024, 9:22pm UTC](https://community.make.com/t/set-multiple-variables-from-an-array/51925 "2024-08-20T21:22:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Sheetz](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Nick\_Sheetz](https://community.make.com/u/Nick_Sheetz)\
**Post date:** [August 20, 2024, 9:22pm UTC](https://community.make.com/t/set-multiple-variables-from-an-array/51925/1 "2024-08-20T21:22:25Z")

</div>

I have a scenario that watches for a document to be completed on PandaDoc. Once the document is completed I want to use the scenario to send a webhook with data from fields on the document. These fields come via an array. Each array has two primary values that I am interested in: “Placeholder” & “Value”.

I want to set multiple variables based on this array of information. However, sometimes the Pandadoc module will send the data in different orders. So, how can I set a variable of “Billing Contact” when the place holder in the array matches the text “Billing Contact” and then also set the value for that variable from the same bundle in the array?

---

<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:** [August 21, 2024, 12:09am UTC](https://community.make.com/t/set-multiple-variables-from-an-array/51925/2 "2024-08-21T00:09:48Z")

</div>

> [@Nick\_Sheetz](#):
>
> Each **array** has two primary values that I am interested in: “Placeholder” & “Value”.
> 
> I want to set multiple variables based on this array of information. However, sometimes the Pandadoc module will send the **data** in different orders. So, how can I set a variable of “Billing Contact” when the place holder in the **array** matches

If you need further assistance, please provide the following:

Please provide the **output** bundles containing the **array** by running the scenario (or get from the [scenario History tab](https://www.make.com/en/help/scenarios/scenario-execution-history)), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

### A. Upload as Text File

Save each bundle contents in your text editor as a `bundle.txt` file, and upload it here into this discussion thread.

### B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.  
These are the two ways to format text so that it won’t be modified by the forum:

- **Method 1: Type code block manually**

- **Method 2. Highlight and click the format button in the editor**

Providing the input/output bundles will allow others to _replicate_ what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

* * *

P.S.: Did you know, [the concepts](https://community.make.com/t/make-academy-course-overview/29699) of about 70% of questions asked on this forum are already covered in the [Make Academy](https://academy.make.com). Investing some effort into it will save you lots of time and frustration using Make later!

---

<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:** [November 19, 2024, 1:12am UTC](https://community.make.com/t/set-multiple-variables-from-an-array/51925/3 "2024-11-19T01:12:06Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


