So I am receiving x items like that with x number of Additional_EmailX columns.
I would like to make a HTTP request, and I need to add in the body the following values:
“Additional_Email” (so the name of the columns) and the value of the column if it’s present.
So basically in the HTTP request need to run once every items incoming and use as parameters the name of the columns and the respect values.
Please share your workflow
I’ve tried to use
{{ $json.keys()[0] }}
But not worked
You would want 3 posts where Additional_Email will be [email protected] for the first post then [email protected] for the second and [email protected] for the third rather than say having Additional_Email an array that contains all of the possible values?
I just want to make sure I get this right before playing with the code node and getting an example together
Yes, so from all the input I want to focus only with Primary_Email and all the Additional_EmailX
The output need to have 1 item for each Additional_EmailX plus the first Primary_Email