Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Send an email to customer when we mark an order at Return In Progress

Send an email to customer when we mark an order at Return In Progress

ChelseaColgan
New Member
9 0 0

Hi! 

 

I've been struggling for a while to come up with a solution for this: we want to automatically send an email to customers once we process their return (refund is then done later, separately). I've tried creating multiple flows from scratch but there doesn't seem to be a trigger for when a return is created. 

 

We send emails via Klaviyo too so we're happy to try any solutions using it! 

 

This is the best I could come up, but it obviously doesn't work (as the only trigger is when the order is created, not the return). The aim was to then create a flow on Klaviyo that would send the customer an email once the order is tagged. 

 

Screenshot 2023-06-08 at 16.02.49.png

Replies 6 (6)

paul_n
Shopify Staff
1433 157 332

There isn't a return trigger yet, but we definitely see the need for it. 

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.
ChelseaColgan
New Member
9 0 0

Yeah, it's definitely needed!

Digico
Shopify Partner
47 1 5

If the event is sent to Shipstation, Sendcloud, or some app they for sure have an API you can tap into.

Try to figure it out, now Flow can make "Send to HTTP request" so it's quite easy to connect the dots.

Your event in Flow > Send HTTP request = API > then answer. Shopify can handle all that logic.

Digico
Shopify Partner
47 1 5

At worst you can create your webhook handler.

paul_n
Shopify Staff
1433 157 332

Looking at webhooks, there are now 6 possible triggers based on returns:

  1. Return requested (via customer portal if enabled)
  2. Return approved
  3. Return declined
  4. Return cancelled
  5. Return closed
  6. Return reopened

 

Would any of these events work for your use case(s)? 

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.
paul_n
Shopify Staff
1433 157 332

FYI, these triggers were all released today

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.