Downloading the PDF generated from workflow into the local device

Hi! How do I download the pdf generated by a workflow (under generate pdf action) into the local device? I know you can send the pdf via email but I want to download it on the device used by the user who clicked on the submit button and triggered the workflow


Instead of using workflow, possible to use Action flow by adding action button instead of workflow button?

Actionflow executes tasks on clientside in realtime where as workflow executes the task in backend.
Refer this article for more details on difference between the two.

In Action flow you can try Add Generate PDF action under server side actions and add an output variable for storing pdf link.

On success, you can add Open Url action and pass above PDF action output variable. This will open the link in browser where there will be an additional option of downloading pdf.

Final Action flow setup -

Hope this helps!