Skip to content
On this page

Invocations

Invocations are the way that you can trigger a project to run. They are the equivalent of a function call in a traditional programming language. There are two types of invocations:

  • HTTP: triggered via HTTP requests (default)
  • Scheduled: triggered on a schedule for example every 5 minutes, at midnight, etc

Real-time event handling via WebHooks

Projects can also be triggered in response to real-time event from aplications which support WebHooks such as GitHub, WhatsApp, etc.

HTTP Invocations

HTTP invocations are the most common type of invocation. They are triggered by making an HTTP request to the project's URL. For example:

bash
curl https://example.com

Scheduled Invocations

Scheduled invocations are triggered on a schedule. For example, you can

Executions

Executions, not to be confused with invocations, are the actual running of a project. The following example scenarios help illustrate the difference between invocations and executions:

  • If an unauthorized HTTP requestis made to a private endpoint, the project will not be executed, but the request will still be counted as an invocation.
  • If an authorized HTTP invocation is made, the project will be executed once.
  • If a scheduled invocation is made, the project will be executed once per schedule.
  • If a real-time event is received, the project will be executed once per event.
Invocations has loaded