[Content Fragment] Can CF be used for Email templates? | Community
Skip to main content
Level 3
October 21, 2022
Solved

[Content Fragment] Can CF be used for Email templates?

  • October 21, 2022
  • 1 reply
  • 1750 views

In my company business teams want to know if CF can be used for Email templates. 

Any integration can be done for this use case? For example, creating Email templates in AEM using Content Fragments, then export them to Adobe Marketo or Adobe Campaign?

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

@baoyu_li I believe you might have already considered this workaround. I have not worked on Marketo, so not sure about the possibilities, but here is food for thought. I see two approaches ca be explored:
1. Embed the CF into Experience Fragment which can be exported in HTML format. 
2. Write a custom utility to convert CF json export into html

Both will involve custom logic to be implemented, I don't really see any OOTB available for this.

1 reply

krati_garg
Adobe Employee
Adobe Employee
October 21, 2022

Hi @baoyu_li 
Haven't implemented this hands on, but logically it looks correct. Please look into below link. This post is about selecting Published Assets into ACS (Campaign) Email Templates. Since CFs are technically Assets, this post can prove to be useful.
https://experience-aem.blogspot.com/2020/07/aem-6550-acs-193-selecting-aem-assets-in-adobe-campaign-standard.html

Also, it has another post which uses Asset Core Service to sync AEM assets into ACS. 

Personally, I will prefer the above method, since it is more direct.

baoyu_liAuthor
Level 3
October 23, 2022

Hi @krati_garg ,

 

Thanks for your reply.

But our company will most likely use Marketo for emails but not Adobe Campaign Standard.

 

CF is of type Assets in AEM but it works very differently from typical assets such as Images in AEM, in terms of how they will be used by omni-channels. For example, Image can simply generate an <img> html element in email's HTML content but CF typically requires API like GraphQL to return Json, which is not something can be embed into email's HTML content directly.

 

Business team wants to know if AEM Headless (CF) can support all channels or not, particularly if Email channel's content can be authored and delivered/synced from AEM to Marketo. By the look of it, I am afraid that the answer is "No".    

krati_garg
Adobe Employee
krati_gargAdobe EmployeeAccepted solution
Adobe Employee
November 4, 2022

@baoyu_li I believe you might have already considered this workaround. I have not worked on Marketo, so not sure about the possibilities, but here is food for thought. I see two approaches ca be explored:
1. Embed the CF into Experience Fragment which can be exported in HTML format. 
2. Write a custom utility to convert CF json export into html

Both will involve custom logic to be implemented, I don't really see any OOTB available for this.