Documentation

Using real data while editing templates

Dynamic data allows you to preview your email templates with real form submission data while editing. This feature enables you to see how your template will look with actual field values, making it easier to design and test your email templates.

What is Dynamic Data?

Dynamic data connects your email template to a data source (such as Gravity Forms or WordPress) so you can see live field values in the editor instead of placeholder text. This helps you:

  • Preview how your template will look with real data
  • Test different field values and formats
  • Ensure your template displays correctly with actual submission data
  • See merge tags and Entry Value blocks populated with real values

Enabling Dynamic Data

Step 1: Open the Dynamic Data Source Panel

  1. While editing your email template, look for the “Dynamic Data Source” option in the WordPress editor sidebar menu (three dots menu in the top right)
  2. Click on “Dynamic Data Source” to open the panel

Alternatively, you can access it from the Plugins menu item in the editor sidebar.

Step 2: Select a Data Source Integration

  1. In the Dynamic Data Source panel, you’ll see a dropdown labeled “Data Source Integration”
  2. Select the integration you want to use:
    • Gravity Forms – For Gravity Forms form submissions
    • WordPress – For WordPress user data
    • Other integrations may appear if they support dynamic data

Step 3: Configure the Data Source

The configuration options depend on which integration you selected:

For Gravity Forms:

  1. Select a Form: Choose the Gravity Forms form you want to use for preview data
  2. Select an Entry (Optional):
    • You can select a specific form entry to preview with that entry’s data
    • If you don’t select an entry, the template will use the form structure but may show placeholder values
  3. Once configured, you’ll see a success message confirming the data source is selected

For WordPress:

  1. Select a User: Choose a WordPress user whose data you want to use for preview
  2. The template will populate with that user’s information

Step 4: Verify Dynamic Data is Active

Once you’ve selected a data source:

  • You should see a success message: “Data source selected successfully!”
  • Your template blocks (especially Entry Value blocks) will now display real data instead of placeholders
  • Merge tags in your template will show actual values

Using Dynamic Data in Your Template

Entry Value Blocks

Once dynamic data is enabled, Entry Value blocks will automatically populate with real field values from your selected data source. You can:

  • Select any form field to display its value
  • See the actual data in the editor preview
  • Test different field combinations and formats

Merge Tags

When a dynamic data source is selected, additional merge tags will be available specific to the form/source that is selected. This includes:

  • Field merge tags (e.g., {field:1})
  • Entry meta tags
  • User data tags
  • Custom merge tags provided by your integration

Testing Different Data

To test your template with different data:

  1. For Gravity Forms: Select a different entry from the dropdown
  2. For WordPress: Select a different user
  3. The template will automatically update to show the new data

Resetting Dynamic Data

If you want to remove the dynamic data source:

  1. Open the Dynamic Data Source panel
  2. Click the “Reset Selection” button
  3. This will clear the data source and return your template to placeholder mode

Important Notes

  • Saving Required: Make sure to save your template after selecting a data source
  • Test Emails: When sending test emails, the selected data source will be used automatically
  • Template Rendering: The dynamic data is only for preview purposes in the editor. When the template is actually used (e.g., when a form is submitted), it will use the actual submission data
  • No Data Source: If no data source is selected, Entry Value blocks and merge tags will show placeholders or empty values

Troubleshooting

No Fields Available

If you see “No form fields are available”:

  • Make sure you’ve selected a form in the data source settings
  • Verify the form has fields configured
  • Try refreshing the page

Data Not Updating

If the data doesn’t appear to be updating:

  • Save your template
  • Refresh the page
  • Check that the data source is still selected in the Dynamic Data Source panel

Integration Not Showing

If your integration doesn’t appear in the dropdown:

  • Verify the integration plugin is installed and activated
  • Check that the integration supports dynamic data
  • Some integrations may require additional configuration

Best Practices

  1. Select a Representative Entry: Choose a form entry that has data in all the fields you’re using in your template
  2. Test Multiple Entries: Try different entries to ensure your template works with various data scenarios
  3. Use Test Emails: Send test emails to verify how the template looks in actual email clients
  4. Save Frequently: Save your template after making changes to preserve your data source selection

Additional resources

Use the links below for more information and guidance on adding blocks. Keep in mind that these articles are general information related to the WordPress Editor and building with blocks. Email Customizer does not utilize all blocks or functionality due to the limited capabilities of emails.

WordPress Editor