This recipe was created with flexibility in mind and is a great way to use up leftover ingredients.
Grate potatoes, squeezing hard to remove liquid. Stir in chicken, onion, salt, pepper, flour, and some chopped herbs if you like. Stir in egg. Form into patties, squeezing out liquid as you go. Heat a coating of oil in a nonstick skillet over medium-high heat. Cook until golden and cooked through, 3 minutes per side.
Adjust the quantity of the ingredients depending on what you have, the flavors you like, and the number you're serving.