{
  "name": "Document Data Extraction — PDFs into Structured Rows",
  "description": "Drop a PDF invoice into a folder and get structured data: vendor, date, totals, tax and line items. No manual typing.",
  "type": "GROWAIFY_SAMPLE",
  "notice": "Public preview — 2 of 7 nodes, connections removed. The full, working workflow is delivered after purchase at https://growaify.com/templates/",
  "nodes_total_in_full_version": 7,
  "category": "Operations",
  "price_usd": 49,
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "*/15 * * * *"
            }
          ]
        }
      },
      "name": "Every 15 Min",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -420,
        0
      ],
      "id": "h000001-0000-4000-8000-000000000001"
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "SELECT doc_id, file_path, file_name FROM documents WHERE extracted = FALSE ORDER BY created_at LIMIT 20;"
      },
      "name": "Pending Documents",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.4,
      "position": [
        -200,
        0
      ],
      "id": "h000002-0000-4000-8000-000000000002",
      "credentials": {
        "postgres": {
          "id": "REPLACE_WITH_YOUR_POSTGRES_CRED",
          "name": "Database"
        }
      }
    }
  ],
  "connections": {},
  "meta": {
    "growaify_template": "document-extraction",
    "sample": true,
    "buy": "https://growaify.com/templates/"
  }
}