4 minutes read

How to Personalize Mass Emails with CSV Data and Zendesk Custom Fields

Need to send different information to each customer in the same email campaign? With Proactive Campaigns, you can upload this information in a CSV file, map it to Zendesk custom fields, and use placeholders to add it to your emails automatically.

Let us show you how to set it up using an example where each customer receives their own tracking number.

Step 1: Create a Custom Field in Zendesk

First, create a custom field where you’ll store the personalized information.

In Admin Center, go to People → Configuration → User fields and click Add field.

Add Custom User Field

Select the appropriate field type. For this example, we chose a Number field type.

Select Field Type

Then, name it and save.

Tracking Number Field

Note: You don't need to copy or enter the field key manually when adding the placeholder. But you can use it later to verify that you've selected the correct placeholder based on this key.

Step 2: Prepare Your CSV File

Create a CSV file with the customer information you want to use in your emails. For this example, we will include a column with tracking numbers for each customer.

CSV File

Step 3: Create a Campaign and Upload Your CSV

Open Proactive Campaigns and create a new email campaign. For the target list, select the option to Import User List and upload the CSV file you prepared.

During the import, map the Tracking Number column from your CSV to the Tracking Number custom field you created in Zendesk, then click Save.

Map Fields

This tells the app which value from the CSV should be added to the user’s custom field.

Step 4: Add the Custom Field Placeholder to Your Email

Now, add the tracking number to your email using a placeholder.

In the email editor, click Placeholders and search for the custom field you created. Select it to insert it into your message. You can also type {{ and start typing the field name to find it.

Select Placeholder for Tracking Number

In our email, we used the placeholder: {{ticket.requester.custom_fields.tracking_number}}.

If you want to make sure you've selected the correct custom field, compare the field key in the placeholder with the Field key shown in Zendesk Admin Center.

Inserted Placeholder for Tracking Number

Step 5: Send the Campaign

Complete the remaining campaign settings and send the campaign. Proactive Campaigns will replace the placeholder with the value from each customer's custom field.

Personalized Tracking Number in Email

You can use the same workflow to personalize emails with other customer-specific information, such as account numbers, subscription details, renewal dates, personalized links, etc.

Have questions? Contact our support team.

Was this article helpful?