How to build a data-collection pipeline×