I’m trying to load the output of the http tool into the code tool, but I can’t seem to figure out how to extract it. Any reference materials would be greatly appreciated.
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:
Welcome to the community @ai_WithKallam !
Tip for sharing information
Pasting your n8n workflow
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </>
(preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
I would expect it to look something like this
The output of AI Agent would have a property output
. You can refer to it in Code as _input.first().json.output
.
However, you mentioned Code tool, not node. I don’t think you can chain tools. You would have to use another AI node and have Code tool connected to it as in
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.