{
  "name": "jobby - feedback-to-notion - prod",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "jobby-feedback",
        "responseMode": "responseNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "id": "webhook-trigger",
      "name": "Webhook"
    },
    {
      "parameters": {
        "resource": "databasePage",
        "operation": "create",
        "databaseId": {
          "__rl": true,
          "value": "385ee932-db12-81f6-8256-e350b3d1b0f2",
          "mode": "list"
        },
        "propertiesUi": {
          "propertyValues": [
            {
              "key": "Name|title",
              "title": "={{ $json.body.name }}"
            },
            {
              "key": "Email|email",
              "emailValue": "={{ $json.body.email || null }}",
              "ignoreIfEmpty": true
            },
            {
              "key": "Stars|number",
              "numberValue": "={{ Number($json.body.stars) }}"
            },
            {
              "key": "Category|select",
              "selectValue": "={{ $json.body.category }}"
            },
            {
              "key": "Platform|select",
              "selectValue": "jobby"
            },
            {
              "key": "Environment|select",
              "selectValue": "={{ $json.body.platform }}"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.notion",
      "typeVersion": 2.2,
      "position": [
        480,
        300
      ],
      "id": "notion-node",
      "name": "Notion",
      "onError": "continue",
      "credentials": {
        "notionApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "method": "PATCH",
        "url": "=https://api.notion.com/v1/blocks/{{ $json.id }}/children",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "notionApi",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Notion-Version",
              "value": "2022-06-28"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"children\": [\n    {\n      \"object\": \"block\",\n      \"type\": \"heading_1\",\n      \"heading_1\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Feedback from ' + $('Webhook').item.json.body.name) }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"heading_2\",\n      \"heading_2\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": \"Details\"\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"bulleted_list_item\",\n      \"bulleted_list_item\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Date: ' + $now.setZone('Europe/Paris').toFormat('yyyy-MM-dd HH:mm')) }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"bulleted_list_item\",\n      \"bulleted_list_item\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Name: ' + $('Webhook').item.json.body.name) }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"bulleted_list_item\",\n      \"bulleted_list_item\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Email: ' + ($('Webhook').item.json.body.email || 'none')) }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"bulleted_list_item\",\n      \"bulleted_list_item\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Category: ' + $('Webhook').item.json.body.category) }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"bulleted_list_item\",\n      \"bulleted_list_item\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Rating: ' + $('Webhook').item.json.body.stars + ' Stars') }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"bulleted_list_item\",\n      \"bulleted_list_item\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify('Platform: ' + $('Webhook').item.json.body.platform) }}\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"heading_2\",\n      \"heading_2\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": \"Message\"\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"object\": \"block\",\n      \"type\": \"paragraph\",\n      \"paragraph\": {\n        \"rich_text\": [\n          {\n            \"type\": \"text\",\n            \"text\": {\n              \"content\": {{ JSON.stringify($('Webhook').item.json.body.message) }}\n            }\n          }\n        ]\n      }\n    }\n  ]\n}"
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        680,
        300
      ],
      "id": "notion-append-node",
      "name": "Notion Append Blocks",
      "onError": "continue",
      "credentials": {
        "notionApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ $('Notion').item.json.id && !$json.message ? { \"success\": true } : { \"success\": false, \"error\": $json.message || $('Notion').item.json.message || \"Notion API Error\" } }}",
        "options": {
          "responseCode": "={{ $('Notion').item.json.id && !$json.message ? 200 : 500 }}"
        }
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        880,
        300
      ],
      "id": "respond-node",
      "name": "Respond to Webhook"
    },
    {
      "parameters": {
        "content": "### Last Publish Info\n\nPublished on 2026-06-24 08:19:08 | Git: 1528548 feat(ui): update translation files, printing options, custom styles, and layouts",
        "height": 150,
        "width": 300,
        "color": 6
      },
      "id": "a2bc5eb1-d449-4485-b901-b090e7163d2a",
      "name": "Last Publish Info",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -100,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion": {
      "main": [
        [
          {
            "node": "Notion Append Blocks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion Append Blocks": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "active": true,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "//": "Published on 2026-06-24 08:19:08 | Git: 1528548 feat(ui): update translation files, printing options, custom styles, and layouts",
  "description": "Published on 2026-06-22 20:18:24 | Git: 1ca0e6f fix: dynamically adjust dropdowns and tooltips to prevent screen overflow",
  "tags": [
    {
      "name": "jobby"
    }
  ]
}