Templates / Manage job records via webhook REST API with PostgreSQL

Manage job records via webhook REST API with PostgreSQL

Ready for 3.0

by Raj · 44 views · created 2026-06-03 · 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-10-19.

What this workflow does

This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Postgres.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Switch: routes items into 4 branches
  2. Get All Jobs (Postgres): run a query
  3. Create Job (Postgres): run a query
  4. Update Job (Postgres): run a query
  5. Delete Job (Postgres): run a query
  6. Return Job List (Respond to Webhook): sends the response back to the webhook caller
  7. Error During Fetching Jobs (Respond to Webhook): sends the response back to the webhook caller
  8. Return Success Response (Respond to Webhook): sends the response back to the webhook caller
  9. Error during job creation (Respond to Webhook): sends the response back to the webhook caller
  10. Error during job details 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

Postgres

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)

From the author

Quick overview This workflow exposes a header-authenticated webhook REST API that performs CRUD operations on a PostgreSQL jobs table, letting you create, list, update, and delete job records and returning either JSON results or an error message to the…

Excerpt from 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.