PDF download button in report

PDF download button in report

Hi there! 

I'm trying to set a buton to download the record template as a pdf from the report. (see picture below)


I have some doubts with the workflow.. 

i know i can perfor this with an Open URL task and >  https://creator.zohopublic.com/<adminUserName>/<appLinkName>/record-pdf/<viewLinkName>/ <RecordID>/<PreferredDownloadFilename>/ <encryptedKey>

I don't know how to get the record id of that specific recor in the report, an have no idea how to get th encrypted key...

Any ideas??

Thanks!