How do I create a menu item when a node is submitted?
Try using the menu_link_save function.

&lt;?php
$item = array(
  'link_path' =&gt; 'node/' . $node-&gt;nid,
  'link_title' =&gt; $node-&gt;title,
);
menu_link_save($item);
?&gt;