Heat oil in a large soup pot on medium-high heat.
Add onions, celery, and carrots. Cook until softened a bit, about 8 minutes.
Meanwhile, boil water for pasta and then cook pasta until done. Drain and set aside.
When the onions and veggies in the soup pot are softened, add spinach now, if using fresh. Cook until wilted down. Add herbs and cook for 1 more minute.
Pour in vegetable broth and tomatoes, then add potatoes and zucchini. Bring soup to a boil and cook for a few minutes.
Reduce to a simmer and add peas, corn, beans, cooked pasta, and frozen spinach if not using fresh. Simmer on low for another 5 minutes or so to heat through then serve warm.