we have created an integration to send Whatapp messages through Twilio, via a plugin that creates a new campaign action, where you can specify the template_id of twilio, and variables to pass to the template.
Everything works well. We are managing channel preference, so every user can choose if they want messages by email, sms or whatsapp. This means, though, that we have to write 3 times every campaign workflow, for email, sms or whatsapp users.
obviously we would prefer to write a single workflow. Enter marketing messages, which are designed exactly to manage these issues.
You create a single message, that has different properties for every channel, inside you workflow you set the action send marketing message, and Mautic manages the user channel on your behalf.
Only issue is, there is not a whatsapp channel. Not being experts in php, we asked for help to an LLm, which helped us create a new plugin meant to add a new channel, and to add new fields to the marketing message ui. Except it does nothing.
Looking at docs it’s not completely clear if we can actually extend marketing messages, so I am asking here.
Is it possible to extend channels inside marketing messages? I can share plugin source if it can be useful.
If not, does someone can point us to the best way to accomplish our goal (Send multichannel messages without duplicating workflows inside campaigns)?
Hi @rcarabelli and thanks for the response.
What you did is indeed very useful.
We miss seeing it in user channel preferences, and as a channel in marketing messages.
We haven’t been able to fond a way to do this.
Doyou have any idea how could we accomplish this?
Thanks in advance
I think that has to be done once the new channel is created, what I did is just a dummy (and tbh, forgot about that). Will update the plugin next week to add that and will add it when the new WABA plugin is ready.
Specifically to answer your question: No I have no idea of how to add that, but if a new channel and action were created, then anything is possible.