Hi everyone,
Scenario I'm trying to solve for.
Example: User sends email and in the comment states either "pants", "shirt", "socks" and up to 100 other data points.
I need to be able to parse the comments for those datapoints and send to unique target for each possible scenario.
Given ZD native structure, I'd have to create a trigger for each possible scenario.
example:
1) If Pants, Then notify target XYZ
2) If Socks, then notify target ABC
Each would have to be its own target.
I would like to do a single trigger with multiple If, then statements. This would minimize having to update multiple triggers which could happen often.
I'm thinking Liquid Script would be able to do that but not knowing the language I'm looking all over the web for this type of example and can't find anything.
Anyone out there know how to help in this situation?
Hi Craig -
Unfortunately, you can only use Liquid in the "email user" action in automations and triggers, so there's no way for the Liquid logic to call different targets. The parsing logic would either have to reside in multiple triggers (which, understandably, you want to avoid), or in the code that the target calls, by sending the ticket description via the target and having the receiving code parse for which keyword(s) were mentioned.