question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

filters for event triggers or conditional triggers

See original GitHub issue

Allow 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:open
  • Created 5 years ago
  • Reactions:53
  • Comments:27 (6 by maintainers)

github_iconTop GitHub Comments

13reactions
sachsom95commented, Jan 21, 2022

could we have an update on this

5reactions
raphaeltmcommented, Mar 15, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found