Get node form inside preprocess_views_view_fields()
You can get nid (node id) from $vars as like following:

$vars['row']-&gt;nid


You can also check the $vars to view the structure of the object as like following:

dpm($vars);


To use dpm(); you have to install devel module.