Toolbox Plugin - Need help on extracting from JS to store in Bubble DB

hi @mishav

I have an HTML element that is running code to display a map with routes. The start/End locations are selected by the user in bubble whereas waypoints are selected within options thrown by the HTML element. The user can try various combinations of waypoints to finally arrive at the one that suits him.

What I am trying to achieve is a way to be able to store in Bubble DB, the final waypoints that the user has selected and wants to save. I downloaded the Toolbox plugin since it enables extracting information from javascript and saving to Bubble DB. But I am not sure what Javascript to run in the workflow and how to extract the waypoints selected by the user.

Here is a link to the editor.
Any help would be greatly appreciated. Looking for some inputs from you as I have no coding experience and my project is stuck.