When a new Gorgias ticket mentions a refund, adds the customer's latest Shopify order to it as an internal note.
Uses
GorgiasShopify
Add Shopify order details to Gorgias refund tickets
A refund request is quicker to answer when the order is already in front of the agent. When a new Gorgias ticket mentions a refund, this looks up the customer's most recent Shopify order.
It adds an internal note with the order number, the total and whether it has shipped. If there is no order under that email address, the note says so.
ticket.When a new ticket arrives. Save it as ticket.recent_orders.Shopifyrecent_orders.count is greater than 0Yes
order_note.
Ticket ID: ticketMost recent Shopify order for ticket.customer_email
Order number: recent_orders.orders[0].name
Total: recent_orders.orders[0].total_display
Shipping: recent_orders.orders[0].shipping_statusGorgiasNo
no_order_note.
Ticket ID: ticketNo Shopify order was found for ticket.customer_emailGorgias