Overview
At Fastgen, we want you to be able to do as much as possible without custom code. While the ability to use custom code in its full glory is at the center of our design, the idea is that we continuously converge to a state where you have to use it less and less. One big step forward that we are taking today is allowing you to use more complex logic in our flow-control blocks by revamping the If/Else action.
There are two major changes for the If/Else action. Firstly, you are able to build complex logic trees instead of just simple statements. Secondly, we have added over a dozen new operators that you can use to build your conditions. Combining that, you are able to build more complex logic and visualize it more easily at the same time.
Complex logic tree
With the new update, you are able to combine multiple statements with AND/OR. You can do that on the same level or to group them as subconditions in different levels of hierarchy. Feel free to go as deep or as shallow as you want.
New logic operators
In addition to combining multiple statements into more complex logic, the statements themselves also got smarter. You will have access to a holistic set of new operators for the statements themselves, giving you way more flexibility in crafting your logic. You are now not only able to compare two variables but also to spot patterns, check for types and verify the length of your string. Here you can find an excerpt of the new operators:
- True or False: is, is not, exist, not exist
- Bigger or Smaller: is greater than, is greater or equal, is smaller than, is smaller than or equal
- Pattern Spotting: contains, not contains, starts with, not start with, ends with, not end with
- Nature and Length: is type, matches regex, not match regex, length is
Improved Debugging
Lastly, we have improved how debugging of complex logic flows works within Fastgen so that you can iterate on your flows even faster.
You can learn more about this feature in our docs here, or just go ahead and try it yourself here.
We host a remote hackathon starting next week with thousands of dollars in cash prizes. You can find out more about it here.
Happy Building!