Does V2 support skipping to a particular step? It seems there is an example in V1 from ~3 years ago
The use case is that we search for a particular Google Sheet, if it does not exist, we want to move to the next step and create it, but it if does exist, we want to skip that step and jump to the one after it
e.g.
Search for Google Sheet
Create Google Sheet
Add Row
If a Sheet is found in Step 1, we want to skip to Step 3.
Unfortunately Pipedream workflow v2 is not able to skip/retry a specific step for now. Though Pipedream team is actively working on it and will annound it on Slack/email when the feature landed.
As a workaround for now, you can use Node.js/Python code step that having branching logic. For example, if result from step A exists, then execute some actions
Just to loop back on my question, using Node.js, we used a combination of $end and a webhook (to send to another workflow) to solve the branching. But it’s messy and not maintainable. The ability to push to other workflows and/or skip steps is a must-have.