Timer Triggers
  • 30 Sep 2022
  • 4 Minutes to read
  • Contributors

Timer Triggers

Article summary

How to create a trigger that fires at a fixed time Interval to do things like, update a dashboard, or check a device value.


Time-based Triggers are useful when there is a need to repeat an action within a step at regular intervals of time.

A time-based trigger is a Step level Triggers, which means that they can only be accessed on triggers associated with a Step (and not a button).  Time based triggers increment a counter at regular intervals or Trigger an IoT device such as a pick-to-light which lights different bins over time within a step.

How to Make Timer Triggers

The following guide will help you create a time-based trigger on Tulip:

1- Ensure that you are on the desired Step where you want to add the Trigger.

2- Add the trigger by clicking on the plus icon next to Triggers in the Context Pane.

3- Name the trigger by filling out the title at the top of the Trigger Editor that opens.

Set the Event:

  • Select timer fires in the drop-down menu
  • Select the time interval at which an action is to be triggered in the second drop-down menu. Eg. every 30 seconds.

Set an Action:

  • Click the "Add New Action" button on the right side of the window in the Then section.
  • Select the desired action you want to execute.  In this example, the aim to create a counter that increments by 5 every second.  So, select Data Manipulation in the drop-down menu.
  • Select "Increment Value" in the second drop-down menu
  • Select "counter" in the following drop-down, which is the variable you will be modifying
  • Select "Static Value", integer and 5 in the drop-down menus associated with "by"
  • "Save" the Trigger once you are done

In order to view the value of the Variable that is being changed in this example, add the variable counter to the Step as shown and run the app in the Tulip Player.

If you have any questions about the role of Variables in your Tulip app, we recommend checking out, "What are Variables and How to Use Them".

Did you find what you were looking for?

You can also head to community.tulip.co to post your question or see if others have faced a similar question!

Was this article helpful?