feat: Add an action on automation to change the priority (#6925)

This commit is contained in:
Muhsin Keloth
2023-04-20 11:31:33 +05:30
committed by GitHub
parent 527042afd1
commit d1584eea72
5 changed files with 50 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class AutomationRule < ApplicationRecord
CONDITIONS_ATTRS = %w[content email country_code status message_type browser_language assignee_id team_id referer city company inbox_id
mail_subject phone_number conversation_language].freeze
ACTIONS_ATTRS = %w[send_message add_label send_email_to_team assign_team assign_agent send_webhook_event mute_conversation send_attachment
change_status resolve_conversation snooze_conversation send_email_transcript].freeze
change_status resolve_conversation snooze_conversation change_priority send_email_transcript].freeze
def file_base_data
files.map do |file|