Can I update the user field automatically via API or otherwise?

Yes you can use the API for that. Check How to reverse engineer the Discourse API for details.

2 Likes