Deze pagina is een preview. De triggers tabel moet eerst aangemaakt worden in de database.
CREATE TABLE triggers (
id INT AUTO_INCREMENT PRIMARY KEY,
event_id INT,
trigger_name VARCHAR(255),
condition JSON,
action JSON,
priority INT DEFAULT 0,
is_active TINYINT DEFAULT 1,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
Webhook: n8n.srv890194.hstgr.cloud
Voorbeelden
Voorbeeld 1: VIP gast binnenkomst notificatie
Conditie: {"guest_type": "vip"}
Actie: {"type": "notification", "target": "telegram", "message": "VIP gast {{guest_name}} is binnen"}
Actie: {"type": "notification", "target": "telegram", "message": "VIP gast {{guest_name}} is binnen"}
Voorbeeld 2: Specifieke gast tracking
Conditie: {"event_guest_id": 7}
Actie: {"type": "notification", "target": "telegram", "chat_id": "123456", "message": "Bradley is binnen!"}
Actie: {"type": "notification", "target": "telegram", "chat_id": "123456", "message": "Bradley is binnen!"}
Voorbeeld 3: Zone toewijzing op basis van tag type
Conditie: {"guest_type": "vip"}
Actie: {"type": "zone_assignment", "zone_id": 9}
Actie: {"type": "zone_assignment", "zone_id": 9}
| ID | Naam | Event | Conditie | Actie | Prioriteit | Actief | Acties |
|---|---|---|---|---|---|---|---|
| Laden… | |||||||