Send specific email to customer when ordering first time

Send specific email to customer when ordering first time

I would like to send a email to a customer when he/she is ordering for the first time. This customer is not a current client of a branch. So, i will use the modules Customers, Contacts and Deals. 

So, the logica would be something like this:
If <deal> is shipped AND <customer> is not<branch X> send email Y

Any suggestions how to implement this in ZohoCRM?