What is the best way to set up multiple triggers for a workflow, including interval and webhook triggers?

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

Question 2: I’ve got a series of steps that I’d like triggered via two different ways. One is an interval, say once a day. The other is more manual such as a user indicates they completed a task in another app, maybe the trigger webhook. Should I create the workflow as a webhook trigger and then simple have another workflow with a interval trigger set up the web hook? Or is there another way to connect up multiple triggers that I’m missing?

You can add multiple triggers to a workflow. Let me see if Pi can handle this.

How do I add multiple triggers to a workflow?

To add multiple triggers to a workflow, follow these steps: 1. Open the workflow in the Pipedream UI. 2. Click the top right menu in the trigger itself, and select “Add trigger”. 3. Now you can add an additional trigger to the same workflow, allowing multiple ways for the workflow to be started. Here’s a visual guide on how to do it: !Add multiple triggers to a workflow

that is accurate

Yeap, I see this now. Thank you! Not obvious, but clear once I notice it. The icon or visually representing there is two or more triggers could be a bit better. I’m happy to see I can even do this, so I won’t be picky

do you have a design pattern in mind / something you like from elsewhere?

agreed re: the discoverability too — we need to work on this across the app

One visual patter is seeing the trigger blocks across the top and all feeding into the next step, visio diagram like, if you will.

Perhaps another option, and better fitting for the current paradigm, is maybe some clear tabs at the top of the trigger block, a tab for each trigger. A + Tab button might make it clear to add a trigger. Kind of browser tab like.

:100: