extracting dataset and group entry prompt to messages.js