I want the file uploaded in the HubSpot form to be stored in Google drive.Is that possible with Zapier?
HubSpot form submission - upload file to Google Drive
Hi
Thanks for the question - you should be able to build a Zap like this:
- Trigger: HubSpot - Form Submission
- Action: HubSpot - Get Public URL (map the url of the file from the form submission, as that requires authentication)
- Action: GDrive - Upload File (map the public URL from step 2)
Hope that helps!
Hi
I am trying to do this and I keep receiving the error “Only absolute URLs are supported”.
I am inputting the field from the form that asks to upload a file.
The steps I’ve done so far are:
1. Hubspot - New form submission
2. Put the form into a google slide
3. Create a folder in Google Drive
4. Moved the Google slide into that folder
5. Get public URL from the Hubspot form submission using the value from the form that requires a file upload
6. This is where I want to upload the file from step 5 to the folder created in step 3. But I keep receiving that error.
Please advise,
Thank you!
Thank you!
What Zap step is returning the error?
The mapped data point for File URL looks to be sample data and not an actual File URL as indicated by the field description (smaller gray font).
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/5e40d878-eec6-4e93-9d30-75908ecf11b1.png)
Observation: The Public URL from HubSpot (in this example) shows a .txt file, is that right?
NOTE: You can check if the Public URL returned from HubSpot is accessible, by copy/pasting the URL into a browser tab.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/d970f540-b9a9-4201-ade8-fddd7a600f00.png)
Check out this help article for working with Files in Zap steps: https://zapier.com/help/create/basics/send-files-in-zaps
Please see attached
Error is because a file URL is not being mapped/sent for the File URL field, as you can see in the data attempting to be sent when tested.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/e4538531-b5ec-4c4b-ac8f-aa5153090bb1.png)
Can you post a screenshot of the data points returned from the trigger step in the Zap? (HubSpot New Form Submission)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/74700f3f-a394-477c-8d6f-444fc9d7bfad.png)
From the screenshots, the test record from the trigger step is placeholder sample data, which is not representative of the actual values that would come thru when the form is actually submitted.
Have you submitted an actual form? (If not, go ahead and do that.)
Then you can pull thru newer test samples from the trigger step by following this article: https://zapier.com/help/create/basics/change-the-test-data-in-your-zap-trigger
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.