Re: Error at last step "send marketing email"

Error at last step "send marketing email"

Blackmont1
Tourist
3 0 4

Hi, just looking for some guidance on an error I keep receiving regarding my shopify flow automation regarding abandoned checkouts. It keeps getting to the last step and displaying this error which i am not sure how to interpret. Any help would be appreciated, thankyou 

 

"{"status":400,"response_body":"{\"message\":\"Flow action received with invalid properties. Customer does not accept marketing for customer id=6767858811195\"}","verb":"POST","url":"https://email.shopifyapps.com/flow/action","request_body":"{\"properties\":{\"delivery_target_id\":\"gid:\\/\\/shopify\\/Customer\\/6767858811195\",\"marketing_activity_id\":\"gid:\\/\\/shopify\\/MarketingActivity\\/153049268539\",\"abandonment_id\":\"gid:\\/\\/shopify\\/Abandonment\\/468455948603\"},\"shopify_domain\":\"tig-tickets.myshopify.com\",\"action_definition_id\":\"Shopify Email Automation Flow Action\",\"shop_id\":-1,\"action_run_id\":\"43cd65fcaf54732372665c8d558b56ac8b15a41f\"}"}"

Replies 50 (50)

Morin0094
Tourist
8 0 1

Same problem here. Did you found something yet? 

Morin0094
Tourist
8 0 1

Seems like the cusotmer need to subscribe to the marketing email when checkout to be able to receive it. Which sucks.

paul_n
Shopify Staff
1342 151 311

Yes, the customers must be opted in to marketing emails for that message to send. The check for whether they have opted in is included in the templates provided for abandonment automations, so if you want to avoid the error, you can add the check back in. 

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.
Morin0094
Tourist
8 0 1

So there's no way at all to send a payment reminder email if the customer didn't check the box to receive email from marketing?

paul_n
Shopify Staff
1342 151 311

Payment reminder is not a marketing email. There is a Send Payment Reminder action in Flow

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.
Blackmont1
Tourist
3 0 4

Is there a way to send the email even if they are not opted in? Otherwise it sort of defeats the purpose of abandoned cart email as most who have abandoned carts will not have opted in.

Blackmont1
Tourist
3 0 4

Hang on Morin, I am trying to find a workaround and think I've got it. I'll check back in tomorrow with more details

Edit:nvm no luck 

Morin0094
Tourist
8 0 1

Thanks for trying tho ^^ 

 

But yes, 99% of people won't subscribe so it's a bummer. But I guess it has to be compilant with all the laws and stuff

ZaheedaT
Excursionist
41 2 5

Please read my solution. It's not really about the customer subscribing, cause of course you have some that are subscribed. The issue is the automated email not sending to those who are subscribed. I fixed my errors

TJ_F
Shopify Staff
22 0 12

For Abandoned Checkout, you are able to change the settings in the email editor through the step in the marketing automation workflow (click on the Send marketing email action, then click View email, and Edit the To: line).

 

For the other emails, including Abandoned Cart (different then checkout), these are considered marketing emails, and therefore require marketing consent for privacy/legal reasons.

To learn more visit the Shopify Help Center or the Community Blog.

Morin0094
Tourist
8 0 1

Oh well! Thanks for the tip! Also, is it me or I can't find the Send a cart recovery email button from the Orders / Abandoned checkouts / #xxxxxxxx page?

TJ_F
Shopify Staff
22 0 12

If you are using the new Abandoned Checkout Marketing Automation, the way to send the email manually has changed.  See here for more information.

To learn more visit the Shopify Help Center or the Community Blog.

robraijmakers
Tourist
4 0 2

Unfortunately this is locked with an emoji behind the sender. "Shopify only sends emails to customers who are signed up for marketing emails"

jeroenberg
Shopify Partner
5 0 4

Same here. Which is strange because as far as i know Abandoned Checkout emails are not considered Marketing Emails but Transactional Emails (at least in Europe under GDPR/ePrivacy Directive). So it should be absolutely fine to send them.

I am guessing this is also why it was possible in the old way (Settings > Notifications) before this function was move to Marketing > Automations.

@TJ_F @paul_n Is there no way around this as it is hurting businesses now? Or am I missing something in my reasoning?

