Configuring events to trigger a pipeline