In my workflow there can be several attachments added over time. My problem is that I want to send a specific attachment with Custom email in a post function later in the workflow.
My plan to sort this out:
I have a custom field (single line text field) with a value that is always the same as the specific attachment added earlier in my Workflow. (fixed via Automation)
Now I want to send a custom email, and by using Custom Attachment Callback my plan is to fetch the custom field value, to then only send that specific attachment.
Can someone help me with how a script like this would look? OR maybe if you have an alternative solution that is better?