I have API Workflows which is triggered from pages throughout my app, and not all actions are being executed consistently, sometimes it does, and sometimes it doesn’t.
Its usually a “Make changes to a thing” actions that has this issue.
We’ve found these to work consistently in our app – and we’re usually quite diligent about testing / validating things work consistently many times in a row. Sometimes they’re delayed a bit if our server is being hit hard by other traffic though.
They can be hard to debug too, since you can’t walk through them with the debugger. Perhaps try adding the same logic to a workflow and trigger it on the page and then use the debugger to see what’s going on.