# How to merge two arrays into a single Gmail Draft?

**URL:** <https://community.make.com/t/how-to-merge-two-arrays-into-a-single-gmail-draft/23373>\
**Category:** Questions\
**Tags:** arrays, mapping, connections\
**Created:** [January 4, 2024, 4:56pm UTC](https://community.make.com/t/how-to-merge-two-arrays-into-a-single-gmail-draft/23373 "2024-01-04T16:56:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antoine\_Morot](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Antoine\_Morot](https://community.make.com/u/Antoine_Morot)\
**Post date:** [January 4, 2024, 4:56pm UTC](https://community.make.com/t/how-to-merge-two-arrays-into-a-single-gmail-draft/23373/1 "2024-01-04T16:56:54Z")

</div>

Here is my scenario 🙂 :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/b/7bc3be3df01fb43005d47d1cb6e88d568fd043a3.png)  
I’m trying to have a single draft as an Output.

All the different files will be gathered by the upper branch in a single Archive.

And the lower branch will create the Content of the Draft.

But I can’t link both with the same Gmail Draft. Here I have this poor solution of creating two Gmail Drafts. But I wanted to know if any of you knew how to merge two separate arrays into one to use the actions from each side ?

---

<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:** [January 5, 2024, 2:33am UTC](https://community.make.com/t/how-to-merge-two-arrays-into-a-single-gmail-draft/23373/2 "2024-01-05T02:33:27Z")

</div>

Welcome to the Make community!

Remove the router and make the scenario linear. You should also use one “Create a draft” module instead of two.

This diagram should explain what you need to do:

 ![7bc3be3df01fb43005d47d1cb6e88d568fd043a3](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/0/e00549d3739473ec5fc19b9fa18031f99baef32c.png)

If you want to learn more about Make, you can read up in the [Help Center](https://www.make.com/en/help). I also recommend doing the tutorials in the [Make Academy](https://academy.make.com), and learn advanced skills like how to make custom apps to any API in the [Make Partner Training Portal](https://partnertraining.make.com) - both have certificates for successful completion.

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [January 5, 2024, 3:34am UTC](https://community.make.com/t/how-to-merge-two-arrays-into-a-single-gmail-draft/23373/3 "2024-01-05T03:34:40Z")

</div>

Hi @Antoine_Morot

If the second branch only involves content, please follow these steps

1. Unlink both routes from the router.
2. Connect the content route and set a variable to define the content.
3. For the next route, use the ‘get variable’ at the start with the set variable name to access the content.

If you require additional assistance, please don’t hesitate to reach out to us.  
[MSquare Support](https://calendly.com/msquarepro/meeting)  
Visit us [here](https://www.msquare.pro/)  
[Youtube Channel](https://www.youtube.com/channel/UCqidlIIwbejxZmRUWBICcjQ)

---

<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:** [January 23, 2024, 10:57am UTC](https://community.make.com/t/how-to-merge-two-arrays-into-a-single-gmail-draft/23373/4 "2024-01-23T10:57:54Z")

</div>

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


