Share feedback, ideas and get community help

Updated 3 months ago

WhatsApp Files

Hey, how can I handle files received from WhatsApp?
The return is like this: api/typebots/{typebot-id}/whatsapp/media/1098499364564031 but i don't how can I get the whatsapp file ou whatsapp file url
B
m
K
26 comments
Thank you so much @Baptiste !!! It's worked
Hi @Baptiste when the file is uploaded to the WhatsApp Bot's interface on the backend, we encounter difficulty accessing the file link because it's private. Even after switching the visibility to public mode, we still cannot access the URL of the file. So can you please tell us how to solve the isuue file.https://s3.typebot.io/public/public/workspaces/cllse410s000xl90f4lrvkhi6/typebots/cltpryhgs000tmbiapegwn7vk/results/jxkw4lgs5zzuvlykv66taeb5/323210867139952
This is not a file visibility issue here. The file opens but the PDF is most likely corrupted or something?
@Baptiste But For all the files getting Uploaded on WhatsApp interface is throwing this error but working fine on web do you know what could be the issue and could you please advice???
Can you provide the file here so that I can check it?
So @Baptiste these are the kind of files that we are uploading in web as well as WhatsApp interface as well but the url once uploaded in web is visible and accessible but if uploaded in WhatsApp chat says as attached in the image below.
Attachment
typebot_snip.png
Ok I'm reproducing the issue
Managed to fix it. It will be available in 10 min
Thank you for reporting it!
Thankyou so much @Baptiste for Addressing the issue that helped also can we know what was the problem was it the file or the visibility
The problem was Typebot was not properly downloading the file when it came frame Facebook server
Thankyou so much @Baptiste It was of great help
Hi @Baptiste also when the file gets uploaded, the file is pushed to Zoho Database according to the workflow. The files uploaded from web gets stored in our database but when the upload happens from WhatsApp the files are not getting stored in our Zoho database.

When the file gets uploaded usually in our GSheets it gets stored as .pdf but when the upload happens from the WhatsApp we are not able to see the file getting stored in .pdf extension.
Attachment
WhatsApp_Link.png
Any issue with that?
It's expected I'd say, WhatsApp does not provide us the file extension, but you should still be able to open the file
@Baptiste Yes the file is opening but we have a connection where we will store the files uploaded in Zoho recriut since it does no have the .pdf extension its not getting stored in our CRM
Then that's an issue with Zoho, I suggest you reach out to them
Another solution would be to apped .pdf to the variable on Typebot if you are sure to receive pdf file
Sure @Baptiste we will check upon that and thankyou for helping us out.
@Baptiste we tried append.pdf so this is what i am getting
Attachment
image_13.png
Do not use append, it's for list variables
Use "Custom" value: {{ResumeURL}} + '.pdf'
For any further request, create a new thread please πŸ™
@Baptiste Really sorry for asking too many queries thankyou for addressing all the issues
Add a reply
Sign up and join the conversation on Discord