Skip to content

Triggers Nodes ​

Trigger nodes are used to initiate automation flows when specific events occur in the system. These events can be based on time, data changes, or external interactions.

Time Based Triggers ​

Time-based triggers utilize Odoo's cron jobs to periodically execute flows at defined intervals. This type of trigger is ideal for tasks that need to be performed on a regular schedule, such as sending periodic reports.

Illustration for Time Based Triggers

Implementation ​

Use OnScheduleTriggerNode for implementing time-based flows.

Record Operation Based Triggers ​

These triggers respond to operations carried out on Odoo model records—specifically when a record is created, modified, or deleted. They achieve this by patching the relevant model methods to execute flows when these operations occur.

Illustration for Record Operation Based Triggers

Implementation ​

Use OnCreateTriggerNode for running the flow when a new record is created.
Use OnEditTriggerNode to run the flow when an existing record undergoes modification.
Use OnDeleteTriggerNode to initiate the flow when a record is marked for deletion.

External Triggers ​

External triggers allow flows to be initiated by events happening outside of Odoo, such as incoming webhooks. This enables integration with various third-party services.

Illustration for External Triggers

Implementation ​

Use OnWebhookTriggerNode if you want to provide an endpoint for receiving the webhook.

Availability ​

The source code for nuido_flow_trigger can be accessed at the Exploring Odoo github repository.

CAUTION

nuido_flow_trigger is experimental.
It is not recommended for use in production environments.