Complex dispensing tasks are challenging to automate, since the variability is high, and an adaptive behavior is required. We propose to develop a smart tool to extract the strategies of expert operators and translate them into a robotic controller.