0

There is an attempt I would like to try but I would like to ask if it's even possible.

I have an automation that send out emails. I would like to send a text message out the same time that the automation send out the email.

Is there a way to send out the SMS within the email by using Ampscript? If this is not available as I think it's not, what would be another way to do it? I can't use journey as it's not real time.

Thanks

3

Using the AMPscript within the email body to send SMS is possible but it is not easy to setup as you would need Triggered SMS and API call to triggered SMS.

According to your situation, the easiest way you would send a sms setting up an outbound sms in MobileConnect where you would select template type as Outbound - Automation. Activate the Outbound Message in MobileConnect thus allowing you to use the Send SMS activity in Automation Studio.

Note: You will need to create the list in MobileConnect to be able to setup an Outbound sms.

Yes, most of the AMPscript functions can be used within the MobileConnect app. However depending on the complexity (personalisation,report,send-log,etc) of the sms message AMPscript use case can vary.

Here is an example:

Hi %%First_Name%%, this is a sms test.

Above case uses First_Name as the personalisation string which matches with the field in the list setup in MobileConnect. However, if you need to lookup further fields in the DE then you will need to use LookUp AMPscript functions.

Reference:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.