Parse documents in real time via webhook with Parseur

Go to Workflow
0 views
Built by Zain Khan Zain Khan
Created on July 29, 2026

Description

Quick overview
This workflow receives a document via a secure webhook, uploads it to Parseur for parsing, polls Parseur until the parsing completes or times out, and returns either the extracted JSON result or a structured error response to the calling client.

How it works
Receives an authenticated POST webhook request containing a document file in binary form.
Uploads the document to Parseur using a specified parser and captures the returned DocumentID.
Waits briefly, then calls the Parseur Document API to check the document’s parsing status.
If parsing is not complete and the retry limit is not reached, waits and retries the status check while incrementing a retry counter.
When Parseur reports a successful parse, returns the parsed fields as a JSON response to the webhook caller.
If uploading fails, Parseur’s API cannot be reached, or the retries are exhausted, returns an appropriate JSON error response (400, 503, or 408).

Setup
Configure the webhook header authentication and share the webhook URL with the system that will POST the document to /parse-document.
Add Parseur credentials for the upload step and set the correct Parseur parser ID.
Add HTTP header authentication credentials for the Parseur Document API status polling request.
Adjust the polling wait times and maximum retry count to match your Parseur rate limits and desired timeout behavior.

Nodes Used (1)

HTTP Request
n8n-nodes-base.httpRequest