How to merge two arrays into a single Gmail Draft?

Here is my scenario :slight_smile: :


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 ?

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:

If you want to learn more about Make, you can read up in the Help Center. I also recommend doing the tutorials in the Make Academy, and learn advanced skills like how to make custom apps to any API in the Make Partner Training Portal - both have certificates for successful completion.

3 Likes

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
Visit us here
Youtube Channel