Get HTTP url from Mailhook attachment

Question:
I have a mailhook that has a attachment.
I have the file name and data of this file.
Ultimate goal is to get the TEXT from within that file.
I have a python script that does this, which is in a http get request module.
Now, I need a http URL which would be the HTTP file url, but I only have the data.
Tried uploading to drive, creating a share link and doing something like this:
https://drive.google.com/uc?export=download&id=<FILE_ID>

But nothing is working.
Any thoughts?

2 Likes

Hi @Timo345

URL should be public to download via http. Please use get a share link module first. Rest, the way to do it is by using tools that can can convert the file to text like doccrafter, pdf.co and so on.

Regards
Msquare Automation - Platinum partner of Make
@Msquare_Automation

1 Like