I am creating multiple HTTP Request and those POST returns response
"response":
"[\n {\n "contacts": [\n {\n "id": "j3213213213",\n
I need to capture the response or want to pull the ID from the response since I need to use that to another HTTP Request Node
Example
Node 1 - Get ID
Node 2 - Update Contact
In Node 2, I need to define the ID but not sure how to pull the response from Node 1
I am also using AI Agent
- **n8n version: Hosted Version
- **Database (default: SQLite): Hosted Version
- **n8n EXECUTIONS_PROCESS setting (default: own, main): Hosted Version
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Hosted Version
- **Operating system: Windows 11
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:
if you just need a part of the response to be sent to the agent,
the quckest and easiest option would be setup a sub workflow do the HTTP thing, put a edit field node, then only pass that to next step,
and call the sub workflow to the agent
Thanks How do I store and retrieve that data to be sent to another node that I got from a sub workflow
For example, I received the ID from the subworkflow, where or what variable can it be stored to. in the book_appointment I have a json like but not sure what to put in the contactId
{
"calendarId": "{calendarId}",
"locationId": "{locationId}",
"contactId": "", //ContactId
"
}
the sub workflow