Describe the problem/error/question
I am attempting to use Execute Command to execute a curl request. I need to pass the url to the Execute Command.
This is the data that is being sent to the Execute Command node:
[
{
"query": "https://build.foo.com/7193272548",
}
]
For testing, I set up the Execute Command node to output what is being passed: echo {{ $json }}
.
The output from the above is {{ }}. I believe the Execute Command is not translating the javascript.
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
[
{
“exitCode”: 0,
“stderr”: “”,
“stdout”: “{{ }}”
}
]
Information on your n8n setup
- n8n version: Version: 1.72.1
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): Default (not set)
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n directly on Mac
- Operating system: MacOS (Sequoia 15.2 (24C101))