Transactional Email with Freetext data | Community
Skip to main content
January 22, 2025
Question

Transactional Email with Freetext data

  • January 22, 2025
  • 2 replies
  • 1117 views

Hello ACS professionals,

 

I need to send a transactional email that includes product details. The landing page is hosted outside of Adobe Campaign Standard (ACS), and the information is passed through an external API. When a user fills out a form containing product details such as the product name, code, etc., I need to send a confirmation email that includes the product information. However, I am unable to map the product details into the transactional email because they are not recognized as dynamic fields, even though I have added these fields to the Data Structure section in the Event Configuration.

 

How can I do this?

 

Email details are like this:

Your Product Details

Product type:

Product name: 

Model/Product code: 

Date of purchase: 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SatheeskannaK
Community Advisor
Community Advisor
January 22, 2025
January 24, 2025

Thank you for your response Sathees,

 

I've used collections and I'm able to see the fields in the transactional email but the values(Product type, Product name, Model/Product code, Date of purchase) are not populated into the email somehow when I test the email. I tried mapping them but it's not working. 

 

Or I'm not sure how to map them correctly as they are not defined inside ACS.

  • Product type: registration_type = -name-
  • Product name: registration_product = -name-
  • Model/Product code: registration_productcode = xyz
  • Date of purchase: registration_date = timestamp dd/mm/yyyy

 

Sukrity_Wadhwa
Community Manager
Community Manager
March 11, 2025

Hi @satheeskannak,

Can you please help @mert_alier further with their query?

Thanks!

Sukrity Wadhwa
Thanongdach
Level 3
June 12, 2025

@mert_alier 
Step Check and Fix it: 

1. Event Configuration : 
Check that all product-related fields (e.g., productName, productCode, price) are properly added in the Event Configuration → Data Structure.
2. Check JSON Payload for send to Event 
Make sure the JSON payload you send matches the Event Configuration exactly. Field names must match.
"json

{
"email": "user@example.com",
"productName": "Example Product",
"productCode": "ABC123",
"price": "299.00"
}"
3. Test Event
Use the “Test Event” function to simulate sending your payload and confirm if ACS accepts and maps the fields correctly.
4.  Check Dynamic Field in email template 
In your transactional email template, make sure the personalization syntax matches exactly:
"html
<p>Thank you for your order</p>
<p>Product: {{ event.productName }}</p>
<p>Code: {{ event.productCode }}</p>
<p>Price: ${{ event.price }}</p>"
5.  Check already to Publish Event . 
Always publish your Event Configuration after any updates. New fields won’t be recognized unless the configuration is published.
6.  Check Log and Error Messages 
After sending the actual Event, check the logs for errors or warnings to confirm that the event was triggered and processed correctly.