Please help mi ID is failing
Change the reference from .item.json to .first().json. This can happen when debugging and running these workflows manually
Instead of:
{{ $("Webhook').item.json.body.message.toolCalls[0].id }}
Use:
`{{ $("Webhook').first().json.body.message.toolCalls[0].id }}`
I Can’t with that code!
Yes I tried
Try using the same types of quotes around Webhook
{{ $("Webhook").first().json.body.message.toolCalls[0].id }}
1 Like
{
“results”: [
{
“toolCallId”: “{{ $(“Webhook”).first().json.body.message.toolCalls[0].id }}”,
“result”: {{ JSON.stringify($json.output || {}) }}
}
]
}
With your help and chatgpt it has been solved this has been the solution ![]()
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.



