ruben.romero - Hello! Does anyone knows how to ...
Hello! Does anyone knows how to send audio, photo, video or stickers using whatsapp node? I know is possible through Rowy and assistants, but i would like to do inside a normal flow, thank you!
10 Replies
Hi @ruben.romero, you can use the WhatsApp image responder for image, cc @Luis maybe we can extend this node to support other attachments?
![No description](https://cdn.answeroverflow.com/1263110848835227700/image.png)
Thank you i didn’t know about that node, and, is there a workaround to send audios?
@ruben.romero , this has been updated to Attachment Auto-Responder to work with other files instead of just images.
![No description](https://cdn.answeroverflow.com/1263680627652165764/Screenshot_2024-07-18_at_8.15.07_PM.png)
Wow thank you very much @Luis , i see you added conditionals to detect automatically the extension of my file, awesome!
Now i’m a bit lost with something, i’m using a simple flow for testing: 2 nodes, a whatsapp trigger and a autoresponder, the flow completes without issues but it seems to be excecuted a lot of times even when i’m sending a single message, do you have any idea what could be happening?
![No description](https://cdn.answeroverflow.com/1263698801932111922/IMG_0134.jpg)
That list if executions was for 2 messages only, one that failed when i was trying to edit the image autoresponder myself and a succeed after you made this new node for attachments
Hey @ruben.romero, are you using the Auto Reply template? This usually occurs because meta sends different types of notifications so you need to have a branch node in place to check if there's a message first.
![No description](https://cdn.answeroverflow.com/1263837734900863077/image.png)
Hi @Luis thank you for answering. I switched to the template, one thing i noticed is that i can’t access the body of the request to use it in the auto-responder node, i have manually add .body to make it work, that would be very hard to guess for some people, the other thing is that even when i’m not getting a lot of executions, i’m still getting more than it should, this pictures is for 2 messages only using the flow template
![No description](https://cdn.answeroverflow.com/1263860701051490455/IMG_0135.jpg)
![No description](https://cdn.answeroverflow.com/1263900637830316032/remix-20539ce6-bdac-4255-b5b3-f5e5936585a4.png)
UPDATE: It continue exxecuting itself lot of times and i didn’t send any messages!
![No description](https://cdn.answeroverflow.com/1263900701809971210/IMG_0137.jpg)
@Luis any ideas?