Can a step be skipped in a workflow without stopping the entire process?

This topic was automatically generated from Slack. You can find the original thread here.

Hello All!

Can a step be skipped and continue running steps?

I am reading the documentation and I see a filter option but this stops the flow. I want to continue on with the next steps/not stop the workflow.

current general structure/concept

  1. Trigger when new bill is entered in QBO/get the bill data
    (Goal is to skip next step (2) and continue with step 3 if no attachable).
  2. get related attachable from qbo (If there is no attachable the flow fails here)
  3. create slack blocks with bill data (With action buttons)
  4. send slack blocks to channel
  5. Send message to thread of step 4 (uses data from step 2 but it is ok if the data exports as blank. )
  6. performs other steps in salesforce/Procore
    the above structure is working except when there is no attachment related to the bill. The flow fails at step 2 and stops the flow completely.

if I create a speerate workflow that triggers when there is no attachment it would work but The workflow is going to get larger and more complex so I would have to maintain 2 flows doing nearly the same thing?

I am using Quickbooks prebuilt steps.

Should I be doing this in a code step?

Ideally just want to skip a step and continue the flow.

Coming soon! We’re tracking this here: Support for branching (if / then) operation · Issue #216 · PipedreamHQ/pipedream · GitHub

Just to add on, you can still leverage code steps to conditionally send HTTP requests or other actions. This might be helpful: