AGN outflows trigger starbursts in gas-rich galaxies