Continuing workflow to next step after receiving a signal

I have a 3 step workflow

  1. Step 1: Make API call to external system
  2. Step 2: Wait for a webhook callback from external system
  3. Step 3: use data from webhook callback to do addtional work and exit the workflow.

For step 2, I can register a signal handler, which is triggered by our my webhook receiver.
In the signal handler, how do I transition to the next step in the workflow?

It depends on the SDK you are using. In Java you would call await:

step1();
Workflow.await(()->webhookResult != null);
step3();

where webhookResult1 is assigned by a signal handler.