TJ_F
Shopify Staff
22 0 12

For Abandoned Checkout, you can change this setting, as I mentioned in my reply above.

 

For Abandoned Checkout, you are able to change the settings in the email editor through the step in the marketing automation workflow (click on the Send marketing email action, then click View email, and Edit the To: line).

 

For the other emails, including Abandoned Cart (different then checkout), these are considered marketing emails, and therefore require marketing consent for privacy/legal reasons.

 

Is this not working for you?

To learn more visit the Shopify Help Center or the Community Blog.

jeroenberg
Shopify Partner
5 0 4

Hi @TJ_F 

 

As Robraijmakers mentions above (and I reply to with "Same here"):

 

Unfortunately this is locked with an emoji behind the sender. "Shopify only sends emails to customers who are signed up for marketing emails"

 

See screenshot attached. How do we change this?

 

Screenshot 2023-06-13 at 06.26.58.png

 

 

 

 

 

TJ_F
Shopify Staff
22 0 12

Did you click Edit from the top right?

To learn more visit the Shopify Help Center or the Community Blog.

jeroenberg
Shopify Partner
5 0 4

😱😱😱😱

I was expecting to be able to change it in the page where you also edit the content. Guess I wasn't looking good enough. Thanks!

TJ_F
Shopify Staff
22 0 12

No problem, let me know if you still have issues.

To learn more visit the Shopify Help Center or the Community Blog.

robraijmakers
Tourist
4 0 2

Knipsel.JPGBut at the line To: its still displays a lock when in Edit mode... hopify only sends emails to customers who are signed up for marketing emails

 

Check screenshot

TJ_F
Shopify Staff
22 0 12

Your screenshot shows an Abandoned Cart template.  This only works for the Abandoned Checkout template.

 

Abandoned Cart is not the same as Abandoned Checkout...Cart is what is created before a customer gets to the Checkout, and requires marketing consent to send.

To learn more visit the Shopify Help Center or the Community Blog.

robraijmakers
Tourist
4 0 2

My bad.. read all over this 20 times and couldn't figure it out. Hahah sometimes the easiest mistakes are the hardest to find.

TJ_F
Shopify Staff
22 0 12

It is definitely a bit confusing!  Let me know if you have any issues, but hopefully you can get it working the way you need.

To learn more visit the Shopify Help Center or the Community Blog.

robraijmakers
Tourist
4 0 2

Actually, almost got an instant sale for the abandoned checkout after I switched it to all customers, thanks. The abandoned cart email wouldnt be send without opting in to marketing ofcourse, I mixed them up.

cozmetica
Visitor
1 0 0

I can't change the To:Line in the abandoned checkout. It is locked out

TJ_F
Shopify Staff
22 0 12

In order to unlock the setting, you need to click the Edit button in the top right of the screen.

TJ_F_0-1706024678893.png

 

Once you've done that, the To: line should unlock, and you can change the selection.

TJ_F_1-1706024747940.png

 

To learn more visit the Shopify Help Center or the Community Blog.

Ali_77
Visitor
1 0 0

Hi 

I have changed the to: line in email but it still shows an error and no email has been sent to the customer either (i checked in the customers tab). Is it possible to re run the automation to send the email or i have to do it manually. 1.PNG2.PNG3.PNG

paul_n
Shopify Staff
1342 151 311

You can't rerun this one yet. It's also possible this failed because the customer was not subscribed to marketing.

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.
TJ_F
Shopify Staff
22 0 12

Are you able to see what the actual error is?

To learn more visit the Shopify Help Center or the Community Blog.

cosan17
Visitor
2 0 0

Thank you so much for this reply...I've been looking for hours for a solution and there it was....hidden in the email "to:" field. Suggestion for your team: make these emails by default to all customers

 

Thanks!

PixiePawsPets
Excursionist
23 0 0

I am using Email and it states on the "to: line" is locked to email subscribers only. Ironically my best friend is a email subscriber and it wouldn't email to her either. why?

mapsia
Shopify Partner
6 0 1

This is because of the "new" way requiring consent to sending marketing emails.

The "legacy" way didn't use to require this.

I think Shopify is just playing it safe with this one whilst we are losing potential sales. 😔

