So I'm still relatively new to the programmable emails stuff, but I think your issue will have to do with the fact that you're trying to pull a URL query in an email.
It's not fully clear exactly what you've already got set up, but I'm guessing that you want to send an email with results based on a form completion on the site. So you would need to assign the URL query values to a contact property for each or you can query it from a custom object and then pull those properties within the email itself.
The 'Custom Object' section of this article might help if you go down that route.
But if you're assigning the contact properties you could just simply use the contact tokens like so:
{% set price_from = contact.price_from %}
{% set price_to = contact.price_to %}
<h2> Price From: {{ price_from }}</h2>
<h2> Price To: {{ price_to }}</h2>
<br><br>
I didn't dig into the rest of the code as it seems like the main issue was that you couldn't pull those values in. Once you get that bit right you'll be able to test the rest of the code.
So I'm still relatively new to the programmable emails stuff, but I think your issue will have to do with the fact that you're trying to pull a URL query in an email.
It's not fully clear exactly what you've already got set up, but I'm guessing that you want to send an email with results based on a form completion on the site. So you would need to assign the URL query values to a contact property for each or you can query it from a custom object and then pull those properties within the email itself.
The 'Custom Object' section of this article might help if you go down that route.
But if you're assigning the contact properties you could just simply use the contact tokens like so:
{% set price_from = contact.price_from %}
{% set price_to = contact.price_to %}
<h2> Price From: {{ price_from }}</h2>
<h2> Price To: {{ price_to }}</h2>
<br><br>
I didn't dig into the rest of the code as it seems like the main issue was that you couldn't pull those values in. Once you get that bit right you'll be able to test the rest of the code.
Thank you for the video! I'm not familiar with programmable emails, but I found this Community post that might be helpful.
I also wanted to ask @KimM, @Indra, @JBeatty, @lynton for their help & insights - do you maybe know why the custom properties aren't displayed in the email? Thank you!