[{"data":1,"prerenderedAt":565,"buildId":566},["ShallowReactive",2],{"\u002Fconnections\u002Fphotos-and-documents":3,"\u002Fconnections\u002Fphotos-and-documents-surround":250,"navigation":261},{"id":4,"title":5,"body":6,"description":242,"extension":243,"meta":244,"navigation":245,"path":246,"seo":247,"stem":248,"__hash__":249},"docs\u002F4.connections\u002F4.photos-and-documents.md","Photos and documents",{"type":7,"value":8,"toc":231},"minimark",[9,22,37,41,89,95,98,110,115,148,151,186,191,194,201,205],[10,11,12,13,17,18,21],"p",{},"Some files belong in a library built for them: photos and videos in ",[14,15,16],"strong",{},"Immich",", scans, receipts and letters in ",[14,19,20],{},"Paperless-ngx",". Avenvail stays the place you drop files, and a workflow sends each one on to where it belongs.",[10,23,24,25,28,29,32,33,36],{},"Add a connection under ",[14,26,27],{},"Automations › Connections"," with ",[14,30,31],{},"Add connection",", then choose a service under ",[14,34,35],{},"Photo and document libraries",".",[38,39,16],"h2",{"id":40},"immich",[42,43,44,56],"table",{},[45,46,47],"thead",{},[48,49,50,54],"tr",{},[51,52,53],"th",{},"Setting",[51,55],{},[57,58,59,77],"tbody",{},[48,60,61,65],{},[62,63,64],"td",{},"Address",[62,66,67,68,72,73,76],{},"Where you open Immich in the browser, such as ",[69,70,71],"code",{},"https:\u002F\u002Fphotos.example.com",". Not the ",[69,74,75],{},"\u002Fapi"," address.",[48,78,79,82],{},[62,80,81],{},"API key",[62,83,84,85,88],{},"Kept secret. In Immich, open ",[14,86,87],{},"Account Settings › API Keys"," and create a key.",[10,90,91,94],{},[14,92,93],{},"Test connection"," reads the key's user, which changes nothing, and names who uploads will belong to.",[10,96,97],{},"A key with every permission works. If you limit it, it needs to upload assets, read your user, and read, create and add to albums.",[10,99,100,101,104,105,36],{},"A server on your own network needs ",[14,102,103],{},"Allow private network addresses",", which only admins can turn on. See ",[106,107,109],"a",{"href":108},"\u002Fconnections#outside-addresses-only","Outside addresses only",[111,112,114],"h3",{"id":113},"how-photos-are-sent","How photos are sent",[116,117,118,132,139,142],"ul",{},[119,120,121,122,126,127,131],"li",{},"The ",[106,123,125],{"href":124},"\u002Freference\u002Fsteps#upload-to-immich","Upload to Immich"," step streams the file to Immich, up to 20 GiB, as a device called ",[128,129,130],"em",{},"avenvail",". Immich reads the photo's own metadata, such as where it was taken; the date taken comes from the file, or the upload date when it has none.",[119,133,134,135,138],{},"Immich keeps one copy of each file per user. Uploading a file it already has succeeds and returns the existing photo, marked ",[128,136,137],{},"Already in Immich",", so running a workflow again never makes duplicates.",[119,140,141],{},"Albums are given by name and matched ignoring case. An album that doesn't exist is created, unless you turn that off. Adding a photo that's already in the album is fine.",[119,143,144,145,36],{},"Links point at the photo's page in Immich, such as ",[69,146,147],{},"https:\u002F\u002Fphotos.example.com\u002Fphotos\u002F…",[38,149,20],{"id":150},"paperless-ngx",[42,152,153,161],{},[45,154,155],{},[48,156,157,159],{},[51,158,53],{},[51,160],{},[57,162,163,175],{},[48,164,165,167],{},[62,166,64],{},[62,168,169,170,72,173,76],{},"Where you open Paperless in the browser, such as ",[69,171,172],{},"https:\u002F\u002Fpaperless.example.com",[69,174,75],{},[48,176,177,180],{},[62,178,179],{},"API token",[62,181,182,183,36],{},"Kept secret. In Paperless, open your profile (top right) and create or copy the ",[14,184,185],{},"API Auth Token",[10,187,188,190],{},[14,189,93],{}," lists one tag, which changes nothing, and shows the Paperless version when the token works.",[10,192,193],{},"The token acts as your Paperless user, so documents Avenvail sends are owned by that user, and the step can only use and create tags, correspondents and document types that user may. Create a separate Paperless user for Avenvail if you want to keep its documents apart.",[10,195,196,197,104,199,36],{},"A Paperless server on your own network needs ",[14,198,103],{},[106,200,109],{"href":108},[111,202,204],{"id":203},"how-documents-are-sent","How documents are sent",[116,206,207,214,221,228],{},[119,208,121,209,213],{},[106,210,212],{"href":211},"\u002Freference\u002Fsteps#send-to-paperless","Send to Paperless"," step uploads the file to Paperless's consumption endpoint, streamed, up to 2 GiB. Paperless then processes it as it would a file in its consume folder: OCR, its own matching rules and workflows.",[119,215,216,217,220],{},"Tags, correspondents and document types are given by name and matched ignoring case. Names Paperless doesn't have are created, with matching turned off so Paperless doesn't start assigning them by itself, unless you turn ",[14,218,219],{},"Create missing names"," off.",[119,222,223,224,227],{},"The step waits up to two minutes for Paperless to finish, so it can return the document's link and save it in a field. When Paperless refuses a file it already has (same checksum), the step still succeeds, with the status ",[69,225,226],{},"duplicate"," and the existing document's link.",[119,229,230],{},"Avenvail sends the request with API version 5, which Paperless-ngx 2.0 and later understand.",{"title":232,"searchDepth":233,"depth":234,"links":235},"",2,3,[236,239],{"id":40,"depth":233,"text":16,"children":237},[238],{"id":113,"depth":234,"text":114},{"id":150,"depth":233,"text":20,"children":240},[241],{"id":203,"depth":234,"text":204},"Connect Immich and Paperless-ngx, so workflows can send photos and videos to Immich albums and file documents in Paperless.","md",{},true,"\u002Fconnections\u002Fphotos-and-documents",{"title":5,"description":242},"4.connections\u002F4.photos-and-documents","mJL23KjH6RBsbPxPDOEbnVBWSRZtkvSMybQMA3IMIRI",[251,256],{"title":252,"path":253,"stem":254,"description":255,"children":-1},"File storage","\u002Fconnections\u002Fstorage","4.connections\u002F3.storage","Connect Nextcloud, ownCloud, a Synology NAS or any WebDAV server, so workflows can copy or move files there.",{"title":257,"path":258,"stem":259,"description":260,"children":-1},"Overview","\u002Fai","5.ai\u002F1.index","Sort and read files with an AI model you choose, from a model on your own machine to a hosted service.",[262,282,321,364,377,394,405,448,495,517,533],{"title":263,"path":264,"stem":265,"children":266,"icon":281},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[267,269,273,277],{"title":268,"path":264,"stem":265},"Introduction",{"title":270,"path":271,"stem":272},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":274,"path":275,"stem":276},"Configure ShareX","\u002Fgetting-started\u002Fsharex","1.getting-started\u002F3.sharex",{"title":278,"path":279,"stem":280},"Updating Avenvail","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-rocket",{"title":283,"icon":284,"path":285,"stem":286,"children":287,"page":320},"Library","i-lucide-folder","\u002Flibrary","2.library",[288,292,296,300,304,308,312,316],{"title":289,"path":290,"stem":291},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":293,"path":294,"stem":295},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":297,"path":298,"stem":299},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":301,"path":302,"stem":303},"Tags","\u002Flibrary\u002Ftags","2.library\u002F4.tags",{"title":305,"path":306,"stem":307},"Fields","\u002Flibrary\u002Ffields","2.library\u002F5.fields",{"title":309,"path":310,"stem":311},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F6.attachments",{"title":313,"path":314,"stem":315},"Search","\u002Flibrary\u002Fsearch","2.library\u002F7.search",{"title":317,"path":318,"stem":319},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash",false,{"title":322,"path":323,"stem":324,"children":325,"icon":363},"Automations","\u002Fautomations","3.automations\u002F01.index",[326,327,331,335,339,343,347,351,355,359],{"title":257,"path":323,"stem":324},{"title":328,"path":329,"stem":330},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":332,"path":333,"stem":334},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":336,"path":337,"stem":338},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":340,"path":341,"stem":342},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":344,"path":345,"stem":346},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F06.intake",{"title":348,"path":349,"stem":350},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing",{"title":352,"path":353,"stem":354},"Runs and history","\u002Fautomations\u002Fruns","3.automations\u002F08.runs",{"title":356,"path":357,"stem":358},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine",{"title":360,"path":361,"stem":362},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":365,"path":366,"stem":367,"children":368,"icon":376},"Connections","\u002Fconnections","4.connections\u002F1.index",[369,370,374,375],{"title":257,"path":366,"stem":367},{"title":371,"path":372,"stem":373},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers",{"title":252,"path":253,"stem":254},{"title":5,"path":246,"stem":248},"i-lucide-plug",{"title":378,"path":258,"stem":259,"children":379,"icon":393},"AI",[380,381,385,389],{"title":257,"path":258,"stem":259},{"title":382,"path":383,"stem":384},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":386,"path":387,"stem":388},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":390,"path":391,"stem":392},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":395,"path":396,"stem":397,"children":398,"icon":404},"OCR","\u002Focr","5.ocr\u002F1.index",[399,400],{"title":257,"path":396,"stem":397},{"title":401,"path":402,"stem":403},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":406,"path":407,"stem":408,"children":409,"icon":447},"Self-hosting","\u002Fself-hosting","6.self-hosting\u002F1.index",[410,411,415,419,423,427,431,435,439,443],{"title":257,"path":407,"stem":408},{"title":412,"path":413,"stem":414},"Troubleshooting","\u002Fself-hosting\u002Ftroubleshooting","6.self-hosting\u002F10.troubleshooting",{"title":416,"path":417,"stem":418},"Configuration","\u002Fself-hosting\u002Fconfiguration","6.self-hosting\u002F2.configuration",{"title":420,"path":421,"stem":422},"Reverse proxies and HTTPS","\u002Fself-hosting\u002Freverse-proxy","6.self-hosting\u002F3.reverse-proxy",{"title":424,"path":425,"stem":426},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":428,"path":429,"stem":430},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":432,"path":433,"stem":434},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":436,"path":437,"stem":438},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":440,"path":441,"stem":442},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":444,"path":445,"stem":446},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":449,"path":450,"stem":451,"children":452,"icon":494},"Guides","\u002Fguides","7.guides\u002F1.index",[453,454,458,462,466,470,474,478,482,486,490],{"title":257,"path":450,"stem":451},{"title":455,"path":456,"stem":457},"File scans in Paperless","\u002Fguides\u002Ffile-scans-in-paperless","7.guides\u002F10.file-scans-in-paperless",{"title":459,"path":460,"stem":461},"Send photos to Immich","\u002Fguides\u002Fphotos-to-immich","7.guides\u002F11.photos-to-immich",{"title":463,"path":464,"stem":465},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":467,"path":468,"stem":469},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":471,"path":472,"stem":473},"Organize screenshots with AI","\u002Fguides\u002Fcategorize-screenshots","7.guides\u002F4.categorize-screenshots",{"title":475,"path":476,"stem":477},"Extract receipts with AI","\u002Fguides\u002Fextract-receipts","7.guides\u002F5.extract-receipts",{"title":479,"path":480,"stem":481},"Name screenshots with AI","\u002Fguides\u002Fai-file-names","7.guides\u002F6.ai-file-names",{"title":483,"path":484,"stem":485},"Run AI locally with Ollama","\u002Fguides\u002Flocal-ai-ollama","7.guides\u002F7.local-ai-ollama",{"title":487,"path":488,"stem":489},"Make screenshots searchable","\u002Fguides\u002Fsearchable-screenshots","7.guides\u002F8.searchable-screenshots",{"title":491,"path":492,"stem":493},"Back up to Nextcloud","\u002Fguides\u002Fback-up-to-nextcloud","7.guides\u002F9.back-up-to-nextcloud","i-lucide-book-open",{"title":496,"icon":497,"path":498,"stem":499,"children":500,"page":320},"Reference","i-lucide-library","\u002Freference","8.reference",[501,505,509,513],{"title":502,"path":503,"stem":504},"Step reference","\u002Freference\u002Fsteps","8.reference\u002F1.steps",{"title":506,"path":507,"stem":508},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":510,"path":511,"stem":512},"Live updates API","\u002Freference\u002Flive-updates","8.reference\u002F3.live-updates",{"title":514,"path":515,"stem":516},"HTTP API","\u002Freference\u002Fapi","8.reference\u002F4.api",{"title":518,"path":519,"stem":520,"children":521,"icon":532},"Development","\u002Fdevelopment","9.development\u002F1.index",[522,524,528],{"title":523,"path":519,"stem":520},"Local development",{"title":525,"path":526,"stem":527},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":529,"path":530,"stem":531},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":534,"path":535,"stem":536,"children":537,"icon":564},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[538,540,544,548,552,556,560],{"title":539,"path":535,"stem":536},"Comparing Avenvail",{"title":541,"path":542,"stem":543},"Avenvail and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":545,"path":546,"stem":547},"Avenvail and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":549,"path":550,"stem":551},"Avenvail and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":553,"path":554,"stem":555},"Avenvail and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":557,"path":558,"stem":559},"Avenvail and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":561,"path":562,"stem":563},"Avenvail and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796391524266,"50da0f49-5ffe-418d-9ada-20d446e1504e"]