// node.runAsync(...) calls prepAsync-&gt;execAsync-&gt;postAsync
// If execAsync() fails repeatedly, it calls execFallbackAsync() before postAsync().
summarizeNode.runAsync(shared).then((actionReturned) =&gt; {
  console.log(&quot;Action returned:&quot;, actionReturned);  // Usually &quot;default&quot;
  console.log(&quot;Summary stored:&quot;, shared.summary?.[&quot;test_file.txt&quot;]);
}).catch((error) =&gt; {
  console.error(&quot;Node execution error:&quot;, error);
});
</code></pre>
<h3 id="explanat