Create new slots, form & trigger the new form based on an extracted entity from an intent

I want to create a model in such a way that once an entity category is detected from an intent, then a custom action calls an api and fetches the “category” object from the database. The form and slots are to be created based on the ‘keys’ present inside the “category” object & then the newly created form is triggered in the same conversation. How can this be implemented?

example of a category object:

computer:{ processor: value, ram: value, storage: value }

Then from the above object the new slots will be: processor, ram and storage

The new form will be computer_form having the required slots being the ones above

Then the form is to be triggered in the same conversation with the user