I’m working on an mvp for a money transfer app. I have built the logic for sending money from the app(So basically you enter the recipient’s email address in an input field and the amount you want to send.) Once they hit send I run a workflow that creates a transaction in the database. The transaction database keeps record of the sender(current user), recipient email (text) and the amount sent(number). The next thing I do is to “make a change to a thing (current User)” where I update the current user account balance.
account_balance = account_balance - amount_sent
What I can’t figure out here is how to update the recipient’s account balance in the database with how much was sent. Please I need help here. If there is a better way of doing this please sahre as well. I am open to hear your suggestions please.