This. IFTTT is much too simplistic for anything useful. Sure I can let it save all Gmail attachments to Google Drive. But if I want to do that for only certain attachments I'm out of luck.
If you want to achieve this, you can use Google Apps Script.
I use it to forward certain mails to Slack and to do automatic Gmail clean up.