Connect two Arduino Yuns over wifi?

Hi guys!

I'm currently in the middle of a project involving connecting two Arduino Yun boards with a smartphone. The current premise is that one Yun has to send a message to another Yun and a smartphone.

I'm going to use Temboo to send a text to a smartphone upon a signal reaching the original Yun. However, is there a way of using Temboo to interface with the other Yun? I only need to trigger a function on the 2nd Yun, nothing special or anything.

I don't want you guys to do this for me, just point me in the right direction if possible!

Thanks
Ben

Shameless bump :L