Conditionals and Switchcases

There must be a block to add which is a if-else conditional block or switch case block. which will match last input with it and do what it have to do. Like if matches if block’s code will execute otherwise else block will execute.

Hi @anasdew

First off, welcome to the Pipedream community. Happy to have you!

Built-in actions to support branching and conditionals for logic is a highly requested feature and it’s on our roadmap. You can add a comment here and subscribe to the issue for the latest updates.

In the meantime, conditionals are only supported in code steps with languages like Node.js or Python.

You can use if statements or switch statements to conditionally export data based on the other data from your workflow using step exports.

2 Likes

I think this is an extremely important feature. And now this is also my pain point when using Pipedream. Currently I’m working on using Microsoft Power Automate. To set conditions and switch each case will send requests to each flow separately in Pipedream. However, the trade-off is a 1s delay for each trigger. It would be great if Pipedream adds this feature soon to compete with Microsoft Power Automate.