Change variables in override section
I'm using an SMS provider, through the generic SMS integration. The provider expects the SMS text to be sent with the variable 'msg', however the variable that Novu sends is called 'content'. How can I override this and set it to 'msg'?
22 Replies
@MrM
Unfortunately, it is not possible to customize this behaviour
Hi @Pawan Jain
So does this mean this specific provider/integration doesn't work?
@MrM
Yes you are correct as we map these fields internally with all the providers
So if I use a "msg" variable in the override section, why doesn't that get sent?
@MrM
here the issue is generic provider. We map content field to respective fileds in all providers. here you are using your own provider, so it is not working
@Pawan Jain I've now switched to BulkSMS
But seeing this error:

Is the integration definitely working?
@Pawan Jain please let us know on this!
@Pawan Jain @Dima Grossman I've tried adding BulkSMS as a generic provider to see if this solves the issue. But I get an error because Novu is sending the message body with a "content" variable name, whilst BulkSMS only accepts a "body" variable name.

Without hearing the cause of this issue, in my opinion, it is quite interesting that Novu offers this feature if there are so many issues with it...
@MrM
Could you please try this code
Nope, the SMS step is now sending, but it is using our default SMS provider
I am confused, are not you using genetic provider now?
@Pawan Jain can I DM you and share our configuration settings?
Yeah sure
Please share
Thanks @Pawan Jain i take it you received it. Your prompt support is critical as we have been trying to find a method for a long time and beed a solution!!
@Neng, you just advanced to level 1!
MrM has shared few images and code snippets, I am in touch with MrM in personal message
@Pawan Jain please can you update ne what the status is with these integrations that you say you support but bever seem to work! This is noe bery time sensitive and we have been trying to find a working solution for months
@Neng
Apologies for the delay in response
As per discussion with @MrM, we have decided to fix the `Not found``
issue with our own bulk sms provider integration
PR : https://github.com/novuhq/novu/pull/8791
Will be fixed EOD today
@MrM and @Neng
Could you please try to use BulkSMS provider now? Above PR is deployed
@mgood2707
Could you please update if you are able to use bulk sms provider?
Could you please update if you are able to use bulk sms provider?