Using serverless functions

You can use serverless functions along with event triggers to design an async business workflow without having to manage any dedicated infrastructure.

As Hasura event triggers can deliver database events to any webhook, serverless functions can be perfect candidates for their handlers.

Why use serverless functions?

  1. Cost effectiveness.
  2. No infra management.
  3. Async business logic.

Examples

You can find a bunch of examples for various serverless cloud providers in this repo:

https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/event-triggers.