N
Novu3w ago
MrM

Query parameters with custom SMS provider

We want to send SMS using Voodoo, which isn't offered in the Novi integration store. However, we can set it up using the Generic SMS provider option. We would want to include a query parameter in the API call, with a value that is included in the payload. For example, we would use this as the base URL, including the query param: https://api.voodoosms.com/sendsms?external_reference={{payload.externalreference}} Is this possible to do?
No description
No description
12 Replies
Pawan Jain
Pawan Jain2w ago
@MrM As per second image, external_reference is sent only in payload. is there any specific reason to send this in query params along with payload?
MrM
MrMOP2w ago
Hi Pawan With voodoo SMS, we can send an external_reference number in the API call which is sending the SMS to the user The user doesn't see this external_reference, but if they reply, this number gets sent back together with their response
Novu_Bot
Novu_Bot2w ago
@MrM, you just advanced to level 1!
MrM
MrMOP2w ago
Using the external reference number then allows us to accurately save the user's response in the correct dB field Is there any way to set this up?
Pawan Jain
Pawan Jain2w ago
@MrM Thanks for the clarification. Interesting usecase indeed Currently, it is not supported. Sharing the feedback with mu team
MrM
MrMOP2w ago
Ok, great. Thanks! But I shouldn't expect this to be implemented in the near future...?
Pawan Jain
Pawan Jain2w ago
Unfortunately, yes at least for next 45 days. I have added this in backlog
MrM
MrMOP2w ago
So just to confirm, for a custom SMS provider, Novu will only allow the plain base URL for the API, and then the API body will only include the SMS message?
Pawan Jain
Pawan Jain2w ago
Yes, you are correct ✅
MrM
MrMOP2w ago
Ok, thank you for your help with this issue! 🙏 @Pawan Jain is there a way to pass query parameters using any of the providers offered in the Integration store? Or would this be the same feature request?
Pawan Jain
Pawan Jain2w ago
Currently other sms providers support only credentials. Only generic sms provider supports adding api url and other fields
Want results from more Discord servers?
Add your server