de>: Expense is approved, move to payment processing.</li>
<li><code>"needs_revision"</code>: Expense needs changes, send back for revision.</li>
<li><code>"rejected"</code>: Expense is denied, finish the process.</li>
</ul>
<p>We can wire them like this:</p>
<pre><code class="language-typescript">import { BaseNode, Flow, DEFAULT_ACTION } from &quot;../src/pocket&quot;;

// Define ReviewExpenseNode
class ReviewExpenseNode extends BaseNode {
  public async prepAsync(sharedState: any): Promise&lt;void&gt; {
 