No Expression Support for HTTP Request Under Agent (Preview)

Describe the problem/error/question

Noticed the HTTP Request under Agent(Preview) does not support expression compared with the usual HTTP Request node. Is this a bug? Any timeline to address this gap?

What is the error message (if any)?

No error. Just highlighting the gap between the HTTP request in Workflow vs Agent(Preview)

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.43.4
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

Hey @kjooleng, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Michael_Long, @Franz, @mohamed3nan - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

You’re not imagining the gap: in the HTTP Request Tool, $fromAI is only exposed on the fields that carry the AI-parameter toggle (query parameters, headers, body) — the URL field doesn’t have it, so an expression there has no model-supplied value to resolve when the tool is invoked.

Two workarounds that hold up today:

  1. Keep the URL static and put the variable part on a query parameter value with $fromAI — the model supplies the ticker, the node stays a plain tool.
  2. If the dynamic part has to live in the path, wrap a normal HTTP Request node in a sub-workflow and expose it with a Call n8n Workflow Tool node: the sub-workflow’s input schema takes the ticker from the model, and the inner node keeps full expression support.

Worth filing in Feature Requests as well, since the URL field is the specific gap here.

Hi @kjooleng, in 2.43.4 the Agent Builder deliberately hides the Fixed/Expression selector for node tools. This is separate from $fromAI() support in the normal workflow HTTP Request tool, so the URL isn’t generally excluded from model inputs.

For your ticker path, use the workflow-tool route already suggested. Define a string ticker input on When Executed by Another Workflow, then use this URL in a normal HTTP Request node:

={{ 'https://query2.finance.yahoo.com/v8/finance/chart/' + encodeURIComponent($json.ticker) }}

In Agent Builder, select Add tool and choose that workflow. Publish the workflow before using it with a published agent. I don’t have a confirmed ETA for changing the expression UI.