I'd like to attach a PDF to the confirmation email that's sent. That PDF is attached as post metadata to the post that includes the form (there is more than one post and each post has a different PDF).
I've attached single files using gform_user_notification_attachments before, but I'm not sure how to get gravity forms to recognize which post it is on and attach the PDF for that post.
Just to be clear, there is a post, with a file attached as metadata. There is a form on that post to request being sent a link to the file. The user submits an email address and gets a link to the file attached to the post they submitted there email address on.