Hi I am trying to create mongodb update and find tool to update the Email for users, through their phoneNumbers
The issue I am facing is how to setup the fields value in tool. Please guide me
Thanks
Hi I am trying to create mongodb update and find tool to update the Email for users, through their phoneNumbers
The issue I am facing is how to setup the fields value in tool. Please guide me
Thanks
To set up a MongoDB update tool to modify user emails based on phone numbers, you’ll need to:
1. Use the MongoDB node in n8n with “Update” operation selected
2. In the “Update Key” field, enter `phoneNumber` (or your exact field name)
3. In the “Fields to Update” section, add `email` as the field and map the new email value
The key is ensuring your update query matches documents where `phoneNumber` equals your input value, then updates the `email` field. Would you like me to show the exact JSON structure for the update operation?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.