Join Two Identical HTTP Payloads Module Outputs Together

Hey there - I have to separate HTTP requests modules to the same endpoint but with a different filter that I’d like to join the results together. Both have the same response structure.

I tried an array aggregator but it’s only capturing the results from one of the HTTP modules, not both.

blueprint (2).json (26.0 KB)

I’m sure there is an easy / straightforward way to do this, I just can’t seem to figure it out.

Also, I rolled the key beforehand so the key referenced in this is inactive so no worries there.

@samliew - I figure this question is right up your alley

You do not need an aggregator. Delete it.

You can use the built-in function join

e.g.:

{{ join(1.data.content; newline) + newline + join(2.data.content; newline) }}

Screenshot_2024-06-04_000605

For more information, see

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

1 Like

When I do that I just get the objects as plaintext strings but not the actual object.

I’d like to be able to take all those objects and pass it into an iterator after they’ve been combined.

Welcome to the Make community!

Please provide the output bundles of the HTTP modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

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

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

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

Following these steps will allow others to assist you here. Thanks!

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

1 Like

bundle.txt (162 Bytes)

For both HTTP modules please, not just one.

Hey @hunters

Instead of join function as it converts the array into string, I believe you need to use merge function that will merge the output into an array.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support | Book Live Implementation
Visit us here
Youtube Channel

1 Like