Expand my Community achievements bar.

SOLVED

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

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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.

View solution in original post

3 Replies

Avatar

Employee Advisor

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-...

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.

Avatar

Level 3

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".    

Avatar

Correct answer by
Employee Advisor

@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.