-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(WhatsApp Business node): WhatsApp node #3659
Conversation
Sorry for butting in... I have been actually testing this node on my workflows and I found something that is missing. On Template Components -> Parameters Only "Text" is available as a parameter, but for headers of the template messages you can use image, video and document objects also. See https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages#interactive-object (Header object) Edit: Also noticed this error with Button templates: "description": "button: Missing parameter sub_type for button component" |
bf6136a
to
8f92618
Compare
@valya hello ... can you convert to community node ? |
@thomazmachado I don't know if it's ready to use. but you can checkout this pull request. |
Luiz, não sei porque tô falando em inglês kkkk vi que vc é BR... Cara, seguinte: eu instalei tudo no vscode certinho. Instalei o node, importei o git do n8n. Depois tbm instalei as pastinhas desse branch de whatsapp lá dentro. Mas não entra de jeito nenhum no app. Como vc fez pra aparecer na listinha de Credentials? Pra mim não aparece nem a credential e muito menos o node. Por favor me ajuda man? |
quando puder, ajuda <3 |
Man, it doesnt work when I load into vscode. This is what I did: 1 - Install n8n with Whatsapp branches (everything you guys did, is inside of the Whatsapp node) |
Try these steps:
Open localhost:5678 |
THANK YOU! IT WORKED |
Got released with |
^ "Fixed" issue in our workflow. |
Is there an entry missing for this parameter or are we not setting it right? Documentation: https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates#:~:text=the%20whatsapp_business_messaging%20permission.-,Text%2DBased%20Message%20Templates,-To%20send%20a talk about a language parameter in the template |
Hey @imagina, Can you open a post on our community support forum so that this doesn't get lost? |
* feat: base structure for whatsapp node with credentials * feat: messages operation * feat: create generic api call with credentials and test first operation * fix: add missing template params * fix: language code for template * feat: media type and start of template components * fix: remove provider name from media type * lintfix * fix: format * feat: media operations w/o upload media type * ♻️ Convert WhatsApp Business node to declarative style * 🐛 form data not being sent with boundary in header * ✨ add media operations to WhatsApp * ✨ add credentials test to WhatsApp credentials * ♻️ move preview url to optional collection in whatsapp message * ♻️ renamed media operations in whatsapp node * :refactor: move media file name to optional fields in whatsapp node * ✨ add upload from n8n for whatsapp node message resource * 🔥 remove other template component types in whatsapp node * :speech_bubble: add specialised text for media types in WhatsApp node * ⚡ Load dinamically phone number and template name * ⚡ Add action property to all operations * 🔥 Remove unnecessary imports * ⚡ Use getBinaryDataBuffer helper * ⚡ Add components property * ✨ send components for whatsapp templates and template language * 🏷️ fix WhatsApp node message function types * 🏷️ fix any in whatsapp message functions * 🔥 remove unused import * ⚡ Improvements * ⚡ Add send location * ⚡ Add send contact * ⚡ Small improvement * ♻️ changes for review * 🐛 fix presend error * ♻️ change lat/long to numbers with proper clamping * fix: bad merge * refactor: changes for review * update package-lock.json * update package.-lock.json * update Co-authored-by: cxgarcia <schlaubitzcristobal@gmail.com> Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Converted #3350 into the new declarative style and finished some of the functionality.