Unique Shopify Flow for each Shopify Form?

Evening folks!

I have created Shopify Forms formA & formB. I created flowA and connected it to formA at the bottom of formA’s UI. I created a flowB and tried connecting it to formB in the same manner but noticed flowA was already selected by default on formB and the UI offered no way to change this.

After about 4 hours on chat, the rep and I discovered that there was no way to have different forms triggering their own unique workflow. The only way is to apparently share the same workflow (flowA) and branch from that based on the tags each form adds to the customer object. Fair enough. We tried that.

formA tag = “vip”

formB tag = “halloween_giveaway”

My workflow (flowA) in screenshot below:

I tried triggering the above with “Customer tags added” & “Customer subscribed to email marketing” but both fail in the same way. Whether I submit formA or B 1st, I do get an email to confirm subscription via double-opt in. This works well. But after confirming, the workflow stops there and doesn’t send the remaining emails for the form that triggered the double opt-in. After confirming the double opt-in, all subsequent form submissions do send the remaining emails as expected. Seems a “wait on double opt-in confirmation” condition is needed but I couldn’t find one.

Based on above, what stupidity am I committing? ?

Thank you kindly for your expertise!

Rene

1 Like

Oh, and I can confirm that the customer is indeed added and tags updated successfully with each new form submission.

formA & formB tags (vip & halloween_giveaway) can be seen in screenshot below:

I think the subscribed to email marketing trigger is the one you’ll want to use. Can you post the logs from the flow run for that?

Thanks for letting me know about the logs Kalen! Don’t know where those are but I’ll go look for them now …

I did try “subscribed to email marketing” as well with similar results.

I switched back to using the “subscribed to email marketing” trigger per your suggestion, Kalen:

I deleted the test customer and resubmitted formB (Halloween Giveaway).

formB successfully triggered the workflow (logs below)

Then I submitted formA (VIP) which did not trigger the workflow or create logs.

That’s why I switched to “Customer tags added” earlier instead of “Customer subscribed to email marketing”.

It seems that once “Customer subscribed to email marketing” is triggered the 1st time, it doesn’t re-trigger from other form submissions. These other form submissions do correctly add the new customer tags though.

I need to be able to send different marketing emails based on the specific form submitted (each adds it’s own unique tag to the customer object).

The “VIP” form successfully sends a “welcome to the VIP club sequence” of 3 onboarding emails if this form is submitted 1st. The “Halloween Giveaway” form successfully sends a single “Thanks for entering the contest” email if this form is submitted 1st. Whichever form gets submitted 2nd though (VIP or “Halloween Giveaway”) fails to send any emails or even trigger the workflow at all (no log generated). I feel sooo close but missing something goofy.

Any idea what might be amiss?

Hi Kalen,

I found this thread by haweiko that clearly articulates the same problem I’m having:

https://community.shopify.com/c/shopify-flow-app/send-email-to-existing-subscriber-when-they-subscribe-again-via/m-p/2336749#M2835

In that thread, Paul_n (Shopify Staff) suggests “I think what you need is a form submitted trigger and not Customer subscribed to email marketing.”

This is exactly what’s needed but Shopify Forms is not as integrated with Shopify Flow as advertised since this is missing.

I have found a terrible hack and provide it below for anyone who can benefit. I also hope Shopify takes note and fixes the missing Forms integration because my hack is sure to get costly to maintain over time. I currently have only 2 landing page forms but will be creating upwards of 30 this year. Please imagine this as you consider my hack.

To keep things straight in my own head (since I’ll need to remember how to update these workflows every time I add a new landing page form) I created and named my 2 workflows:

  1. FIRST TIME Subscribers
  2. RETURNING Subscribers

#1 is triggered by “Customer subscribed to email marketing”.

#2 is triggered by “Customer tags added”

We need to create these 2 workflows since Shopify Forms provides no form submitted trigger . This missing integration prevents us from knowing if a form-submitting user is FIRST TIME or RETURNING. Without that knowledge, we’re forced to check each submission in both of these workflows.

The biggest problem with this hack is duplication. Both workflows work superbly so far, but require me to duplicate each landing page form’s logic (except VIP) in both workflows. The screen will get really cluttered after adding just 1 more landing page form. It’ll get worse when I have to add new emails to the landing page logic in 2 different workflows. It gets even worse when Shopify requires me to create new emails for each workflow instead of allowing me to reuse the existing one (haven’t found a way to point from flow2 to flow1–>existing_email).

And then there’s the issue of duplicate email entries like below which further clutter and make it harder to maintain a single authoritative version of the truth (see Halloween Giveaway)

Ideally, the solution presented earlier by Shopify Staff, Paul_n …

“I think what you need is a form submitted trigger and not Customer subscribed to email marketing.”

https://community.shopify.com/c/shopify-flow-app/send-email-to-existing-subscriber-when-they-subscribe-again-via/m-p/2336749#M2835

… is the most logical and sorely needed. Honestly, I was expecting it to be available when I first started down this path and was shocked that it was not.

Am I missing or misunderstanding something here?

Please advise brother :smiling_face_with_sunglasses:

R

1 Like

Ah I see what you mean. I’d imagine there are 3rd party forms apps with better flow integration. Maybe helium has it.

1 Like

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

1 Like

:clap: Top tier effort.

Is the first fow blasting first time subscribers with two emails on purpose, or shouldn’t it have the 2nd email as the default/fallback for a single email if the first email ISN"T sent.

:wind_face: :dashing_away: Spitball, without getting into the deeper context of this use-case,

This just seems what the schedule trigger is meant for instead of trying to directly sequence everything that isn’t built to be sequenced.

“RETURNING Subscribers” is ambiguous , at it’s crudest that’s only after an unsubscription which is different than subscribing to a different campaign/sub-campaign. resubscription could just be a check for a tag such as “unsubscribed_YYYY-MM-DD” or similar that is kicked from from a different process working on a change such as a customer/contact going from opt-in to opt-out, or checking an archive registry for deleted emails/accounts; except in the case of GDPR etc.