Outwitting garden pests remains a challenge

One of the bigger challenges for a gardener is outwitting the garden pests. These pests are never appearing when the gardener is in the garden, they only appear when the gardener is away.
They are digging up almost every pot in the garden, eating up the seeds and seedlings
Since they remain hidden it is difficult to identify whether crows, pigeons, sparrows or squirrels are causing the damage
If the pest is correctly identified, it is easier to lay a trap, however at present, the pest is not identified, so different methods have to be tried
Any tips to identify and catch the garden pests will be greatly appreciated.

Outwitting garden pests remains a challenge