i Don’t think Database matters in this case.
Either you use Airtable or Firebase.
You will most probably call the Data and First Store them in a Variable /List.
Then Ultimately that Variable /List will be used for further operations.
Check this Topic, going to be Very Useful for you -