filters for event triggers or conditional triggers
See original GitHub issueAllow setting boolean conditions (like in permissions).
One should be able to say things like trigger the webhook only if is_cancelled=false
Use case
I came across this while building an online-ordering app in a 3factor style.
When is_cancelled
in the order
table is set to true from the client, you can’t stop the event cycle unless you add the filter in all the serverless functions which could complicate things a bit once there are more filters.
It will be cool to have filters on the server itself.
cc: @tirumaraiselvan
Issue Analytics
- State:
- Created 5 years ago
- Reactions:53
- Comments:27 (6 by maintainers)
Top Results From Across the Web
How to Use Trigger Conditions to Filter Events - Workato
Trigger conditions are further guidelines added to a specific trigger that filters what type of trigger events should be selected for processing.
Read more >Triggers vs Filters | Customer.io Docs
Both triggers and filters are sets of conditions. A trigger determines who enters a campaign and when. A person enters your campaign the...
Read more >Triggers, Filters and Groups - Sprig
You can add event properties to Code events for Web and Mobile studies. Sprig supports filtering up to 10 total event properties across...
Read more >Understanding flow triggers and filters - Klaviyo - Help Center
This is where trigger filters are used. Trigger filters evaluate the data coming in from the event that triggers the flow, and not...
Read more >Building with filter code - IFTTT Help Center
Regular Applets have a very straightforward logic to them - when a trigger fires for a new event, an action is always run....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
could we have an update on this
I feel like this becomes particularly interesting with all the latest updates. Between Hasura REST endpoints and transforms in the event payloads, we can do a lot of interesting stuff without needing to spin up anything but Hasura, but conditions would really take that to the next level.