The attachments you need — filed to a storage folder by themselves

The scenario reads the PDF attachments in your Email Trigger (IMAP) emails via readPDF, AI picks the right ones by meaning — invoices, say — and files them into a folder in Nextcloud.

  • Reads what's inside each PDF
  • Picks the right ones by meaning
  • Files them to a dedicated folder itself
  • Skips the rest of the attachments

How it works

To connect Nextcloud and Email Trigger (IMAP), you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: On email received
  2. Then: Configure
  3. Check: Has attachments?
  4. If yes: Iterate over email attachments
  5. Check: Is PDF
  6. If yes: Read PDF
  7. Check: Is text within token limit?
  8. If yes: OpenAI matches PDF textual content
  9. Check: Merge
  10. Check: Is matched
  11. If yes: Upload file to folder

You can launch this Nextcloud + Email Trigger (IMAP) integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.