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?



