We added a similar feature to allow for downloading files that are attributes on a registration instance for Fairhaven Church - in their example, these files are photos of families that register for a membership class.
HERE is the new workflow that has been saved to the Snippet Library. This workflow captures/sets the entity type (Registrant, Registration, or Person).
Example HTML to add the hyperlink in the registration instance page to the workflow linked above:
<div class='pull-right'>
<a class='btn btn-sm btn-link' href='/WorkflowEntry/112?RegistrationInstanceId={{ Context.RegistrationInstance.Id }}'>Download Registration Files</a>
</div>
<div class='clearfix'>
</div>