✅ Easy Twilio Whatsapp Integration - New Plugin from Zeroqode

As below, it appears your plugin functionality is due to be depracted in Nov 2024, but it may be that form a new account it doesnt work. Clearly as you have seen from the Loom video, it does not work as described even with the simplest use case.


Hello David,

Thank you for your reply.

WhatsApp messages are subject to certain rules and restrictions that do not apply to standard Twilio Programmable SMS and MMS messages. It’s important to understand how “templates” and “sessions” work with WhatsApp, and design your messaging flow to follow WhatsApp’s rules.

Templates and Sessions:

All messages sent from your WhatsApp number (or from the Twilio Sandbox) must follow a pre-approved template , unless the end user has messaged you first. After a user sends you a message, you have a 24-hour session to send session messages (or freeform messages) to that user. Session messages do not need to follow a template, and can include media attachments. The 24-hour session restarts each time that user sends you a new incoming message.

Twilio currently has two template creation platforms, detailed below:

  • Content Template Builder: Create rich content (text, media, CTA buttons, quick reply, list picker and more) through console or API and send templates using a template SID across multiple channels including WhatsApp, SMS, MMS, Facebook Messenger and Google Business Messages.
  • WhatsApp Templates: Create basic templates (text, CTA buttons and quick reply) through the console for use on WhatsApp. Message body must match template body to send. This platform will be deprecated on November 1st, 2024, therefore, if you are just starting out you should only use Content Template Builder. See here for more information.

A note about Opt-in and Opt-Out with WhatsApp:

