Connect Hub Trigger
Trigger NodeStart a workflow when something happens in one of your apps: a new email, a new form answer, a new message.
When to use it
Use it when a workflow should run because something happened, not at a set time: a form answer arrives in Typeform, Tally or Jotform, a message is posted in Slack, a new email or a new file arrives. A Schedule Trigger would have to check again and again; this trigger runs the workflow once for each new event, straight away.
Set it up
- In Visual Studio, open the Node Library's Apps tab, find the app and drag one of its triggers (an event, such as a new form answer) onto the canvas as the first step.
- In the step's settings, connect your account for that app and fill in its options.
- Add the steps that should run, save the workflow and switch it from Inactive to Active. The trigger is set up with the app then. If that fails, the workflow goes back to Inactive and says why.
- Each event starts one run. The event's data is the trigger's output, so the next steps can use it (see Variables).
Switch the workflow to Inactive to stop it. Events that arrive while it is off never start it later.
What it costs and its limits
- It needs a paid plan that includes Connect Hub.
- Each event the app sends counts as one Connect Hub action, even if your workflow then ignores it (1.8 credits), plus the run itself (0.07 credits) and whatever its steps use, all from your credits. See What things cost.
- Up to 60 events an hour and 500 a day start a trigger's workflow; the same event delivered twice runs, and costs, once.
If you can no longer pay for it
If your plan no longer includes Connect Hub, your credits run out or your account is paused, the trigger is removed and the workflow is switched off, so it can't run up charges. You get one notice in the bell and an email (Workflow switched off: …). Add credits or change your plan, then open the workflow in Visual Studio and switch it to Active again.