Comment on page

Understanding Directual Scenarios

Unleash the power of back-end logic 🚀
Directual scenarios are a crucial component of your application's back-end logic. Scenarios manage and process data based on specified criteria.
Directual scenarios process objects in a target data structure. You can select the target data structure when configuring the START step:
Choosing target structure for scenario

Types of triggers

Directual scenarios offer two primary types of triggers:
  • ​Real-time, event-​based (as a reaction to an event): These scenarios respond to specific events, such as user actions or changes in the application's data. For instance, a scenario can be triggered when a user submits a form.
  • ​Schedule​d: Scheduled scenarios run at predefined times or intervals, providing you with the ability to automate tasks. For example, you can schedule a scenario to execute every Monday at 4:40 p.m. GMT.
Additional trigger options:
  • ​Calling scenarios from within scenarios: You can execute one scenario from another using the Link scenario step, creating complex workflows by chaining scenarios together
  • ​Synchronous scenarios: These scenarios respond to synchronous POST requests and process incoming data, returning it as an API response
Note that a single scenario has the capability to incorporate all available trigger types!
An example of a scenario which combines different trigger types