I’m trying to get the information on the page URL or product/variant to internal staff, in the email notification. Is JavaScript able to add data to the metaobject entries for forms, and/or to the email notifications?
Any update on this feature for Shopify Forms yet? I’m also having issues creating a metaobject for a Shopify Form. Is there a tutorial on how this would be accomplished? Just trying to get an internal email to send when a Shopify Form is submitted, and not to the store email address. Thanks!
If you create the form, the metaobject is created for you. Then you choose that metaobject definition in the “metaobject entry created” trigger in Flow
I ended up using go high level crm or you could use Klaviyo or any other tool as shopify is a little complex in this area. I could do it, but the emails from the forms went to the store owner alone and Shopify devs are busy making everything AI, rather than building a more friendly CRM.
---------HOW TO SET UP AN EMAIL NOTIFICATION WHEN A FORM IS SUBMITTED----------
Here is how I have these set up in Shopify Flow. You’ll need to install the Shopify Flow app then create a new workflow for each form that you have. The “Marketing Email” goes to the customer and says something like “Thanks for submitting the form, we’ll get in touch soon.”
Here is the code of the email body that I am using. It returns a very simple email with the content of the form submission and a link to the customer profile. In the email body, where there is grayed out text, you’ll need to replace it with the shopify store id that you see when you’re logged into the admin.
{%- for fields_item in metaobject.system.fields -%}
{%- if fields_item.definition.name and fields_item.value -%}
I found a problem (which is a general problem when sending emails): if someone fills out a form he expects a “received e-mail”, which could be triggered by the metafield trigger but it’s only send if the user has subscribed to the newsletter ("accepts marketing emails). So there’s a confusing on Shopify:
Newsletter/Marketing emails is one thing
Information emails like “form received”, “payment received” etc. don’t need consent. They are part of an ongoing conversation.
So actually this trigger doesn’t work
That’s true for “Send Marketing Email” but Flow does have other ways to send email. You can call your own service via Send HTTP Request. Or you can use a 3p action to send transaction email (that does not require a subscription).
sorry, I need to connect the pop up from “Forms” to “Shopify email”. Actually there’s no way to trigger the flow with this plugin. Is there is a way or other plugin for trigger shopify email ?
If you are using Shopify Forms, the trigger “Metaobject entry created” works. It can be used with the “Send Marketing Email” action as long as that customer is subscribed to marketing. If you need to send emails when they are not subscribed, then you would need to use another Email action to send transactional email. There are several apps out there that do that (if you uncheck “installed apps” in Flow when adding a new task and search for email, you’ll find them).