How to keep Auth0's database and our database in sync?

I’m actually curious about this as well as I’m trying to follow a similar work flow as yours.

One potential solution here can be deleting the auth0 user if creating the user in the internal database fails.

However, this would be a pain to implement for other use actions as well (for example, UPDATING a user).