About a whatsapp automation.
When it's the other way around, it's easy with an external request and a webhook, but in this case, I can't find any useful trigger in ManyChat.
How can I make n8n trigger an automation for whatsapp messaging?
About a whatsapp automation.
When it's the other way around, it's easy with an external request and a webhook, but in this case, I can't find any useful trigger in ManyChat.
How can I make n8n trigger an automation for whatsapp messaging?
Best answer by Fabio Gaulke
Hi,
For that, you’ll have to use Manychat’s API to send a specific flow to a new or existing contact = https://api.manychat.com/swagger
But there’s a catch... 😂
The /sendFlow endpoint needs the subscriber_id. To get it, you need to search for existing contacts before creating a new one (if the contact already exists, you get an error message). And the only way to get it done with a WhatsApp ID is creating a custom field and an extra automation that populates this field with the contact’s WhatsApp phone number. Then you use the /findByCustomField endpoint to get the subscriber_id if it already exists.
That requires to create the custom field and an extra automation to populate the field once a new contact is created in Manychat.
On n8n’s side, it will just need 3 nodes to do all the work:

If you need some help with that, feel free to send me a message. 😉
Happy new year/ Feliz ano novo!!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.