mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 01:37:07 +02:00
73 lines
1.4 KiB
JSON
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"
|
|
}
|
|
}
|