How to pass views link as a variable to a node?
Have a look at the Rules Link module to generate a custom link that can trigger a rule (from the Rules module). So that via the Rules module you can then implement your logic about the "specific node and that variable" that you mentioned in your question.

Some more details about the Rules Link module (from its project page):


  This module lets you create links which trigger arbitrary functionality with the help of Rules.
  
  Features
  
  
  Attach the link to any entities.
  Show the link only for certain bundles.
  Narrow the entities on which the link will be shown using the visibility conditions.
  The links are usually displayed using Views.
  For entities that can be displayed, the links can be shown on node view.
  Supports an arbitrary number of additional Rules parameters for passing context via Views.
  3 types of links: Javascript, Normal and Confirmation form links.
  Use individual permissions for each link.