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 caller.
action value and routes the request to the matching operation (list, create, update, or delete).list, queries PostgreSQL for up to 100 jobs ordered by created_at and returns the rows in the webhook response.create, inserts a new job (title, description, requirements) into PostgreSQL with status set to open and returns a 200 response.update, updates the specified job in PostgreSQL using the provided id, fields, and status, then returns a 200 response.delete, deletes the specified job by id in PostgreSQL and returns a 200 response.jobs table (id, title, description, requirements, status, created_at) and ensure the database is reachable from n8n.x-api-key with your secret value) and attach it to the webhook.action (and required fields like id, title, status).