
DiptimanM.35832 (Customer) asked a question.
Hi Team,
We use Okta services to send emails and SMS. These emails and SMS are customized based on need on one application say App "X". We are planning to build one more app App "Y" where we would like to use Okta services to send emails and SMS. Is there a possibility to maintain two or more custom templates based on App, which can be utilized ?

Hi @DiptimanM.35832 (Customer),
You could use this setup:
You can also pass more than one variable to a helper flow and Compose card. Let me know if this helps.
To expand on Max's suggestion.
Workflows has an if/elseif card that allows you to set multiple "if" conditions. The first condition met is performed (single verdict) and if no conditions are met then the "else" is performed.
You could then create your "custom" messaging in a dynamic method as shown by Max above then send it out to the "Outputs" of the if/elseif and finally to the email provider card you are leveraging.
So basically, the initial condition occurs that triggers the flow, a specific identifying attribute is pulled and used to determine the "if" branch in the if/elseif that will be leveraged and a unique for that branch email would be constructed and sent.