{"id":"179","name":"Create, update, and get a document in Google Cloud Firestore","nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[250,300],"parameters":{},"typeVersion":1,"id":"f5b5b207-b5d4-47b1-81ee-89d4b2f27b8d","notes":"This manualTrigger node performs automated tasks as part of the workflow."},{"name":"Google Cloud Firestore","type":"n8n-nodes-base.googleFirebaseCloudFirestore","position":[650,300],"parameters":{"columns":"id, name","operation":"create","projectId":"docs-f8925","collection":"n8n"},"credentials":{"googleFirebaseCloudFirestoreOAuth2Api":"Cloud Firestore Credentials"},"typeVersion":1,"id":"cc6e9d96-39ca-47eb-a3d7-cc4dd024d01b","notes":"This googleFirebaseCloudFirestore node performs automated tasks as part of the workflow."},{"name":"Set","type":"n8n-nodes-base.set","position":[450,300],"parameters":{"values":{"number":[{"name":"id","value":1}],"string":[{"name":"name","value":"n8n"}]},"options":{}},"typeVersion":1,"id":"86548bc9-c3e4-48ea-90c4-0ac21e3d421f","notes":"This set node performs automated tasks as part of the workflow."},{"name":"Set1","type":"n8n-nodes-base.set","position":[850,300],"parameters":{"values":{"string":[{"name":"name","value":"nodemation"},{"name":"document_id","value":"={{$node[\"Google Cloud Firestore\"].json[\"_id\"]}}"}]},"options":{},"keepOnlySet":true},"typeVersion":1,"id":"ea07e9d5-9e52-4a56-8ba3-8f4c0bbb13ae","notes":"This set node performs automated tasks as part of the workflow."},{"name":"Google Cloud Firestore1","type":"n8n-nodes-base.googleFirebaseCloudFirestore","position":[1050,300],"parameters":{"columns":"name","operation":"upsert","projectId":"={{$node[\"Google Cloud Firestore\"].parameter[\"projectId\"]}}","updateKey":"YOUR_CREDENTIAL_HERE","collection":"={{$node[\"Google Cloud Firestore\"].parameter[\"collection\"]}}"},"credentials":{"googleFirebaseCloudFirestoreOAuth2Api":"Cloud Firestore Credentials"},"typeVersion":1,"id":"f219193b-63a1-4f37-8b86-6c1d6a387b02","notes":"This googleFirebaseCloudFirestore node performs automated tasks as part of the workflow."},{"name":"Google Cloud Firestore2","type":"n8n-nodes-base.googleFirebaseCloudFirestore","position":[1250,300],"parameters":{"projectId":"={{$node[\"Google Cloud Firestore\"].parameter[\"projectId\"]}}","collection":"={{$node[\"Google Cloud Firestore\"].parameter[\"collection\"]}}","documentId":"={{$node[\"Set1\"].json[\"document_id\"]}}"},"credentials":{"googleFirebaseCloudFirestoreOAuth2Api":"Cloud Firestore Credentials"},"typeVersion":1,"id":"18fd76c7-929f-4d1f-b49b-0d2fe1dbe653","notes":"This googleFirebaseCloudFirestore node performs automated tasks as part of the workflow."},{"id":"error-627ff0b0","name":"Error Handler","type":"n8n-nodes-base.stopAndError","typeVersion":1,"position":[1000,400],"parameters":{"message":"Workflow execution error","options":{}}}],"active":false,"settings":{"executionOrder":"v1","saveManualExecutions":true,"callerPolicy":"workflowsFromSameOwner","errorWorkflow":null,"timezone":"UTC","executionTimeout":3600,"maxExecutions":1000,"retryOnFail":true,"retryCount":3,"retryDelay":1000},"connections":{},"description":"Automated workflow: Create, update, and get a document in Google Cloud Firestore. This workflow processes data and performs automated tasks.","meta":{"instanceId":"workflow-b6dec3c8","versionId":"1.0.0","createdAt":"2025-09-29T07:07:48.777319","updatedAt":"2025-09-29T07:07:48.777328","owner":"n8n-user","license":"MIT","category":"automation","status":"active","priority":"high","environment":"production"},"notes":"Excellent quality workflow: Create, update, and get a document in Google Cloud Firestore. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}