{
  "name": "Extract data from Dropbox documents with DocuPipe and post to Slack",
  "nodes": [
    {
      "id": "1625b6da-0d6f-44a6-9ea7-12e5c6d24e02",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -260
      ],
      "parameters": {
        "width": 520,
        "height": 1020,
        "content": "## Dropbox to DocuPipe to Slack\n\nAutomatically extract structured data from files uploaded to Dropbox using [DocuPipe](https://docupipe.ai) AI and post formatted results to Slack.\n\n### Who is this for"
      }
    },
    {
      "id": "ddfe9aa6-15c9-4d9f-82c4-7744c5438d46",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        -120
      ],
      "parameters": {
        "width": 1260,
        "height": 380,
        "content": "## Scenario 1 - Detect New Files & Upload to DocuPipe\nPolls a Dropbox folder every minute for files. A filter checks for recently added files so only new documents are processed. Each new file is down"
      }
    },
    {
      "id": "ec7abe96-e415-4cbc-aaf6-c24e6e9f9b9b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        300
      ],
      "parameters": {
        "width": 1420,
        "height": 440,
        "content": "## Scenario 2 - Process Extraction Results & Post to Slack\nWhen DocuPipe completes extraction, the webhook triggers this flow. The extracted data is fetched, formatted into a readable Slack message wi"
      }
    },
    {
      "id": "f83edf79-8358-4878-801d-6e9e7261eac0",
      "name": "Check Every Minute",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        60
      ]
    },
    {
      "id": "6d4f4305-e179-49ff-9856-aa46678ed9f6",
      "name": "List Dropbox Folder",
      "type": "n8n-nodes-base.dropbox",
      "position": [
        240,
        60
      ]
    },
    {
      "id": "27431d1b-0530-46db-bd06-e3bafcf795d6",
      "name": "Filter New Files",
      "type": "n8n-nodes-base.if",
      "position": [
        480,
        60
      ]
    },
    {
      "id": "e869f550-350a-4f51-a4e8-33e55088e73f",
      "name": "Download File from Dropbox",
      "type": "n8n-nodes-base.dropbox",
      "position": [
        720,
        60
      ]
    },
    {
      "id": "6edd1006-67ea-4ab9-991f-6421572aad8b",
      "name": "Upload File & Extract Data",
      "type": "n8n-nodes-docupipe.docuPipe",
      "position": [
        960,
        60
      ]
    },
    {
      "id": "d52c2e4b-13a0-42a2-8f31-f3eb3a8e3215",
      "name": "Extraction Complete",
      "type": "n8n-nodes-docupipe.docuPipeTrigger",
      "position": [
        0,
        480
      ]
    },
    {
      "id": "287a05b6-289c-4493-9857-e3e9f882dea2",
      "name": "Get Extracted Data",
      "type": "n8n-nodes-docupipe.docuPipe",
      "position": [
        260,
        480
      ]
    },
    {
      "id": "b8202c06-4439-4a66-8f2f-8ecfddce9d9b",
      "name": "Format Slack Message",
      "type": "n8n-nodes-base.code",
      "position": [
        520,
        480
      ]
    },
    {
      "id": "97065c89-8e4f-42d9-b3bf-b38d85b787f1",
      "name": "Set Channel & Message",
      "type": "n8n-nodes-base.set",
      "position": [
        780,
        480
      ]
    },
    {
      "id": "bc70419e-e0b0-4931-bb96-b5e167861150",
      "name": "Post Results to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1040,
        480
      ]
    }
  ],
  "connections": {
    "Filter New Files": {
      "main": [
        [
          {
            "node": "Download File from Dropbox",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Every Minute": {
      "main": [
        [
          {
            "node": "List Dropbox Folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Extracted Data": {
      "main": [
        [
          {
            "node": "Format Slack Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extraction Complete": {
      "main": [
        [
          {
            "node": "Get Extracted Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Dropbox Folder": {
      "main": [
        [
          {
            "node": "Filter New Files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Slack Message": {
      "main": [
        [
          {
            "node": "Set Channel & Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Channel & Message": {
      "main": [
        [
          {
            "node": "Post Results to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File from Dropbox": {
      "main": [
        [
          {
            "node": "Upload File & Extract Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}