Repository navigation
[Proposal] Workflow layer for custom alerts across jobs #516
Replies: 2 comments 1 reply
|
Hey, the general idea is pretty good (and I had it as well in the past) however a majority of Fredy's users are no developers. They are capable of downloading/installing Fredy, but I do not expect them to be able to build a workflow file (as you call it). That makes this feature somewhat special to a small subset of users... That plus the fact, that Fredy is already packed with tons of Features that only serves a small(er) group of (power) users makes me hesitant. That being said, I still like the idea, however IF we go that route, it would need to be something, that can be done by a regular user. In fact I'm thinking about some sort of query builder... Not sure if this makes sense. |
|
Check this release. I've decided to only include a couple of new filters. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello all,
I want to use Fredy to look for apartments to buy as investments. Fredy finds new listings very well, but I want alerts based on what a listing means in the context of other listings, not only on whether it matches a search. I would like to contribute this and want to check first if it fits the direction of the project.
Problem Statement
Today every job works on its own. A notification fires when a single listing matches a single search. There is no way to combine data from several jobs or compare a listing with the ones already stored. Users who want smarter alerts have to read Fredy's database from outside and build their own notification logic, which breaks when the internals change.
Possible Solution
Add a workflow component as a middleware layer between jobs and notification adapters. It listens to events Fredy already produces, can look at stored listings across jobs, and decides whether to push a notification through the existing adapters. This lets users define their own "power alerts" without touching the scraping or notification code.
Possible Use-Cases
Proposed Changes
sequenceDiagram participant Job as Fredy job participant Store as Listing store participant WF as Workflow engine participant N as Notification adapter Job->>Store: save new listings Job->>WF: job run completed event WF->>Store: query listings across jobs Store-->>WF: listings WF->>WF: run user workflow WF->>N: send power alertDiscussions
What do you think? Would that be a benefit for the project?
Thanks,
Gökhan
All reactions