Foreign portfolio investors (FPI) significantly increased their investments in the Indian primary market in July, reaching $1.7 billion, driven by a surge in IPO activity. However, FPIs became net sellers in the secondary market due to global uncertainties, resulting in a net outflow when considering both primary and secondary markets.