From a public form, external users can upload the documents marked as required in the form configuration. To enable this functionality, you must access the advanced administration of the form. Look for the option “Request required documents public form” and enable it.
Once this option is enabled, go to the form configuration. There you can enable the forms that will appear in the public view to upload documents.
Once everything is configured, you just need to access the public view of the form, and new fields will already be available to upload the documents.