Preheat the air fryer to 200°C (400°F) for 3–5 minutes.
Prepare the salmon mixture: In a medium bowl, shred the salmon into small flakes using two forks. If using canned salmon, pour the liquid from the can into the bowl as well.
Mix ingredients: Add the onion, beaten egg, chopped almonds, salt, and pepper. Stir well to combine.
Add almond meal: Gradually stir in the almond meal and test the mixture’s consistency. If it’s too loose or mushy, add more almond meal one tablespoon at a time until the mixture holds its shape. Form two large, equal-sized patties.
Prepare the air fryer: Lightly spray the air fryer basket with avocado oil or line it with parchment paper.
Cook the salmon cakes: Place the patties in the basket in a single layer, leaving space between them. Air fry at 200°C (400°F) for 10–12 minutes, flipping them halfway through, until they are golden brown and crisp on both sides.
Serve: Let the salmon cakes cool for 5 minutes before serving. Sprinkle with freshly chopped parsley if desired and serve with lemon wedges.