POST
request to a specific endpoint when it recieves an event, with the request body being the event data.
Sailhouse expects a 200 OK
response within 5 seconds of it being sent, otherwise it will count the attempt as failed and retry
200 OK
is recieved, the event is counted as acknowledged.
If an event isn’t acknowledged in this time frame, it is counted as a dead letter
key = value
pairs, and this will be something we expand on as the platform develops.Event | Path |
---|---|
user-created | user.type |
order-created | order.address.country |
application-updated | application.status |
_metadata.
, for example _metadata.source
.
roles
, and the filter value is admin
, the subscription will trigger if the event has the property like so:
Value | Example |
---|---|
pro | Create the customer on stripe and start their trial. |
UK | For the UK, you may need to run extra logic for imports and taxes. |
rejected | When an application is rejected, we should email the candidate. Not all updates need contact. |
Condition | Description | Example |
---|---|---|
equals | Exact match (default) | user.type equals premium |
not_equals | Does not match | status not equals inactive |
Operator | Description |
---|---|
and | All conditions must match |
or | At least one condition must match |