shopifyCustomer.update action triggered twice for the same change

Hi team, I noticed that the shopifyCustomer.update action was triggered twice for the same change. In our app, whenever rankId changes, it triggers a Shopify Flow, so I’d like to prevent this duplication. However, from the logs I couldn’t figure out why it executed twice — could you help me understand?🙇‍♀️ Here are the logs: First event traceId: 8470fd5929e43acd9266407f0c5e996f Timestamp: 2025/9/18 11:40:30 (JST)
"rankId": {
"current": "3443",
"previous": "3442"
}
"rankId": {
"current": "3443",
"previous": "3442"
}
Second event traceId: 10a09e85777427c7d3186769522159ec Timestamp: 2025/9/18 11:40:36 (JST)
"rankId": {
"current": "3443",
"previous": "3442"
}
"rankId": {
"current": "3443",
"previous": "3442"
}
2 Replies
Chocci_Milk
Chocci_Milk5d ago
This seems to me like there are 2 different records that changed to have the same rankId. We wouldn't run the action twice by ourselves; it would have it be initiated somewhere Did you perhaps have a background action that failed? I see that this is part of a background action. However, I don't see an thing saying that it would have failed and reran
ayaMatsu
ayaMatsuOP4d ago
Thanks for checking this so quickly! It looks like I may have mixed up the customer IDs — sorry about that.🙇‍♀️ I did confirm that the Flow definitely ran twice, so I think it’s just the traceIds that I need to double-check. I’ll investigate again and get back to you. (Sorry I don’t have time to dig deeper right now, just wanted to send a quick update.)

Did you find this page helpful?