To register the user information of a social login to the MySQL DB connected to Customdatabase

How can I register the user information of a social login to a MySQL DB with a customdatabase connection?
I understand that this can be implemented with Fllows in Actions.
What kind of code do I need to write?