Send camera photos to Immich
Put photos and videos you upload into an Immich album, while screenshots stay in Avenvail, and keep a link to each photo.
Avenvail is quick to drop files into from any device, but photos are better in Immich, with its timeline, faces and maps. This guide builds a library workflow that sends every camera photo or video you upload to an Immich album called From Avenvail, leaves screenshots alone, and saves a link to the photo on the file.
- File uploaded (trigger)Images and videos
- Taken by a camera?Taken date isn't empty
- true
- Upload to ImmichFrom Avenvail
- falseNothing runs
- true
What you'll build
Uploading a photo from your phone adds it to Immich, on the day it was taken, in the From Avenvail album. Its Immich field in Avenvail links to it, such as https://photos.example.com/photos/5f1c…. A screenshot has no date taken, so it stays only in Avenvail.
Before you start
| Difficulty | Beginner |
| Time | About 10 minutes |
| Workflow kind | Library workflow |
| Connections | An Immich connection |
| Folders, tags, fields | A Link field called Immich |
| Sample file | A photo from a phone or camera, and a screenshot |
Build it
Connect Immich
- In Immich, open Account Settings › API Keys and create a key named Avenvail.
- In Avenvail, open Automations › Connections, click Add connection and choose Immich under Photo and document libraries.
- Set Address to where you open Immich, such as
https://photos.example.com, and API key to the key. Click Test connection; it names your Immich user. Then click Add connection.
Create the field
In Settings › Fields, create a field called Immich with the type Link.
Create the workflow
- Open Automations, click New workflow and choose Library workflow. Name it Photos to Immich.
- Choose the File uploaded trigger, with File types
image/*andvideo/*. - Add a Condition, renamed Taken by a camera?, with one rule: Current file › Taken isn't null. Phones and cameras record when a photo was taken; screenshots and downloaded images usually don't.
- On True, add Upload to Immich:
- Connection: your Immich connection.
- Album:
From Avenvail. Leave Create the album if it's missing on. - Save the link in a field (under After uploading): Immich.
- Click Publish.
Test it
Click Test, choose a photo, and turn on Allow outside changes and Allow sending content to outside services. The test really uploads the photo. The step shows its Link, and the album appears in Immich. Test it again with the same photo: Already in Immich is now true, and Immich still has one copy. Then test with a screenshot: the run takes False and sends nothing.
Turn it on
Turn the workflow on with the switch in the editor's header.
What to expect
- Immich sorts each photo by its date taken, and reads its location and camera from the file.
- Running the workflow again on a file, or uploading the same photo twice, never makes a second copy in Immich.
- Large videos stream from Avenvail's storage to Immich, so they don't use Avenvail's memory. The step can take up to 10 minutes.
Troubleshooting
| Problem | Fix |
|---|---|
| This address doesn't look like Immich | Use the address you open in the browser, without /api. |
| Immich refused the API key | Create a new key in Immich and paste it again. |
| The test warns that the key can't read your user | The key has limited permissions. Give it every permission, or at least asset upload, user read and the album permissions. |
| Screenshots go to Immich too | Some apps write a date taken into screenshots. Add a second rule: Current file › Name doesn't start with Screenshot. |
Make it your own
Keep only the Immich copy
Set Then to Move it to the trash in Avenvail. The file goes to Avenvail's trash once Immich has it, and you can restore it from there until the trash is emptied.
Albums by topic
Add Load content and AI classify before the upload, with categories such as Food, Pets and Travel, and set Album to the category's label. Or keep one album and add Add to Immich album afterwards for a second one.
Tell photos from screenshots with AI
When dates aren't reliable, use AI detect with the question Is this a photo taken with a camera, rather than a screenshot or a graphic? instead of the Condition, and upload on Yes. See AI detect.
Privacy, cost and reliability
- Photos go only to your Immich server, as the user whose key you gave. Delete the key in Immich to cut Avenvail off.
- Immich drops repeats of the same file, so after an unclear failure Avenvail tries again by itself. When the step creates an album, it asks you first instead, so it never makes the album twice.