Adds a pipeline to insert items into MongoDB