Parseur icon

Parseur

Interact with Parseur to upload text or files

Overview

This node integrates with the Parseur service to upload files or text documents to a specified mailbox (called a parser in Parseur). The "Upload File" operation allows users to send binary file data from previous nodes directly into a chosen mailbox for parsing and extraction.

Common scenarios include automating document processing workflows where incoming files (e.g., invoices, receipts, emails) need to be parsed and structured automatically. For example, after receiving an email attachment, this node can upload that file to Parseur to extract relevant data fields without manual intervention.

Properties

Name Meaning
Mailbox Name or ID Selects the target mailbox (parser) in Parseur where the file will be uploaded. Can choose from a list or specify an ID via expression.
File Property Specifies the name of the binary property from the input data that contains the file to upload (default is "data").

Output

The node outputs JSON data representing the response from the Parseur API after uploading the file. This typically includes metadata about the uploaded document and its processing status within Parseur.

If the node handles binary data, it expects the input binary property containing the file but does not output binary data itself.

Dependencies

  • Requires an active Parseur account and API key credential configured in n8n.
  • Needs network access to the Parseur API endpoints.
  • The node depends on the getParsers method to dynamically load available mailboxes/parsers for selection.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Specifying a non-existent mailbox ID or name will result in errors indicating the mailbox was not found.
    • Incorrect binary property name may lead to no file being uploaded or errors due to missing file data.
  • Error messages:

    • "Unknown operation": Occurs if an unsupported operation value is set; ensure "uploadFile" is selected.
    • API errors from Parseur usually indicate issues with authentication, mailbox existence, or file format.
  • Resolutions:

    • Verify API credentials are correctly set up.
    • Confirm the mailbox exists and is accessible.
    • Ensure the binary property name matches the actual input data property containing the file.

Links and References

Discussion