Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to send a transactional message using javascript via a web app

Avatar

Avatar
Level 1
BobbySheridan
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
BobbySheridan
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
BobbySheridan
Level 1

30-12-2020

Hello,

I am trying to send a transactional message through a web app that is designed to take email subscriptions. I have to overwrite the email being sent with an email that has a promo code attached. I have to do this using javascript in the workflow of the web app. The transactional message has been made, it's just a matter of the code. Sorry, I am new to this any help is appreciated. Thanks.

transactional message web apps

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

01-01-2021

Hi,

 

If execution instance is same as your webapp instance, you can push Message Center events with nms.rtEvent.PushEvent(), with documentation here:

Otherwise use the HTTPSoapConnection or HTTPClientRequest class to call the exec instance, same method.

 

Out of curiosity, why use Message Center instead of nms.delivery.SubmitDelivery()?

 

Thanks,

-Jon

Avatar

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

243 likes

Total Posts

408 posts

Correct Reply

104 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

243 likes

Total Posts

408 posts

Correct Reply

104 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile
shelly-goel
MVP

30-12-2020

@BobbySheridan 

I've not tried it though if you've created the transactional message, you can create an event (or batch) using a SOAP request from the web app as explained here:

https://experienceleague.adobe.com/docs/campaign-classic/using/transactional-messaging/introduction/...

Avatar

Avatar
Give Back 50
Employee
Sukrity_Wadhwa
Employee

Likes

154 likes

Total Posts

910 posts

Correct Reply

35 solutions
Top badges earned
Give Back 50
Validate 1000
Validate 500
Validate 250
Validate 100
View profile

Avatar
Give Back 50
Employee
Sukrity_Wadhwa
Employee

Likes

154 likes

Total Posts

910 posts

Correct Reply

35 solutions
Top badges earned
Give Back 50
Validate 1000
Validate 500
Validate 250
Validate 100
View profile
Sukrity_Wadhwa
Employee

13-01-2021

Hello @BobbySheridan,

Were you able to resolve this query with any of the given solutions or do you still need more help here? Do let us know.

Thanks!