Also provide the original file name to the post consumption script

This commit is contained in:
Trenton Holmes
2022-08-21 16:16:28 -07:00
parent baeb2a074a
commit 9b24cf7591
2 changed files with 2 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ into paperless. It receives the following environment variables:
* ``DOCUMENT_THUMBNAIL_URL``
* ``DOCUMENT_CORRESPONDENT``
* ``DOCUMENT_TAGS``
* ``DOCUMENT_ORIGINAL_FILENAME``
The script can be in any language, but for a simple shell script
example, you can take a look at `post-consumption-example.sh`_ in this project.