Back to all articles
Photo of Niki, the author of this blog post
Niki · 1 November 2024

Automate Shopify forms responses and alerts with the new metaobject entry trigger

Shopify has recently introduced a powerful new feature in the Shopify Flow app: the metaobject entry trigger. This trigger initiates a workflow whenever a new metaobject entry is created, making it especially useful for automating form responses to your customers and internal form submission alerts.

Since Shopify Forms saves each form submission as a metaobject entry, you can now set up workflows to notify internal teams (even at different email addresses than your store’s main contact email address!), and send automatic form responses to customers.

Let’s dive into how to easily create a workflow that sends an internal notification as well as an email to your customers using the Metaobject entry created trigger.

New to metaobjects? Check out our previous article, How to leverage metaobjects for your Shopify store?, to learn the basics.

Sending an internal email after a form has been submitted

Imagine you want to notify a specific internal department whenever a new form submission arrives. By default, the Shopify Forms app only sends notifications to the store’s primary email address if enabled during form setup.

However, it doesn’t support adding additional recipient email addresses (such as a sales team email). This is where the Metaobject entry created trigger in Shopify Flow can be useful.

How to set up internal notifications using Shopify Flow?

Note: If you don’t want to set it up on your own, you can download the form submission internal alert workflow here. You can easily import the worklow to your store when creating a new workflow in the Flow app.

The set up is very easy, let’s follow these steps:

  1. Start by creating a new form in the Forms app. Choose either a pop-up or inline form and add any required fields you want to collect from customers. Don’t forget to add the form to the storefront.
  2. After setting up the form, open the Shopify Flow app.
  3. Click the Create workflow button, then choose Select a trigger.
  4. Search for Metaobject, and select the Metaobject entry created trigger.

    Selecting a trigger in Shopify Flow app

  5. In the Metaobject definition dropdown menu, select your metaobject (e.g., “Product bulk order form” as in our case).

    Selecting a metaboject definition when setting up a workflow through Shopify flow app

  6. In the Metaobject entry trigger card, click Then at the bottom right.

    Adding an action to a worflow created through Shopify flow app

  7. Choose Action and search for Send internal email.

    Selecting send internal email action in Shopify flow app

  8. Enter the email address to receive notifications, along with the subject and message.
  9. You can use variables from the form, such as the customer’s email, name, and other fields specified in the metaobject.

    Levarage available variables to get data from the Shopify form

  10. Turn on your workflow and test it to ensure everything is working properly.
  11. Under the flow, there’s a Recent runs section. Any errors will be displayed here, allowing you to troubleshoot issues.

    Check recent runs if flow has been completed successfully

  12. You can adjust the email content at any time, adding more fields or additional details for the recipient.

    Form submission internal alert set up through Shopify flow

Sending a submission notification to your customers

Once customers submit a form, you’ll likely want to send them a thank-you email as confirmation of their submission. To do this, we’ll use the same flow trigger. We’ll create a separate workflow, though you could also add the Send marketing email action to the workflow we set up previously.

How to set up a form submission notification to your customers?

Setting this up is just as straightforward as the steps above. The instructions below assume you’ve already created a form.

Note: If you don’t want to set it up on your own, you can download the customer form submission email workflow here. You can easily import the worklow to your store when creating a new workflow in the Flow app.

The set up is very easy, let’s follow these steps:

  1. After setting up the form, open the Shopify Flow app.
  2. Click the Create workflow button, then choose Select a trigger.
  3. Search for Metaobject, and select the Metaobject entry created trigger.

    Selecting a trigger in Shopify Flow app

  4. In the Metaobject definition dropdown menu, select your metaobject (e.g., “Product bulk order form” as in our case).

    Selecting a metaboject definition when setting up a workflow through Shopify flow app

  5. In the Metaobject entry trigger card, click Then at the bottom right and select Condition.

    Adding a condition to a worflow created through Shopify flow app

  6. Click Add a variable -> Metaobject -> Email. Set the condition to “Not empty and exists”.

    Specify the condition for checking if email is not empty

  7. Then click the button Then in the condition card and choose Action and search for Send Marketing email.

    Select Send Marketing emails as an action in the Shopify flow app

  8. The Shopify Email app will now guide you through configuring the email. Choose a template and customize the email in the editor, as you would for a newsletter or any other email. Don’t forget to save your changes!

    Customize marketing email using Shopify email app

  9. Note: Emails will only be sent to customers who are subscribed to email marketing. By default, anyone who submits a Shopify form is automatically tagged as “subscribed,” but make sure to update the Consent Disclaimer in the form settings to meet your country’s privacy requirements.

If you wish to run both automations, here is a workflow that includes sending internal notifications as well as emails to your customers after a form has been submitted.

And that’s it! We hope these instructions help you make the most of these new triggers, streamlining your workflows and saving your valuable time!

Have a project in mind?
Get in touch
Drop us an email to

hello@ecommercepot.com

and one of us will get back to you soon.