Using pipeline map to change the data in flow