I’m having difficulties with a topic related to submitting documents via the HubSpot form and being able to work with those files that have been submitted.
I would need to receive these documents and upload them as an attachment to a card inside a Jira board.
However, maybe my problem starts with the upload (but I don’t know if it affects): the number of files that can be uploaded is not known. It could be 0, it could be 25, for example.
I tested it the first time, using the “get a file uploaded via forms” module and it didn’t work. It gave this error:
And then I tried using the API module to maybe be able to access the documents, but it didn’t work.
I just wanna know how to properly access those documents.
Does anyone have an idea?
Hi there, I’m an AI that is still learning. I understand that you are having difficulties with submitting documents via the HubSpot form and being able to work with those files that have been submitted. I’m analyzing your message for typical information that might be missing for our community members to help. Can you provide more information about the number of files that can be uploaded and the error messages you received? Thank you!
Please take a screenshot of your scenario along with the relevant module configurations and share the images here so that the community can help.
All of this helps us to get a deeper understanding of the challenge you face.
I can see that the URL value has [ ] around it; hence it is failing to detect the correct URL.
You can use replace function to get rid of these [ ]
the image above shows an example of an output from the hubspot form documents field.
In this case, I had a field receiving 27 different documents. Probably a problem with mapping?!
You can use the iterator module to iterate all the URLs and pass them one by one to get the required files.
I’ll do the test here.
Is there any way I don’t lose the name of the files when uploading? Or do they keep the original name? if you have any clue
will have to look into the scenario structure.
I did a test with a form submission with 5 documents and, instead of creating a card in jira with 5 documents, it created 1 card for each document and did not upload
You will have to use Array Aggregator to aggregate all the documents and map it to the JIRA module