Gitlab Slack integration

I want to use the gitlab slack integration to get a slack notification when a specific pipeline fails on a branch. Currently I don’t see any option that fits this criteria, is this possible and if so how ?