Updating Google Contact Changes It to "Other contact"

Describe the problem/error/question

I have a workflow that syncs a Notion relationship database to Google Contacts. Here’s the process I follow:

  1. When a new entry in Notion is created, it syncs perfectly with Google contact.
  2. I save the Google Contact ID in Notion. This helps in updating the same Google Contact when changes are made in Notion.
  3. However, when I use the “Update Google Contact” node, while the contact does get updated with the new values from Notion, its type in Google is also changed to “Other contact”.

Could you please assist with this issue?

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

{
“meta”: {
“instanceId”: “edf44e2ee3c8bbef74f0b6565cb746b45e6eec7a3ec42e663bee998faa0f6bdc”
},
“nodes”: [
{
“parameters”: {
“operation”: “update”,
“contactId”: “={{ $json[‘Google Contact Id’] }}”,
“fields”: [
“*”
],
“updateFields”: {
“familyName”: “={{ $json[‘Last Name’] }}”,
“givenName”: “={{ $json[‘First Name’] }}”,
“birthday”: “={{ $json.Birthday.start }}”,
“companyUi”: {
“companyValues”: [
{
“current”: true,
“name”: “={{ $json.Company }}”,
“title”: “={{ $json.Title }}”
}
]
},
“customFieldsUi”: {
“customFieldsValues”: [
{
“key”: “Location”,
“value”: “={{$json.Location? $json.Location :"No Location"}}”
},
{
“key”: “Twitter”,
“value”: “={{$json.Twitter? $json.Twitter :"No Location"}}”
},
{
“key”: “Linkedin”,
“value”: “={{$json.Linkedin? $json.Linkedin :"No Location"}}”
},
{
“key”: “Status”,
“value”: “={{$json.Status? $json.Status :"No Location"}}”
},
{
“key”: “Category”,
“value”: “={{ $if($json.Category.isNotEmpty(), $json.Category.join(’ / '), "No Category") }}”
},
{
“key”: “NotionId”,
“value”: “={{ $json.id }}”
}
]
},
“emailsUi”: {
“emailsValues”: [
{
“type”: “home”,
“value”: “={{ $json.Email }}”
}
]
},
“group”: [
“contactGroups/3e24d3348ab0bac2”
],
“biographies”: “={{ $json[‘Things to remember’] }}”,
“phoneUi”: {
“phoneValues”: [
{
“type”: “mobile”,
“value”: “={{ $json.Mobile }}”
},
{
“type”: “other”,
“value”: “={{ $json.Direct }}”
}
]
}
}
},
“id”: “d6a50035-9a32-4993-a690-9c8ac7b06e46”,
“name”: “Update Google Contacts”,
“type”: “n8n-nodes-base.googleContacts”,
“typeVersion”: 1,
“position”: [
440,
440
],
“credentials”: {
“googleContactsOAuth2Api”: {
“id”: “OJhO8X2Ngn8UCU7Q”,
“name”: “Google Contacts account”
}
}
}
],
“connections”: {}
}

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.3.1
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu

Ok managed to correct by removing the group on update:
“group”: [
“contactGroups/3e24d3348ab0bac2”

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.