How to send notifications to an email address obtained through Virtual Agent using the Subflow's Sen

Soki Ando
Tera Contributor

I am setting up a Flow that triggers when customer information is obtained and a record is created through Virtual Agent. I plan to include several Subflows within this Flow and want to set up an Action to send notifications to the email address obtained from Virtual Agent.

I understand that the process would involve:

  1. Using the "Get Catalog Variables" Action to retrieve the email address from the form variables.
  2. Sending an email using the "Send Notification" Action with a template.

However, I am unable to find the section in the Notifications Email template where I can configure a script to use the variable for the recipient.

If anyone knows how to achieve this, could you please provide guidance?

2 REPLIES 2

GlideFather
Tera Patron

You can create a notification triggered by an event, and within the flow designer you can fire that event in the step of your need.

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Thank you for your response.
I have figured out how to retrieve an email address from a variable in a Subflow Action.
Is it possible to set that email address as the recipient from the Notifications email template?
I can’t find where to set a script for the recipient.
Or is it possible to set it from an Email Script?