DEV Community

mybusinessphonesystem
mybusinessphonesystem

Posted on

Store gathered data to be used in a later function

On an incoming call I have a function that prompts a user to provide a contact name. If a name is given I have a callback that confirms the name given in the previous step. I now want to lookup this contact in my db but that data is now gone. How can I temporarily store the contact name for use after the confirmation step.

Top comments (0)