As the title suggests, I would like to know what is the correct hook for retrieving datas after a submission. The goal is to do a task based on the value of a data. Any help would be appreciated.
You can leverage webform_get_submissions to retrieve this data.
I also believe this question has been answered earlier with example. Refer