Our code block connection is here to let you make individualised connections between important data from the back-end and your customer's individual needs. You can define any number of variables on the spot, where you would have needed to connect a webhook beforehand. This allows you to come up with conditions that check for certain values in your jinja2 code, no tech wizardry required. Map those variables with whatever logic you come up with - you have free reign over the land of code.
For example, if you'd like to check if the delivery date for a customer's order is in the past or future, you can now directly check for that variable's value from any module and even global connection - no need to enter our webhook builder at any point.
Along with this release, we've also made it possible for you to check your code before you wreck your code - and to play around with it right where you want it. In other words, it will detect syntax errors for you in the specific module or connection you want to be ruled by a jinja2 template.
However, even simple code can get frustrating - and since we are trying to make your life as easy as possible, we are now giving you the option to see in real-time what might be causing an issue.
That means, no more switching back and forth between the modules and connections in the bot or your jinja2 editor and testing environment anymore! Kick back and let us show you what your code needs to be its best self, right where you are.
This also helps out those of us who like the hands-on approach of our modules in the bot builder, but have to call their nerdier colleagues whenever they encounter a little roadblock between what looks like solid, functioning code and, well, reality (we feel you). With this feature, Andy from IT can stay in his seat while you shape variables and weave connections like the pro we know you can be.