Build autonomous commerce applications with StateSet’s event-driven API.
A client application sends a GraphQL query to the API which then fetches the data from its underlying data sources.
When a state change happens, it is sent to the event bus and then picked up by the configured event handlers.
An event is received by a serverless function which then executes an action.
The GraphQL API combines data from multiple sources into a single response.
An event triggers a temporal workflow. The workflow then coordinates multiple activities
This is an example of a serverless function that can handle multiple different events. The function will check for the event type, extract the payload, perform the business logic, and then return a response.
The diagram shows the high level interactions between the different parts of the system.