Create a trigger email campaign for gaming event
I need to create a trigger based email campaign for gaming user. For example:
If any user joins a clan, a trigger should be sent out.
If any user is inactive for 3 days, a trigger should go out.
If any user becomes a leader of a clan, a trigger email goes out.
What is the easiest way to apply logic to the flow in an email campaign?