Re: Create a Flow to Trigger an Email Send on Shopify Forms Successful Submit

Create a Flow to Trigger an Email Send on Shopify Forms Successful Submit

LB2022
Excursionist
25 1 5

Hi - I have a landing page that includes a Shopify Forms form (https://apps.shopify.com/shopify-forms).

 

I've installed Flow and now want to set up a flow that sends an email to the email address inputted into the Shopify Forms form when the form submit is successful.

 

I'm looking at triggers and Shopify Forms doesn't show up as something I can choose as a trigger. It's not listed under "Shopify" or under available apps. 

 

Admitting I made an assumption that Shopify Flow and Shopify Forms would just simply work together out of the box. Shouldn't have done that..... 

 

But is there a way to create this straightforward flow?

 

Thanks for any help. 

Replies 21 (21)

ReemShopify
Shopify Staff (Retired)
1 0 0

Form submit is not available as a trigger in Flow at the moment but we will take this feedback to the team for review.

LB2022
Excursionist
25 1 5

For anyone who is trying to set up an automatic email send once someone submits your  Shopify Form, I've learned that you can do this.

 

At the bottom of the set-up page for your Shopify Form there is a section labeled "Automations and workflows". Click on "Manage" and you land on a page where you can set up the email send. Pretty straightforward to do.

 

 LB2022_0-1697124952435.png

 

dappernotes
Tourist
8 0 10

This works for general form submissions, but you can't tie it easily to a specific form.

mshamberg
Visitor
1 0 2

This is not the solution. You can't trigger a notification to send to a specific email off a specific form.

Brendan-Zuza
Shopify Partner
10 0 3

Hi there, in case anyone else is looking for the solution. You should send an email based on a tag that get's added (when the form is submitted). 

Once you have triggered the email based on this tag. 

 

If you would like the form to be looped/ repeated if a user submits the form again. You should:

Create another action which removes the tag. 

Meaning if they submit the form again they get the email again.

Brendan
onlinegrowthgroup.com.au
Midsummer
Visitor
1 0 0

Good idea, I first thought the same, but it's not a viable solution. You unfortunately cannot select a specific tag in the triggers, only "tag is added", meaning all tags. So, this automation started sending out "first purchase discounts" to clients who had just made a purchase in my case. 

 

This seems like such a standard option to include, I don't understand why this functionality originally existed but then got removed if I read the comments above correctly. 

mikeschwede
Shopify Partner
23 0 15

Any news? It's so standard that an email is send to someone who filled a forms. Pretty weird this trigger wasn't published from the beginning.

paul_n
Shopify Staff
1509 164 353

Work is being done, yes. Not sure of timeline yet. It may seem trivial, but forms require a new type of event because each form can potentially be custom per shop. And you might only want to subscribe to events from a single form. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
lili_tz
Visitor
2 0 0

Any luck now? Do you know the timeline for this feature?

Thanks!

paul_n
Shopify Staff
1509 164 353

Still working through timing and waiting for dependencies to be completed. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
md24
Shopify Partner
5 0 0

I too would be interested in this trigger. I might have to use Klaviyo forms or another solution in the meantime.

JWard50
Visitor
3 0 2

Hi is there any update on this, would love this functionality

md24
Shopify Partner
5 0 0

Yes I got it to work. I am not the store owner and I needed the information.

 

1. You need a trigger

2. Check If events_item.appTitle Equal to Forms

3. Action Send internal email 

In this I refer to the submission 

https://{{shop.myshopifyDomain}}/admin/companies?selectedView=orderingNotApproved&orderStatus=%20AND%20active_customers_count%3A0

 

Then I include some info from the form like
{{companyLocation.company.mainContact.customer.email}} 

 

RPiii
Shopify Staff
117 20 36

We recently released a Metaobject entry created trigger that should make it easier to trigger workflows based on form submissions. 

mikeschwede
Shopify Partner
23 0 15

Oh that's amazing. Thank you!!

crunchycactus
Shopify Partner
2 0 1

This is exactly what I needed, and this thread is the only place I managed to find it. I feel like a "Form Submitted" trigger even just as an alias that comes from the Forms app would make this far more clear. Either way thanks for the solution!

ri31
Shopify Partner
19 1 3

I need to get the URL that a form was submitted on. Looks like this can be done using the {% form %} tag, but not the Forms app. Can a form built using the {% form %} tag create a new metaobject entry?

 

In general, it doesn't seem like the Forms app has the ability to handle hidden fields or pass their values, if they did exist, to the default metaobject entries for each response.

If my post is helpful, hit Like to help others find a solution.
paul_n
Shopify Staff
1509 164 353

I don't think this is possible with Shopify Forms right now

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
ri31
Shopify Partner
19 1 3

Hey Paul! I would like to suggest that as a feature, then. If not the full hidden fields, then at least the "URL submitted on" feature.

 

Example 1: Contact form "ask a question" on a product page. Know which product a customer is asking about. Having a dropdown "select from one of the following 789 products" -- not reasonable. "Input the product URL here" -- seems very unprofessional, bad UI. Different form per product -- Not possible.

 

Example 2: Contact form on a store location page template. Say the business has multiple locations and has a Template that is being used for each store location. To know which location the customer is contacting, without an unnecessary dropdown to select the store (it is bad UI in forms to ask customers info that you should already know), the business would need to make a separate Template and a separate Form for each store. Not good.

 

Hope that makes sense!

If my post is helpful, hit Like to help others find a solution.
md24
Shopify Partner
5 0 0
I believe you could create a javascript function using something like:

_onVariantChanged(event) {
this.variant = event.detail.variant;
this.dataset.variantJson = JSON.stringify(event.detail.variant);
this.dataset.productVariant = this.variant.title;
this.dataset.variantSku = this.variant.sku;
}
ri31
Shopify Partner
19 1 3

Where would you put that code?

 

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?

If my post is helpful, hit Like to help others find a solution.