Google-Anmeldedaten erstellen
Fortgeschritten
Dies ist ein Other-Bereich Automatisierungsworkflow mit 7 Nodes. Hauptsächlich werden N8n, Set, SplitOut, ManualTrigger und andere Nodes verwendet. Automatisierung der Erstellung von Google OAuth2-Anmeldeinformationen in n8n
Voraussetzungen
- •Keine besonderen Voraussetzungen, sofort nach Import nutzbar
Verwendete Nodes (7)
Kategorie
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
"id": "fEJliGTxbsE0G8z2",
"meta": {
"instanceId": "c7e0ba199938cfb8dab96f39dc136474614055d46336311a365ac15728164ae1",
"templateCredsSetupCompleted": true
},
"name": "Create Google Creds",
"tags": [],
"nodes": [
{
"id": "92174182-12ab-4903-aa1c-d7a872fcadc0",
"name": "Bei Klick auf 'Workflow testen'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e78da252-0302-42d6-b067-aaeb75f4ee3b",
"name": "Dienste",
"type": "n8n-nodes-base.set",
"position": [
600,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "33c46c17-3b0d-43eb-a9c9-3d1b8a71728f",
"name": "services",
"type": "array",
"value": "\n[\n {\n \"service\": \"googleDocsOAuth2Api\"\n },\n {\n \"service\": \"googleSheetsOAuth2Api\"\n },\n {\n \"service\": \"googleSlidesOAuth2Api\"\n },\n {\n \"service\": \"googleDriveOAuth2Api\"\n },\n {\n \"service\": \"gmailOAuth2\"\n },\n {\n \"service\": \"googleCalendarOAuth2Api\"\n },\n {\n \"service\": \"googleContactsOAuth2Api\"\n }\n]"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "1a387d21-b7a0-426b-bacb-6bcd5ec389a7",
"name": "Google JSON",
"type": "n8n-nodes-base.set",
"notes": "Include the entire Google JSON file, which can be obtained either when creating the OAuth 2.0 credentials or afterward from the Credentials page.",
"position": [
180,
0
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": " {\n \"web\": {\n \"client_id\": \"\",\n \"project_id\": \"\",\n \"auth_uri\": \"\",\n \"token_uri\": \"\",\n \"auth_provider_x509_cert_url\": \"\",\n \"client_secret\": \"\",\n \"redirect_uris\": [\n \"\"\n ]\n }\n }"
},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "07096943-ab80-4915-ab59-7e1166303f66",
"name": "Aufteilen",
"type": "n8n-nodes-base.splitOut",
"position": [
820,
0
],
"parameters": {
"options": {},
"fieldToSplitOut": "services"
},
"typeVersion": 1
},
{
"id": "a30743a5-f817-43d2-8b9c-df95b8bb2b81",
"name": "Google E-Mail",
"type": "n8n-nodes-base.set",
"notes": "Set to your email address.",
"position": [
380,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "18e7a65f-904a-47be-94b6-06c7167c2c62",
"name": "Google Email",
"type": "string",
"value": "username@gmail.com"
}
]
}
},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "8a24e96a-b3c5-4073-abfc-8177671f7f6c",
"name": "n8n Anmeldeinformationen erstellen",
"type": "n8n-nodes-base.n8n",
"position": [
1100,
0
],
"parameters": {
"data": "={\n \"clientId\":\"{{ $('Google JSON').item.json.web.client_id }}\",\n \"clientSecret\": \"{{ $('Google JSON').item.json.web.client_secret }}\"\n}",
"name": "={{ $('Google Email').item.json['Google Email'] }} - {{ $json.service }}",
"resource": "credential",
"requestOptions": {},
"credentialTypeName": "={{ $json.service }}"
},
"credentials": {
"n8nApi": {
"id": "XMAqFWjBVgTU7khS",
"name": "n8n account"
}
},
"typeVersion": 1
},
{
"id": "55c3814c-e08f-4541-8229-a197fa0fd0ba",
"name": "Notizzettel",
"type": "n8n-nodes-base.stickyNote",
"position": [
-460,
-460
],
"parameters": {
"color": 6,
"width": 360,
"height": 520,
"content": "## Create Google Creds\nI found manually creating credentials for multiple google accounts to be rather tedious, and if not named well hard to identify later. \n\nThis will create credentials with the email address for all of the basic services. \n\n### Set the values of:\n* Google JSON\nInclude the entire Google JSON file, which can be obtained either when creating the OAuth 2.0 credentials or afterward from the Credentials page.\n\n* Google Email\nSet to your email address\n\n*n8n\nSet your API connection\n\n### Sign In\nYou still need to sign in to each credential that was created."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1",
"executionTimeout": -1
},
"versionId": "8924dfed-07be-4f42-8665-d6f4b1dcbd58",
"connections": {
"e78da252-0302-42d6-b067-aaeb75f4ee3b": {
"main": [
[
{
"node": "07096943-ab80-4915-ab59-7e1166303f66",
"type": "main",
"index": 0
}
]
]
},
"07096943-ab80-4915-ab59-7e1166303f66": {
"main": [
[
{
"node": "8a24e96a-b3c5-4073-abfc-8177671f7f6c",
"type": "main",
"index": 0
}
]
]
},
"1a387d21-b7a0-426b-bacb-6bcd5ec389a7": {
"main": [
[
{
"node": "a30743a5-f817-43d2-8b9c-df95b8bb2b81",
"type": "main",
"index": 0
}
]
]
},
"a30743a5-f817-43d2-8b9c-df95b8bb2b81": {
"main": [
[
{
"node": "e78da252-0302-42d6-b067-aaeb75f4ee3b",
"type": "main",
"index": 0
}
]
]
},
"92174182-12ab-4903-aa1c-d7a872fcadc0": {
"main": [
[
{
"node": "1a387d21-b7a0-426b-bacb-6bcd5ec389a7",
"type": "main",
"index": 0
}
]
]
}
}
}Häufig gestellte Fragen
Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Sonstiges
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Klonen von n8n-Workflows zwischen Instanzen über n8n API
n8n-Workflows zwischen Instanzen mit dem n8n API klonen
N8n
Set
Code
+
N8n
Set
Code
17 NodesAlex Kim
Sonstiges
Gegenseitige Synchronisation Google Kontakte mit Notion
Zweiseitige Synchronisation von Google Kontakten und Notion
If
Set
Merge
+
If
Set
Merge
82 NodesSolomon
Sonstiges
Stündlicher Ausführungsversuch
Automatische Wiederholungs-Engine: Fehler-Wiederherstellungs-Workflows
If
N8n
Set
+
If
N8n
Set
14 NodesFrancis Njenga
Sonstiges
Automatisierter Auftragsabwicklungsprozess für Squarespace
Automatisierter Squarespace-Auftragsabwicklungsprozess
Set
Filter
Split Out
+
Set
Filter
Split Out
12 Nodesbangank36
Vertrieb
Workflows zu GitHub (Unterordner) sichern
Sichere Workflows in GitHub (Unterverzeichnis)
If
N8n
Set
+
If
N8n
Set
25 NodesNazmy
Sonstiges
Workflows zu GitHub sichern
Sichere Workflows in GitHub
If
N8n
Set
+
If
N8n
Set
23 NodesSolomon
Sonstiges
Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes7
Kategorie1
Node-Typen5
Autor
Jordan Haisley
@jordanExterne Links
Auf n8n.io ansehen →
Diesen Workflow teilen