I just found n8n and have started to explore it and so far it’s awesome
I have been searching for a solution but I’m stuck so I hope you can help me
I’m trying to synchronize user accounts between two different databases, but I’m having problems comparing the data to take the correct action (create or update).
My goal is to be able to:
Create users in the target.
Update the user’s information on the target.
The data I get with Rest API looks like this:
Source:
Have you seen the merge node and what it can do? this should give you the option to add the data. and with the if node you should be able to check if an item already exists.
The SET node will be the node to use to reformat the data so all the fields have correct names and contents.
Hope this helps. If you have any further questions please ask of course.