AutomationFlowsData & Sheets › Feedback Collector

Feedback Collector

Feedback Collector. Uses postgres. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesPostgres
Data & Sheets Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Feedback Collector",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "feedback",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "webhook-feedback",
      "name": "Webhook - Feedback",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "=INSERT INTO feedback (timestamp, rating, comment, email, want_updates, user_agent, screen_resolution)\nVALUES (\n  TO_TIMESTAMP('{{ $json.body.timestamp }}', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"'),\n  {{ $json.body.rating }},\n  '{{ $json.body.comment.replace(/'/g, \"''\") }}',\n  '{{ $json.body.email }}',\n  {{ $json.body.wantUpdates }},\n  '{{ $json.body.userAgent.replace(/'/g, \"''\") }}',\n  '{{ $json.body.screenResolution }}'\n)\nRETURNING id;",
        "options": {}
      },
      "id": "save-to-postgres",
      "name": "Save to Postgres",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.4,
      "position": [
        450,
        300
      ],
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ { success: true, message: 'Feedback received. Thank you!' } }}"
      },
      "id": "respond-to-webhook",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    }
  ],
  "connections": {
    "Webhook - Feedback": {
      "main": [
        [
          {
            "node": "Save to Postgres",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save to Postgres": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {},
  "versionId": "1",
  "id": "feedback-collector",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Feedback Collector. Uses postgres. Webhook trigger; 3 nodes.

Source: https://github.com/shazily/syntheticdatagen/blob/821a0a45e9851752555869c9d8cec0ec580287d5/n8n-workflows/feedback-collector.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

Text-to-SQL: Check Status. Uses postgres. Webhook trigger; 5 nodes.

Postgres
Data & Sheets

Anadir_Cliente. Uses postgres. Webhook trigger; 4 nodes.

Postgres
Data & Sheets

Register Company Workflow. Uses start, postgres. Webhook trigger; 4 nodes.

Start, Postgres
Data & Sheets

Tool: Get Postgres Tables. Uses postgres. Webhook trigger; 4 nodes.

Postgres
Data & Sheets

Track Complaint Status. Uses postgres. Webhook trigger; 4 nodes.

Postgres