Send contact form data to customer

Topic summary

A user is attempting to send customers a copy of their contact form submissions via Shopify Flow. The workflow triggers when a new metaobject entry is created.

Current Setup:

  • Internal staff email successfully displays form data using Liquid code that loops through metaobject fields
  • Customer-facing marketing email uses the same Liquid code in a custom block but fails to display any form data
  • Test emails show no form data, and actual form submissions also arrive empty

Technical Issue:
The metaobject data appears unavailable in the customer email context, despite working correctly in the internal notification.

Proposed Solution:
A respondent suggests storing form data in customer metafields or another accessible location instead of relying on the metaobject directly. This would ensure the data is available when the customer email is sent.

Status: The issue remains unresolved, with the original poster seeking confirmation on whether this functionality is possible at all.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Is it possible at all to send customer a copy of the message they sent the business?

When a customer feels about a contact form on the website, I want to send them an email that contains the information they filled out. I already have an internal alert to staff that contains the content of the form submission.

The workflow is triggered when a new metaobject entry is created. This part works.

For an internal email, I am using this code to send the form data. The internal email works.

{% for fields_item in metaobject.system.fields %}
{% if fields_item.definition.name and fields_item.value %}
{{ fields_item.definition.name }}: {{ fields_item.value }}
{% endif %}
{% endfor %}

To email the customer, I’m using the option to send a marketing email.

I copied the same code that’s already working in the internal email over to a custom liquid block in the email to the customer.

When I send a test email, nothing shows up for form data. I can understand that, because there is no metaobject to pull data from.

However I also filled out a test form and got the email, but none of the form data shows in the email. What am I missing? Is it possible at all to send customer a copy of the message they sent the business?

1 Like

Hey @ri31 ,

Yes, it is possible to send the customer a copy of the message they sent to the business, but you need to ensure you’re correctly passing the form data to the customer email. The issue may be that the metaobject is not available when the email is triggered for the customer, which is why the form data is not showing up.

To resolve this, you could store the form data in customer metafields or another accessible location, and then use Liquid to pull that data in the email. This would ensure that the data is available when sending the email to the customer.

With over 8 years of experience, I can help you set this up properly. Please feel free to reach out via email so we can discuss more in detail. Thanks!

Best Regards,

Rajat