Welcome to the community, @darapheak! Have you gone through our support article Dynamic Data Attachment? It should solve your issue:
Welcome to the community, @darapheak! Have you gone through our support article Dynamic Data Attachment? It should solve your issue: