n8n/packages/nodes-base/nodes/Google/Contacts/test/contact-create-basic.workflow.json
Shireen Missi 3a9012819b
test: Add tests for nodes (no-changelog) (#20349)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-07 11:16:42 +01:00

73 lines
1.4 KiB
JSON

{
"name": "Google Contacts Create Basic 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": "create",
"familyName": "Doe",
"givenName": "John"
},
"type": "n8n-nodes-base.googleContacts",
"typeVersion": 1,
"position": [200, 0],
"id": "contact-create-basic",
"name": "Create Contact Basic",
"credentials": {
"googleContactsOAuth2Api": {
"id": "test-credential-id",
"name": "Test Google Contacts OAuth2"
}
}
}
],
"pinData": {
"Create Contact Basic": [
{
"json": {
"resourceName": "people/c123456789",
"etag": "%EgYBAgMEBQYHCCESBCAFIAI=.",
"names": [
{
"metadata": {
"primary": true,
"source": { "type": "CONTACT", "id": "c123456789" }
},
"displayName": "John Doe",
"familyName": "Doe",
"givenName": "John",
"displayNameLastFirst": "Doe, John"
}
],
"contactId": "c123456789"
}
}
]
},
"connections": {
"When clicking 'Execute Workflow'": {
"main": [
[
{
"node": "Create Contact Basic",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
}
}