Gift on every 10th visit

hi i am planning of creating a promotion scheme for my cafe. the scheme is such that the system gets notified on the 10th visit of the customer and the customer gets to choose a free meal as a gift. can anyone guide me on this.

thanks.

Youll need to setup some way to log their atendence like a customer entity fieldof visits.
And update that field when they come.
To do this though you will need to select the customer each time they come.
The automation from there would be to add when selected if the field is x then do this…