Hello!
I’m trying to update Google Contacts from Notion, and the “add an email” field is not working. In particular, here’s my scenario:
Trigger: search Notion objects. (In my database, I have a checkmark box called “Upload to GContacts”. When that is checked (true), it starts the automation.
Action 1: Search contacts - from the Notion database item, it searches my Google Contacts based on full name (in Notion) and compares against Full Name (in GContacts).
Router 1: if email exists, go to Router 2A. If email doesn’t exist, go to Router 2B.
Router 2A: If contact doesn’t exist, create new contact. If email does exist, update google contact.
Router 2B: if email doesn’t exist, and contact doesn’t exist, create new contact. If email doesn’t exist but contact exists, update contact. (Btw, I mapped the empty email field with add(emptyarray) and works like a charm. This thread helped with this solution.)
The module that keeps failing is the “Create” or “Update” Google Contact record if the email exists. The error I keep getting is: “Validation failed for 1 parameter(s). Missing value of required parameter ‘value’.”
Because the email seems to need to be uploaded to Google Contacts as an array, and exists in Notion as an email property, I tried converting the email property into an array. For instance, I tried:
- map(Notion Email; emailAddresses) - doesn’t work
- toArray(Notion Email) - doesn’t work
- get(Notion Email; emailAddresses) - doesn’t work
- I also turned the “map” toggle both on and off using the aforementioned solutions, nothing worked.
Please help! Seems like it should be a very simple solution to map the email from Notion into Google contacts, but for the life of me, it isn’t working.