HTTP Request Node - Input URL not part of output in Success Branch

When using the HTTP Request node, a URL parameter is required. On running the node, this parameter is “lost”, so not part of the output. I need the URL again later in the workflow.

I have searched the forum and found two relating topics:

Both of them are working in the case, but only on a single input item. In my case, I have multiple input items. I then tested to use the parameter from the previous node and match the items by index, but this is not feasible in my situation as well. During the HTTP Request, my items get split up into branches (Success & Error). So there is no way to know which item goes where. The Error Branch actually outputs the URL again, but the Success Branch does not.

Is there any possible way to match them afterwards? An MVP of the problem in the following code:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like
n8nVersion: 1.50.2
platform: docker (self-hosted)
nodeJsVersion: 20.15.0
database: postgres

hello @wohfab

That one should do the job

1 Like

Woah, so simple, I couldn’t see it. Thanks, @barn4k! Works like a charm!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.