Hoping someone can get me past this issue.
I’m building a workflow that passes a PDF document to an Extract From File node. The prior nodes execute as expected. When executing the Extract node, I get the following (see screenshot). The file in question is a proper PDF, so I cannot determine what is wrong with the node’s configuration.
Thanks in advance!
n8n setup:
- n8n version: 1.76.1
- Running n8n via Docker
- Operating system: Windows 11
Workflow JSON:
"nodes": [
{
"parameters": {
"triggerOn": "folder",
"path": "/data/windows_shared",
"events": [
"add"
],
"options": {
"awaitWriteFinish": true,
"usePolling": true
}
},
"type": "n8n-nodes-base.localFileTrigger",
"typeVersion": 1,
"position": [
-660,
-160
],
"id": "b0de7aea-6630-47a7-a2b1-a28bfdd2185e",
"name": "Local File Trigger"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": false,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "6412eb83-acbf-41a4-ba86-2f4624a63e9b",
"leftValue": "={{ $json.path }}",
"rightValue": ".pdf",
"operator": {
"type": "string",
"operation": "endsWith"
}
}
],
"combinator": "and"
},
"options": {
"ignoreCase": true
}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-400,
-140
],
"id": "fcb966a3-a053-42fd-91f6-b30314f567cf",
"name": "PDF File?"
},
{
"parameters": {
"operation": "pdf",
"binaryPropertyName": "=data {{ $json.path }}",
"options": {}
},
"type": "n8n-nodes-base.extractFromFile",
"typeVersion": 1,
"position": [
-100,
-240
],
"id": "639ea5bb-a19c-4486-8047-b087fe95d1b4",
"name": "Extract from File"
}
],
"connections": {
"Local File Trigger": {
"main": [
[
{
"node": "PDF File?",
"type": "main",
"index": 0
}
]
]
},
"PDF File?": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "db76ddf78d71a0cf811fcc231034cf627df321d56e84e9c8e1c99b1f5b12a919"
}
}