Whatsapp web -scrape the documents,media,urls, text and save to local folder

HI UiPath Community!!

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.

Hi @latha.r ,

Welcome to UiPath Forum :innocent:

on your case, i guess

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.

For API Integration: Please check this below

Please let me know, if the above package works, incase if not let us know, will figure out different things.

Happy Automation :innocent:!

Hi @sallavudeen_ashwin,

Without Whatsapp API, can you pls suggest any activity pls

Hi @latha.r ,

These are dedicated package package that can resolve you UseCase and it is a recommended best way :innocent:

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?

yes tried. this outcome comes like this:blob:WhatsApp Web. and this is not hyperlink. this url append excel into text format.

Could you please share the image how data looks like in excel ?