How do you make a webhook to get elementor form entry data and use it to modify the dowload URL of a file in woocommerce?

I am a beginner so hopefully someone can help me. I want to edit the download URL of a product based on any specific field in the form entry of elementor pro.

I used the filter code below to set up the change in the URL, but I don’t know how to get any data that was filled in the form in the function ([ELEMENTOR FORM FIELD]).

function filter_function_name_3287( $  file_path, $  that, $  download_id ){     $  file_path = '/wp-content/uploads/elementor/pdf/' . '[ELEMENTOR FORM FIELD]' . '.pdf';     return $  file_path;     } 

If it’s not possible to link it to the form, could I use the current user ID or name? and how?