Templates / Onboard Nextcloud users with Gmail approvals, PostgreSQL, and Google Sheets

Onboard Nextcloud users with Gmail approvals, PostgreSQL, and Google Sheets

Ready for 3.0

by Alex Raj ✓ · 5 views · created 2026-08-19 · HR

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 18 nodes and runs when someone submits an n8n form (“Request a Cloud Storage Account”). Along the way it connects Postgres, Google Sheets and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Request a Cloud Storage Account”).

  1. Verify User in PostgreSQL (Postgres): select
  2. Log to Google Sheets (Google Sheets): append or update
  3. If: checks a condition and branches into true / false
  4. Notify User Exists (Gmail): uses Gmail
  5. Request Admin Approval (Gmail): send and wait for a reply
  6. If: checks a condition and branches into true / false
  7. Create Directory via SSH (SSH): uses SSH
  8. Log Rejection in DB (Postgres): uses Postgres
  9. Create Temp Password (Code): runs custom JavaScript code
  10. Notify Request Rejected (Gmail): uses Gmail

…plus 7 more steps. See the full node list below.

Services it uses

PostgresGoogle SheetsGmail

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Quick overview This workflow collects account requests via an n8n form, checks PostgreSQL for existing users, and routes new requests to Gmail for admin approval. Approved users are provisioned in Nextcloud, synced to Google Sheets and PostgreSQL, and emailed…

Excerpt from Alex Raj's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.