I have make this workflow to create contact in lexoffice using http request from all the contacts i have in hubspot. But it seems the http request not working as it should be. its only created 1 contact, even i have more than 1 contact. i have try to do this using code based. And it seems, if i use map function it doesnt work, but if i using for loop it is working fine. it is really strange error. Maybe in n8n using map function for looping in this case? Is there any way to do for loop?
What is the error message (if any)?
ERROR: UNKNOWN ERROR - check the detailed error for more information
the workflow
the output returned by the last node
[
{
"version":
0,
"roles":
{
"customer":
{
}
},
"person":
{
"salutation":
,
"firstName":
"Nabil",
"lastName":
"Fatih"
}
},
{
"version":
0,
"roles":
{
"customer":
{
}
},
"person":
{
"salutation":
,
"firstName":
"Nabil Akbarazzima",
"lastName":
"Fatih"
}
},
{
"version":
0,
"roles":
{
"customer":
{
}
},
"person":
{
"salutation":
,
"firstName":
"lala",
"lastName":
"momo"
}
}
]
Information on your n8n setup
- Running n8n via [Docker]: