It is Possible to capture Images from Whatsapp. I ...
# 🌎general
w
It is Possible to capture Images from Whatsapp. I have made a chatbot and connected it to Whatsapp directly from botpress cloud, now what my aim is to get image send from whatsapp end, then process it and save to my cloud memory.
a
Whatsapp sends the image URL, right? Depending on what cloud memory you're using, you could probably do a POST request from Botpress using that image URL and send it to your cloud storage.
w
so which capture type should I use, I am confused with that only.
should I use Capture raw Input??
a
Yup
you should probably also put a code card right afterwards that validates whether or not they sent an image
w
yeah, that could be done, let me try that too,
a
Good luck 🙌
w
No it's not working when I share Image, then it simply don't detect it as Input, and keeps waiting for text input,
I am also sharing my config ss below
for now I haven't add any validator
a
what happens if you manually set the retries on that capture card to zero?
w
then also It doesn't work
even after setting retries to 0, it keeps waiting for text white keep ignoring Images.
a
@acceptable-gold-88171 or @bright-magazine-792 y'all got any ideas?
w
has anyone got anything regarding this...?
a
I'm not sure if there's a way to do that with the current integration. The good news is we'll be releasing the integration code very soon, and it will be a lot easier to adjust the code to make it work for your use case.
w
Okay, will be waiting for next update
84 Views