TJ_F
Shopify Staff
22 0 12

For abandoned checkout specifically, nothing has changed between the new automation, and the "legacy" ones in terms of this setting, it's just done from different places now. 

 

In both cases you have the option of sending to all customers, or only those subscribed.

To learn more visit the Shopify Help Center or the Community Blog.

mapsia
Shopify Partner
6 0 1

Thank you for the insight, however I'm saying what I've noticed.

Never had the old abandoned checkout erroring on me with this error.

mapsia_0-1694793013562.png

So obviously something has changed.

TJ_F
Shopify Staff
22 0 12

If this is still happening, I'd really love to help get it fixed for you.

Were you able to change the setting, and you're still seeing this?

To learn more visit the Shopify Help Center or the Community Blog.

mapsia
Shopify Partner
6 0 1

Hey TJ, I'm still seeing this.

 

I had a poke in the email app, notification settings , etc but didn't see anything that would fix it. What I ended up doing this morning is to default new customers to also be subscribers, which might be dodgy but I would have hoped is a workaround to this issue.

 

We have to manually send the abandonment emails at the moment which is pretty frustrating.

 

However, this only appeared since we're using the new automation and for people that haven't subscribed to the newsletter.

 

With the legacy way, it'd just work regardless the subscription setting.

TJ_F
Shopify Staff
22 0 12

Would you be able to provide a screenshot of the workflow, and the email setup in the Send marketing email action step?

 

You can also privately message me if that's easier.

To learn more visit the Shopify Help Center or the Community Blog.

mapsia
Shopify Partner
6 0 1

Here's the workflow, tried to move the blocks around so that they fit in the screen... 😅

 

mapsia_0-1694855439834.png

 

And this is the email setup...

 

mapsia_1-1694855725864.png

 

 

TJ_F
Shopify Staff
22 0 12

Thanks for sending this. 

 

So in the email editor (if you were to click Edit email) from your second screenshot), if you then click Edit, do you see the option to change the To: line to All customers?

 

TJ_F_0-1695044898260.png

Doing this tells Shopify Email to send to customers even if they're not subscribed.  This feature, as noted, is only available for Abandoned Checkout.

To learn more visit the Shopify Help Center or the Community Blog.

mapsia
Shopify Partner
6 0 1

😮

 

This is it! (hopefully)

 

Thank you so much for tracking this down for me 🙏

JoeZ1
Visitor
2 0 0

My email editor does not give me this option, is there another way to change it?

 

JoeZ1_0-1695298945130.png

 

 

TJ_F
Shopify Staff
22 0 12

This option is only available for the abandoned checkout automation.

To learn more visit the Shopify Help Center or the Community Blog.

JoeZ1
Visitor
2 0 0

I understand that, that is what this templet started as, I may have found a fix but I am not sure yet. time will tell. I will edit if it is fixed. 

Taniya1
Tourist
12 0 2

I am getting the same error also the manual sent option which was displayed before on abandoned checkout page is gone now 

 

Taniya1
Tourist
12 0 2

is there any way to fix it 

mapsia
Shopify Partner
6 0 1
TJ_F
Shopify Staff
22 0 12

You can still send an email manually, it's just done differently now.

 

See here for more info.

To learn more visit the Shopify Help Center or the Community Blog.

ZaheedaT
Excursionist
41 2 5

I have found the solution. 

 

After clicking around I saw what caused this is the Email Template (Design) not being SAVED or having Errors like a Product previously chosen is no longer active.

 

Here is how it looked on my page , click on the Email Template/Design, open it , click edit, edit the email and make sure all the sections of the email are active and have no errors - then save

ZaheedaT_1-1704723733999.png

After that, just go back and you'll see there will be no more errors

 

 

CarmineT
Shopify Partner
88 2 28

subscribed.jpgI wondering then what is the purpose of this checkbox if I am getting same error even the customer decided to receive communications.

 

Then if this checkbox is completely useless, how one can ask a customer when leaving the email to opt-in.

 

This would vanish any marketing emails.

 

The funny thing is this does not happens if the Type of abandoned is BROWSE with same exact workflow except

 

that check.

To me seems an issue in new Abandoned check