-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow event and action #2414
Comments
@danxuliu had the wrong mention before |
Closing? |
We still might get a call has finished (and perhaps started) event in (just not for 18/this week). Even if with less information. Just flipping the milestone? |
An event for new chat messages would be nice, too. |
There are events available for other apps. A flow action for talk messages doesn't make a lot of sense to me. What do you want to do with the event? |
I was thinking of automatically collecting links posted into a chat room in the bookmarks app, as an example. Another example would be a moderator's filter that logs messages with swear words to a file. I've seen the existing events and they're great, but I think there are some instances like these, where you don't want to impose that integration on all users, but rather have it optional via flow. |
In general I think exposing all events in flow would make a lot of sense as they exist already. |
Well there are a lot of events. Talk alone has around 20. And also not all of them should be accessible to all users, but e.g. moderators or no one. Also woth a flow about messages, you could create problems as there a flows which create messages and so on. |
I agree, maybe not all events should be available. Shooting yourself in the foot will inevitably be a problem with all apps that expose both operations and events. It might be worth thinking of a general solution for this. |
IIRC comments posted trigger an events via Dispatcher. @marcelklehr / Bookmarks could hook in there. I guess the question is mostly about configurability: whether to pick up links generally, or only from selected channels, perhaps giving pre-defined tags (not systemtags). With this in mind, flows might make sense, but it is not the only possible route to go. |
My use case: |
We would like to equip Talk for Nc 18 with following events and actions:
Events
Actions (Operations)
The actions should be independent of the triggering event, nevertheless should support/consider some context (e.g. the event itself like file modified, file path/name for Files, or also tag when in combination with a tagging event).
An Action (Operation in tech terms) implementation to look at could be nextcloud/workflow_script#22
As discussed @danxuliu :) Don't hesitate to reach out for any questions, starter points, API stuff, also missing bits.
The text was updated successfully, but these errors were encountered: