Heat your oven to 350 degrees. Then dice the chicken breasts, and chop the onion. Mix the chicken broth and seasoning packet together creating a sauce. Pour the sauce into a skillet over medium heat, and once it comes to a bubble, add the chicken and onions. Let the chicken and onion cook at a simmer for 10 minutes, stirring frequently.
Next assemble the taco pie. Start by placing a tortilla in the bottom of a pie pan. Spread half of the refried beans on top. Add another tortilla on top.
Then pour the corn over the tortilla, and spread it into an even layer. Add the chicken and onions on top of the corn, straining out any excess sauce. Add a tortilla on top.
Spread the remaining refried beans over the tortilla. Then top with the last tortilla.
Pour salsa over, and top with the cheese. Place the taco pie in the oven to bake for 30 minutes.
Top the warm taco pie with sour cream and sliced avocado and serve.