Skip to content

Predicates

An inherent challenge with Flowcore, is that we our primary ingestion method is webhooks. Webhooks are asynchronous by nature. This means that you cannot know if the webhook was successful or not. This is where predicate checks come in.

Using a predicate, you can check if a condition is met. If the condition is met, the webhook is considered successful. If the condition is not met, the webhook is considered failed.

For example, if you have a “create user” async request, you may want to check your database to see if the user was created successfully, as a predicate check.

Flowcore Predicate Check Flow Flowcore Predicate Check Flow

Here are a set of various predicates options: