I am automating WhatsApp Web using UiPath to scrape unread messages, media (images/videos), and documents (PDFs, Word files) from contacts.
I am able to capture text messages using the Get Text activity, but I’m struggling with capturing media and documents. When I use the Table Extraction activity, the output for images is a blob URL (e.g., blob:https://web.whatsapp.com/bdd2dd21-28ba-4e46-ab33-8e5ac2c2d70b), which is returned as text instead of a file URL. I need to capture the actual media file URLs and save them locally with the contact name and extension.
Use the UiPath WhatsApp Business Activity Package :
Extract Blob URLs and Convert to File URLs :
Since you’re getting blob URLs for media files, you can try using a custom activity or script to convert these blob URLs into actual file URLs. This might involve using JavaScript to download the blob content and save it as a file.
These are dedicated package package that can resolve you UseCase and it is a recommended best way
Alternatively, while using Table Extraction, you can enable url option in table extraction and later convert that alone into hyperlink. have you tried this option?