Cook the ravioli in a large pot of salted boiling water according to package instructions. Drain and set aside.
While the ravioli cooks, heat the olive oil in a large skillet over medium-high heat. When the oil shimmers, add the shrimp and cook, stirring, just until they turn pink and opaque, about 2 to 3 minutes. Use a slotted spoon to transfer the shrimp to a plate, leaving the oil in the pan.
Add the tomatoes to the skillet and cook, stirring, for 3 to 5 minutes until they soften. Stir in the chicken broth, white wine, and lemon juice, scraping up any browned bits from the bottom of the pan. Bring to a boil, then reduce the heat and simmer for about 5 minutes, until the sauce thickens slightly and coats the back of a spoon.
Stir in the pesto and butter, just until the butter melts into the sauce.
Return the shrimp and cooked ravioli to the skillet and toss gently to coat. Taste and season with salt and pepper. Stir in extra pesto, if needed, to better coat the ravioli.
Serve immediately, garnished with fresh herbs and Parmesan if desired.