Need help! Environment specific url
I have a primary CTA in an email template, and I’m constructing the URL within the template itself using payload data. The issue is that since we’re using the same template in production, we need different URLs for different environments.
For example:
In QA, the CTA URL should be: https://qa.abc.app/someid1/someid2
In Production, the CTA URL should be: https://abc.app/someid1/someid2
Is there a way to dynamically set this URL based on the environment within the template itself?
8 Replies
@Ashutosh
Did you try sending complete url in payload variables
no we are not sending complete url instead we are creating the url in template itself from payload data , let's say here someId1 and someId2 are present in payload and we are constructing it as https://qa.abc.app/someid1/someid2
Thanks,
is there any issue in building this url on your end and sending comlete url in payload variable?
is there any issue in building this url on your end and sending comlete url in payload variable?
no there isn't but if Novu itself provide it then that would be great
@Ashutosh, you just advanced to level 1!
Hi, it's urgent/blocker for us , let me know can we have condition based on environment or not.
Ashutosh,
This is something we don't support as of now, I am still not able to understand what's the issue with sending complete url in payload variable instead?
This is something we don't support as of now, I am still not able to understand what's the issue with sending complete url in payload variable instead?
Okay thanks, we will go with sending complete url.