What are dynamic tags
If you want to create a tag based on a Salesforce field that contains changing data or multiple values, manually creating and selecting tags can become cumbersome and inefficient. Dynamic tags offer a powerful solution to this problem by automating the process and ensuring your audience is always segmented accurately.
What Are Dynamic Tags?
Dynamic tags allow you to reference a Salesforce variable like a field that changes over time, ensuring that the assigned tag always reflects the most current data. For example, if you use the Lead Source field in Salesforce, its value might change depending on where the lead originated—Google Ads, LinkedIn, or direct website traffic. Instead of manually updating tags for each change, dynamic tags enable automated updates in Mailchimp.
How Do Dynamic Tags Work?
With our invocable action, you can reference a Salesforce field or variable and use it to dynamically assign the appropriate tag in Mailchimp. This means:
-
You define the Salesforce field whose value will determine the tag.
-
The invocable action fetches the value whenever it runs.
-
The system automatically assigns the corresponding tag to the Mailchimp audience member.
Can Dynamic Tags be removed?
With our invocable action, you can toggle the Mailchimp Tag Action to Remove Tags. Or if the Mailchimp Tag Action is set to Add Tags just beneath the Dynamic Tags field you will see an option to replace Mailchimp tags. This works by first removing all assigned tags, and then replacing them with the tags selected in the flow action.
Benefits of Dynamic Tags
-
Automation & Efficiency: Eliminates the need for manual updates, saving time and effort.
-
Accurate Audience Segmentation: Ensures your Mailchimp tags always reflect the most up-to-date Salesforce data.
- Consistency & Reduced Errors: Prevents human errors that could result in miscategorized audience members.
Example Use Case
Imagine a scenario where a company captures leads from various sources and stores them in Salesforce under the Lead Source field. Instead of manually tagging each contact in Mailchimp, the dynamic tag system:
-
References the Lead Source field in Salesforce.
-
Dynamically updates the tag in Mailchimp based on the latest field value.
-
Automatically assigns the appropriate tag to the contact in the Mailchimp audience.
- Optionally set Replace Mailchimp Tags.
Getting Started
To implement dynamic tags, configure our invocable action within a Salesforce flow. To help show how this works check out the associated interactive guide.

