feat: add automation condition to filter private notes (#12102)

## Summary

Adds a new automation condition to filter private notes.

This allows automation rules to explicitly include or exclude private
notes instead of relying on implicit behavior.

Fixes: #11208 

## Preview



https://github.com/user-attachments/assets/c40f6910-7bbf-4e59-aae5-ad408602927a
This commit is contained in:
Sojan Jose
2026-04-14 16:36:12 +05:30
committed by aakashb95
parent 42229cc0bd
commit 5f2e49e3e9
14 changed files with 153 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class AutomationRule < ApplicationRecord
def conditions_attributes
%w[content email country_code status message_type browser_language assignee_id team_id referer city company inbox_id
mail_subject phone_number priority conversation_language labels]
mail_subject phone_number priority conversation_language labels private_note]
end
def actions_attributes