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
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