How to get input data in code

how can i map data from input in my custome code function
drag and drop not working

Any one can help pleas let me know

Hi @Sale.Favourite_fab, in the Code node can simply call n8n’s built in methods and variables like any other JS variable. Once you have your result you’d need to make sure to return a valid n8n data structure.

Here’s a quick example workflow fetching data from a dummy API, then referencing it in a subsequent code node:

Hope this helps :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.