Create a CRUD REST API with Google Sheets database
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL (plus 4 other triggers). Along the way it connects Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 4 other triggers).
- Append row in sheet (Google Sheets): append
- Get rows in sheet (Google Sheets): uses Google Sheets
- Get row in sheet (Google Sheets): uses Google Sheets
- Prepare Fields for Update (Edit Fields (Set)): sets or maps fields
- Delete rows or columns from sheet (Google Sheets): delete
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Update row in sheet (Google Sheets): update
- Respond to Webhook: sends the response back to the webhook caller
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Google Sheets
n8n-nodes-base.googleSheets - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set
From the author
Simple REST API with Google Sheets Introduction This workflow template demonstrates how to quickly and easily create a simple REST API using n8n and a Google Sheet as a no-code database. It's a perfect starting point for building a backend for small…