diff --git a/docs/nodes/nodes-library/core-nodes/ReadPDF/README.md b/docs/nodes/nodes-library/core-nodes/ReadPDF/README.md new file mode 100644 index 000000000..7c637a03d --- /dev/null +++ b/docs/nodes/nodes-library/core-nodes/ReadPDF/README.md @@ -0,0 +1,41 @@ +--- +permalink: /nodes/n8n-nodes-base.readPDF +--- + +# Read PDF + +The Read PDF node is used to read data from PDF documents and extract its content as text. + +::: tip 💡 Keep in mind +1. You will need to use an additional node such as the [Read Binary File](../../core-nodes/ReadBinaryFile/README.md) node or the [HTTP Request](../../core-nodes/HTTPRequest/README.md) node to pass the image file as a data property to the Read PDF node. +::: + +## Node Reference + +The Read PDF node has one property: + +1. *Binary Property* field: This is a text field used to specify the name of the data property used to read the PDF file in n8n. + +## Example Usage + +This workflow allows you to read a PDF file using the Read PDF node. You can also find the [workflow](https://n8n.io/workflows/585) on the website. This example usage workflow would use the following three nodes. +- [Start](../../core-nodes/Start/README.md) +- [Read Binary File](../../core-nodes/ReadBinaryFile/README.md) +- [PDF Read]() + + +The final workflow should look like the following image. + +![A workflow with the Read PDF node](./workflow.png) + +### 1. Start node + +The start node exists by default when you create a new workflow. + +### 2. Read Binary File +1. Enter the path to the PDF file you want to read in the *File Path* field. + +### 3. Read PDF node + +1. Enter the *Property Name* you used in the previous node in the *Binary Property* field. +2. Click on *Execute Node* to run the workflow. diff --git a/docs/nodes/nodes-library/core-nodes/ReadPDF/workflow.png b/docs/nodes/nodes-library/core-nodes/ReadPDF/workflow.png new file mode 100644 index 000000000..ccf902e95 Binary files /dev/null and b/docs/nodes/nodes-library/core-nodes/ReadPDF/workflow.png differ