Skip to Content
Product Information
Author's profile photo Silvia Backes

Have You ever Used Target Groups as a Condition when Designing a Personalized Email?


By using conditions when designing emails, you can create highly personalized email content. This blog post shows how easily you can apply this in SAP Marketing Cloud when you require very complex conditions.

I would recommend checking out the documentation Using Target Groups as a Condition on the SAP HELP Portal.


Use the Segmentation Configuration app to enable the attribute TARGET_GROUP as a personalization attribute in the Content Studio. Use the appropriate segmentation profile in your email settings. The attribute has to be visible as a default setting.

Create an Email in the Content Studio

Create a New Condition with the Attribute Target Group

Choose Assign Conditions for the subject line, preview text or column in the area Assigned Conditions.

On the Assign Condition dialog box, create a new condition, select the target group as the attribute, use the operator contains, and assign one or more target groups.


Design the content for the new condition accordingly.



During campaign execution, as soon as the current contact is found in one of the selected target groups, the condition is true and the text is displayed in this message to this contact.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Joyca Vervinckt
      Joyca Vervinckt

      Does this work with Dynamic target groups meanwhile? (see

      Author's profile photo Irene Baernhof
      Irene Baernhof

      Yes, this also works for dynamic target groups. I have updated the documentation for the coming release accordingly.

      Author's profile photo Joyca Vervinckt
      Joyca Vervinckt

      Oh that's really good to hear! Then the status of the above mentioned Idea could also be set to Delivered.

      Just to be clear:

      Does it mean that the dynamic target group is also automatically recalculated, when a campaign is executed in which an email is used in which Target Group is used as a condition?

      Author's profile photo Irene Baernhof
      Irene Baernhof

      In my documentation is the following note:

      "Note that using a dynamic target group in a condition does not mean that the target group is created again. It means that the target group only contains contacts from the last generation run."

      Author's profile photo Joyca Vervinckt
      Joyca Vervinckt

      I saw that note in the 2105 documentation, but as you explicitly mentioned 2108 (to which non-SAP-employees don't have access yet on SAP Help), I thought that might have been something that was enhanced. In that case the product idea is still valid, as that one requests to do have a refresh of the TG members on such occasion. Otherwise the usefulness of target groups within conditions is really limited for my use cases unfortunately.

      Author's profile photo Christian Langmann
      Christian Langmann

      I am using this great feature for a long time now.
      This important information is missing:

      You can update target groups automatically using an application job (on daily or hourly base).

      Author's profile photo Joyca Vervinckt
      Joyca Vervinckt

      Indeed Christian, and for some use cases, that refresh job helps.

      But we also have trigger-based campaigns where we have emails that should be personalized, were we would use target groups as a condition, but as we can't make them refresh at every trigger, we are using a campaign with a few dozen different emails with each a live target group filter instead...

      Author's profile photo Irene Baernhof
      Irene Baernhof

      Thank you very much! I will add a link to this application job in the documentation for the next release.