Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
90 lines
1.8 KiB
JSON
90 lines
1.8 KiB
JSON
{
|
|
"name": "Google Contacts Update Test",
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"position": [0, 0],
|
|
"id": "trigger-id",
|
|
"name": "When clicking 'Execute Workflow'"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "contact",
|
|
"operation": "update",
|
|
"contactId": "c123456789",
|
|
"fields": ["names", "emailAddresses"],
|
|
"updateFields": {
|
|
"givenName": "John Updated",
|
|
"emailsUi": {
|
|
"emailsValues": [
|
|
{
|
|
"value": "john.updated@example.com",
|
|
"type": "work"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"type": "n8n-nodes-base.googleContacts",
|
|
"typeVersion": 1,
|
|
"position": [200, 0],
|
|
"id": "contact-update",
|
|
"name": "Update Contact",
|
|
"credentials": {
|
|
"googleContactsOAuth2Api": {
|
|
"id": "test-credential-id",
|
|
"name": "Test Google Contacts OAuth2"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"pinData": {
|
|
"Update Contact": [
|
|
{
|
|
"json": {
|
|
"resourceName": "people/c123456789",
|
|
"etag": "%EgYBAgMEBQYHCCESBCAFIAI=.",
|
|
"names": [
|
|
{
|
|
"metadata": {
|
|
"primary": true,
|
|
"source": { "type": "CONTACT", "id": "c123456789" }
|
|
},
|
|
"displayName": "John Updated Doe",
|
|
"familyName": "Doe",
|
|
"givenName": "John Updated"
|
|
}
|
|
],
|
|
"emailAddresses": [
|
|
{
|
|
"metadata": { "primary": true, "source": { "type": "CONTACT", "id": "c123456789" } },
|
|
"value": "john.updated@example.com",
|
|
"type": "work"
|
|
}
|
|
],
|
|
"contactId": "c123456789"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"connections": {
|
|
"When clicking 'Execute Workflow'": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Update Contact",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"active": false,
|
|
"settings": {
|
|
"executionOrder": "v1"
|
|
}
|
|
}
|