How to call the result of a mail script to the Send SMS action

Sherwin G
Tera Expert

I have a requirement to use Send SMS action in Flow Designer and pass the result of a mail script as part of the text on the Message field. How can I achieve this?

4 REPLIES 4

Anand Kumar P
Giga Patron
Giga Patron

Hi @Sherwin G ,

Generally we can call mail script in notification  like ${mail_script:script name}.

You can use Send Notification Action instead of Send email action.

Create notification and on when to send use Triggered it will display on the flow.

And you can use email script on notification body and define like this ${mail_script:script name}.

If you use Send Notification action it will be easy to troubleshoot/identify in future.

Thanks,

Anand

Hi Anand,

I have this subflow which makes use of the Send SMS action and passes the values from my flow variables:

SherwinG_0-1699867724999.png

The last part of the message is where I am not sure how to execute. Basically, the mail script will generate a URL link, which will need to be access by the recipient of the SMS.

Hi @Sherwin G ,

Use send notification action in flow

You can use Send Notification Action instead of Send email action.

Create notification and on when to send use Triggered it will display on the flow.

And you can use email script on notification body and define like this ${mail_script:script name}.

If you use Send Notification action it will be easy to troubleshoot/identify in future.
or With Create an  event action in flow call notification and use mail script in notification body.

Thanks,

Anand

Is the Send Notification action able to send messages to mobile numbers?

This is the requirement that I am working on, to send SMS notifications