@RaulOcana ,
If you know how to process the .csv then it should be similar for the .pdf files.
Then you could use a script in your delivery activity, inside the workflow, to attach the file, like this:
var filename = "file.pdf";
delivery.attachment.add(
<attachment compressMode="print" filterActive="false" label="{filename}"
nameScriptActive="false" type="normal" upload="false">
<name>{filename}</name>
</attachment>)
}
delivery.hasAttachments = true