Create, Update & Get Docs in Google Cloud Firestore
Automate creating, updating, and retrieving documents in Google Cloud Firestore using n8n. Ideal for database operations with manual trigger and dynamic data handling.
This n8n workflow demonstrates core operations on Google Cloud Firestore: creating a new document, updating an existing one via upsert, and preparing for retrieval. It starts with a manual trigger, sets initial data (e.g., id=1, name='n8n'), creates a document in the 'n8n' collection of the 'docs-f8925' project, captures the generated document ID, then sets updated data (name='nodemation') and performs an upsert using the captured ID as the update key. While the preview focuses on create and upsert, the workflow supports getting documents by adapting the Firestore node.
Benefits include seamless integration with Firestore without custom code, dynamic referencing between operations for chained actions, and easy customization—replace the Set nodes with data from webhooks, APIs, or other sources. It saves hours of development time for NoSQL database automations, ensuring data consistency across create-update cycles.
Use cases span app backends, like user profile management (create new users, update profiles), inventory tracking (add items, modify stock), or logging systems (insert events, upsert statuses). Extend it for production by adding error handling, scheduling triggers, or looping over multiple documents. Perfect for developers and IT teams streamlining Firestore interactions in CI/CD pipelines or real-time apps.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Utilities workflows
- Streamlined Employee Onboarding with Automated Meeting Setup$19.98
- Automate Your LinkedIn Content Creation with RAG Pipeline & Chatbot$24.99
- SEO Keyword Research Automation with Google API Integration$14.99
- Automate Google Sheets and Gmail Integration via Webhook$16.33
- Automated Breaking News Headlines with LLaMA3 and X Posting$19.99
- Automated Webinar Registration and Contact Management$13.09
More from Jose Maurino
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.