@LuisB, you should now be able to use this feature Dynamic Data Attachment as outlined in our support article:
Dynamic Data Attachment