Skip to Content
🎉 New release with new features and improvements! V0.0.4 Release →

Trigger Functions

Trigger functions are built-in logical blocks that execute custom logic when a trigger event is fired. Each function is designed for a specific category of operations like mapping data, sending emails, or interacting with HTTP endpoints.

Mapping

MapRowMapping
Maps a specific row from an entity based on its ID.
{
  "entity": "string",
  "id": "string"
}
{
  "status": "number",
  "data": "object"
}

Mailing

EmailSenderMailing
Sends an email based on the trigger event.
{
  "to": "string",
  "template": "string",
  "bcc": [
    "string"
  ],
  "cc": [
    "string"
  ],
  "data": "object",
  "html": "boolean",
  "subject": "string",
  "body": "string"
}
{
  "status": "number",
  "data": "object"
}

Http

WebHookHttp
Executes an HTTP request to a specified URL.
{
  "url": "string",
  "method": "string",
  "body": "string"
}
{
  "status": "string",
  "body": "string"
}

Entities

DeleteEntityByIdEntities
Deletes a specific entity record by its ID.
{
  "entity": "string",
  "id": "string"
}
{
  "status": "number",
  "data": "object"
}
DeleteEntityBySearchEntities
Deletes entity records based on search criteria.
{
  "entity": "string",
  "search": "object"
}
{
  "status": "number",
  "data": "object"
}

Caching

ClearCacheCaching
Clears a specific cache by name.
{
  "name": "string"
}
{
  "status": "number",
  "cleared": "number"
}