AutomationFlowsAI & RAG › Issue Reporting - Submit to Postgres

Issue Reporting - Submit to Postgres

Issue Reporting - Submit to Postgres. Uses formTrigger, postgres, form. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesForm TriggerPostgresForm
AI & RAG Trigger: Event Nodes: 4 Complexity: ★★☆☆☆ Added:

This workflow follows the Form → Form Trigger recipe pattern — see all workflows that pair these two integrations.

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": "Issue Reporting - Submit to Postgres",
  "nodes": [
    {
      "parameters": {
        "formTitle": "Report an Issue",
        "formDescription": "Fill in your details, describe the issue, and attach a photo. Your report and image are stored in Postgres for review later.",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Name",
              "placeholder": "e.g. Alfred Ang",
              "requiredField": true
            },
            {
              "fieldLabel": "Issue Summary",
              "fieldType": "textarea",
              "placeholder": "Briefly describe the issue you are reporting",
              "requiredField": true
            },
            {
              "fieldLabel": "Date",
              "fieldType": "date",
              "requiredField": true
            },
            {
              "fieldLabel": "Image",
              "fieldType": "file",
              "acceptFileTypes": ".jpg,.jpeg,.png,.gif,.webp",
              "multipleFiles": false,
              "requiredField": true
            }
          ]
        },
        "options": {
          "buttonLabel": "Submit Report"
        }
      },
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.5,
      "position": [
        0,
        0
      ],
      "id": "db75e6b9-25ab-47a6-ae64-49018c15f661",
      "name": "On form submission"
    },
    {
      "parameters": {
        "operation": "binaryToProperty",
        "binaryPropertyName": "Image",
        "destinationKey": "image_base64",
        "options": {}
      },
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1,
      "position": [
        220,
        0
      ],
      "id": "a1b2c3d4-1111-4a22-9e33-aaaa00001111",
      "name": "Image to Base64"
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "INSERT INTO issue_reports\n  (reporter_name, issue_summary, report_date, image_filename, image_mimetype, image_data)\nVALUES\n  ($1, $2, $3, $4, $5, decode($6, 'base64'))\nRETURNING id, reporter_name, report_date, created_at;",
        "options": {
          "queryReplacement": "={{ [ $('On form submission').item.json['Name'], $('On form submission').item.json['Issue Summary'], $('On form submission').item.json['Date'], $('On form submission').item.binary['Image'].fileName, $('On form submission').item.binary['Image'].mimeType, $json['image_base64'] ] }}"
        }
      },
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.6,
      "position": [
        440,
        0
      ],
      "id": "f0070bac-dfa8-4d40-9663-13ed2022ab91",
      "name": "Insert Issue Report",
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "completion",
        "respondWith": "showText",
        "completionTitle": "Thanks \u2014 your issue was reported \u2705",
        "completionMessage": "=Report #{{ $json.id }} saved on {{ $json.report_date }}. We'll review it shortly.",
        "options": {}
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        660,
        0
      ],
      "id": "b2c3d4e5-2222-4b33-9f44-bbbb00002222",
      "name": "Show Confirmation"
    }
  ],
  "connections": {
    "On form submission": {
      "main": [
        [
          {
            "node": "Image to Base64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image to Base64": {
      "main": [
        [
          {
            "node": "Insert Issue Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert Issue Report": {
      "main": [
        [
          {
            "node": "Show Confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "f0139a03-58b3-479e-884c-a3fbb9047b25",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "62jgEPYIbGktcmvF",
  "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

Issue Reporting - Submit to Postgres. Uses formTrigger, postgres, form. Event-driven trigger; 4 nodes.

Source: https://github.com/tertiarycourses/TGS-2026062147-No-Code-and-Low-Code-Agentic-AI-Applications/blob/main/labs/mini-capstone/issue-tracking/issue-report-postgresql.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

Transform database design from weeks to minutes with this intelligent multi-agent system. Perfect for agencies, consultancies, and SaaS companies offering database architecture as a lead magnet or ser

Anthropic Chat, Agent, Form +2
AI & RAG

Supercharge Claude 3.7 with full customization & deeper reasoning!

Form Trigger, Form, HTTP Request
AI & RAG

Subir_Docs/PDF_Final. Uses formTrigger, postgres, n8n, httpRequest. Event-driven trigger; 18 nodes.

Form Trigger, Postgres, n8n +1
AI & RAG

Who this is for

YouTube, Form Trigger, Google Sheets +2
AI & RAG

Demo: flux kontext. Uses formTrigger, httpRequest, form. Event-driven trigger; 8 nodes.

Form Trigger, HTTP Request, Form