Similar to SMS, you must receive explicit opt-in from end users before sending them a WhatsApp message. WhatsApp requires the opt-in to be active , which means that it can not be assumed. Please review the information here for more details on how to correctly handle opt-in: Rules and Best Practices for WhatsApp Messaging on Twilio (https://support.twilio.com/hc/en-us/articles/360017773294-Rules-and-Best-Practices-for-WhatsApp-Messaging-on-Twilio)

Hope this helps – let me know if you have any further questions or concerns.

Best,
Andres
Twilio Support

Hi David,

Thank you for the information :pray:.

We’ll further discuss this with our developers to explore potential adjustments in response to any upcoming API changes. We aim to ensure our plugin continues to function effectively. Rest assured, we will update you on any decisions made. The current API we utilize is still active and should operate without issues.

Our thorough testing on a sandbox account, utilizing Twilio’s provided templates, demonstrates successful template sending. This is evident on both WhatsApp and our demo page, with only the body content being sent, not requiring the ContentSID parameter introduced by the newer API.

Screenshots


Could you please verify if your templates were created through the WhatsApp Template Console rather than the new Content Template Builder? This difference could be a factor in the issue you’re experiencing.

Best regards :hibiscus:

Hi @d.pearce,

Thank you for your patience!

After discussing with our developer, we understand that the current behavior is expected until the API becomes deprecated, which shouldn’t impact the plugin’s functionality.

Could you please let us know where the templates were created so we can explore further options? Your feedback would be greatly appreciated.

Best regards :sunflower:

Hello!

I see you recently updated the plugin in order to add templates, thank you for the effort.

Unfortunately, you have removed the backend actions and now we cannot schedule sending messages. Are you planning to add the actions to the backend anytime soon? This was working perfect until now so now we have lost the functionality. I would appreciate the urgency.

EDIT: The actions are still present in backend, the names were changed to “Send message” and “Send message with template” (not including WhatsApp) so I could not spot them. Thank you! :tada:

EDIT 2: Something wrong, messages not being sent. See screenshots below

image

image

Best regards,

1 Like

Hello? @ZeroqodeSupport @levon @ZeroqodeTeam

1 Like

Hi @rentquota,

Thanks so much for reaching out to us and for using our plugin :hugs: Our deepest apologies for any inconvenience created by this error!

Could you please show us how you set up the plugin on your side? Feel free to send us some screenshots or a screen recording using Loom.com (or another preferred tool) showing your setup, data you provide this action and how this error happens on your page. We will try our best to get to the bottom of this behavior!

Hope to hear back from you soon :pray:

Best regards :hibiscus:

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Please find recording here: Watch video

EDIT: Just found the messaging service ID, which is different from what I had put before. But still receiving some error message. Not sure of the reason?

  • How should i identify the template, using “Template name” or “Content template SID”?
  • Do you see any error in the json structure? Tried both with " and without
{   "1": "Ramón",     "2": "Jesús de Quota Rent",     "3": "Bravo Murillo 23",     "4": "formulario-candidatura" }

OR 

{   1: "Ramón",     2: "Jesús de Quota Rent",     3: "Bravo Murillo 23",     4: "formulario-candidatura" } 
  • Any other idea?

Hi @rentquota,

Thanks a lot for the video recording :pray:

The Convent Variables field data should be formatted as follows, also shown in the Twilio documentation - screenshot:

{ "1": "Joe", "2": "O12235234" }

Please ensure that the format is exactly as in the example above, as it’s case-sensitive. We noticed some extra spaces in the video recording (either by pressing the spacebar multiple times or copying from another source), also please keep in mind that the quotes might change their format when copying from another source (visible even here on the forum - please see this screenshot on how the quotes should look like). In your case, could you please add the following code to the field and try again?

{ "1": "Ramón", "2": "Jesús de Quota Rent", "3": "Bravo Murillo 23", "4": "formulario-candidatura" }

If this suggestion doesn’t resolve the error and you continue to encounter this behavior, please add us to the list of plugin collaborators so we can investigate further!

To ensure that the editor URL doesn’t get lost in our email inbox, please send us the editor link too (along with any necessary credentials for accessing the editor and preview page).

Feel free to include this information here, but if you prefer not to make it publicly available, you can always direct message us or send an email to support@zeroqode.com.

We hope to hear from you soon and resolve this issue. :hugs:

Best regards :sunflower:

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi, thank you for your reply.

Unfortunately it did not work after following your comments. So I ended up taking a look at Twilio’s API as you suggested and configured the whole Twilio API in the API connector when I found it was quite easy.

Sorry but no need to use the plugin anymore. I hope you can configure it correctly and specially add more endpoints if you want the plugin to be worthy.

hi @rentquota I’m also setting up using the Bubble API connector. Could you please show me how to set it up and make the content variable dynamic?

1 Like

Hi @rentquota,

It’s sad to see you go, but we genuinely wish you the best of luck! We appreciate the feedback you provided - it means a great deal to us :pray:

Please don’t hesitate to reach out if you have some concerns or questions about any of our plugins. We’d be delighted to assist you in any way we can!

Best regards :hibiscus:

Browse all Zeroqode Plugins for Bubble Banner_Last3

1 Like

Hi, I configured the plugin to send a message, but this error is appearing in the print. The other print is how the plugin is configured.


Hi @rodrigo_oalves,

Thank you for reaching out and for your purchase.

It looks like the “Invalid Parameter” error could be related to the format of the phone numbers or the setup of the template variables.
More info in the supporting documentation: Twillio Whatsapp Plugin

Here are some steps to check and possibly resolve the issue:

  1. Phone Number Format:

    • Make sure that both the “From” and “To” phone numbers are in e.164 format, which includes the “+” symbol, followed by the country code and the full phone number (e.g., +15551234567).
    • Avoid any spaces, dashes, or special characters in the number. Click on Show documentation for additional information on each field.
  2. Template Variables:

    • Double-check that the variables you’re passing (like {{1}}, {{2}}, etc.) match the template structure on Twilio’s end. Each placeholder should correspond to the correct variable in your plugin’s configuration.
    • Ensure all required variables in your template have values assigned.
  3. Messaging Service SID:

    • Confirm that the Messaging Service SID you entered is correct and corresponds to the WhatsApp setup on Twilio. You can verify this in your Twilio console under Messaging Services.
  4. Double-Check the Template ID:

    • Ensure that the template ID used matches an approved template on Twilio for WhatsApp, as unapproved or incorrectly referenced templates may trigger an error.

Please go through these steps and let us know if the issue persists. Hopefully, this resolves the error!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3