Unified response from 2 services

I want to validate some query fields and then call two services.
All working great!

Then, i want to unify the two calls into a return object and tried:

but it doesn’t work to combine merge wait and append.
Why does wait return empty {} ?

Am i missing something simple?

Screen Shot 2021-06-19 at 12.13.10 PM
hoping to use set to create
response.discord
and
response.notion

Can you please share the workflow?

shared https://n8n.io/workflows/1135

i think i managed now… i’ll update the shared workflow soon

1 Like

Hey @gotjoshua!

Can you update the workflow you’ve shared? Do add screenshots and explanation so that others can understand, modify (if needed), and use it :slight_smile:

You can always copy and paste the workflow here. You do not need to upload it in workflows to be able to share them.

You mean paste the JSON here?

I did update the workflow… And can also fix this one up a bit tomorrow when I’m back at my desk

Screenshot 2021-06-23 at 16.53.50

Turns out the wait is not needed, and merge in multiplex mode works just fine.

Screenshot 2021-06-23 at 16.52.13Screenshot 2021-06-23 at 16.51.57

keep only set is toggled on,
give a name for the property,
and a very simple expression in the Set node:

{{$json}}

Test Request shows that the multiplex merges the two results, as desired.

Screenshot 2021-06-23 at 16.58.37

Here are the webhook settings:

that’s a wrap!