APP-Request: ProxyRules

I have a lot of Inputs that came over Nextcloud into my devices.
Talk, Mail, Matrix, News , In future may Social

But In many cases the inputs arrive on the wrong channel.

As an example for redirect:

  • Notification: I receive a lot of Notification on mail. Best destination would be a Messanger app. Same goes for some specific news I receive on Nextcloud news.

An example for filtering:

  • On Nextcloud News and Mail, I receive a lot of unwanted Information. It would be nice to be able to filter incoming data for a various condition and set category, set as read, declare as spam, remove.

ProxyRules should be able to filter every input source of nextcloud and redirect certain message to certain connected devices/apps.

So, this is a request to discuss some topics and put the features into a dedicated app, am I right?

I do see the benefit of something like this but I also see quite some issues. Should mail be forewardable to the messenger? I doubt it.

I would say, the first step is to identify the possible inputs and outputs (e.g. NC notification, Matrix,…). Then we might think of further solutions.

Chris

I’m not sure if this can be an App or if there is a need for some basics in core. At least there seems with Flow a similar Idea.

I would say, first all requirements needs to be clarified. Therefore, I asked about the inputs and outputs. That is the first step to analyze this, I guess.

something like that?

Inputs:

  • Apps with Internal messages and notifications
  • Apps which resceiv data from external
    • Long text → eMail
    • short text → messages, invites
    • files like new/changed files on external storage (as file or as notification message) → message

Outputs:

  • nextcloud client app → Notification
  • Apps whih could rescive data and store them
    • mail
    • talk
    • news
  • REST-API

Possible flows:

  • Input short text → rule check → redirect to mail → write the message with imap
    • sender may set as invalid or like nextcloud+{identifier}@domain.com
    • does not resceive destinated app or get removed after successfull delivery (if activated)
  • input long text → rule check → sender based content-filter → write message to talk
    • discuss forum mail reduced to important content
    • content-filter rules may could by shared in the community, alternative compact by AI
    • does not resceive destinated app or get removed after successfull delivery (if activated)
  • Input anything → rule check → create notification → to push registred browser or Rest api
  • Input new/modified files → rule check → create notification (with liked or attached files) → input short text