After this node, I created a custom code and I need to access the content key, however, the code I created returns the error “Cannot convert undefined or null to object”:
return items.map(item => {
item.content
})
My question is how do I access the output “content” of the OpenAI node.
Please post your workflow so it is easier for us to visualize.
Follow as instructed in the tooltip: Tip: Insert your workflow by clicking '</>' and pasting in the workflow's code