To start, I would suggest you go through some of the documents here:
https://help.mypurecloud.com/articles/about-genesys-digital-bot-flows/. Great information to get you started. In a nutshell, you have two tasks:
1. Collect In
You will need two slots - one that accepts anything and another to accept the phone number. Use regex type to allow input. Then use Ask for Slot in your bot flow.
2. Write to Table
Once you have input, you use a Data Action to the Genesys Cloud API to update your Data Table. There is no way to directly do that in the bot or Architect at this time. There are several discussion on the Community to show you how to do that.
That is pretty much it.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
https://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------