Ticket creation notification only when ticket is created by a customer

Ticket creation notification only when ticket is created by a customer

I want to prevent a notification from being sent to a ticket recipient (customer) when the ticket is created by an agent, and only send them when a customer creates a new ticket via email or help center. How can I best create this as a rule? Would it be done through a workflow?