About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when a user enters a room, leaves a room or leaves a site.
- API endpoint slug
- intellithings.entered_the_room
Trigger fields
Site Dropdown list
- Label
- Which site?
- Helper text
- Choose the site from which location events will be used for this applet.
- Slug
- site
- Required
- true
- Can have default value
- false
Room name Text input > Other
- Label
- Which room?
- Helper text
- Enter a room name if you would like to filter location events from a single room or leave empty for all rooms.
- Slug
- room_name
- Required
- true
- Can have default value
- true
Event name Dropdown list
- Label
- Which location event?
- Helper text
- Choose the location event that triggers the applet.
- Slug
- event_name
- Required
- true
- Can have default value
- true
Ingredients
Hardware deviceThe identifier of the user device that triggered the event.
- Slug
- hardware_device
- Filter code
- Intellithings.enteredTheRoom.HardwareDevice
- Type
- String
- Example
- 8F5016DFBD6179B45386C6E2E9FC312A
Last in roomIndicates if the user that left a room was the last person in the room.
- Slug
- last_in_room
- Filter code
- Intellithings.enteredTheRoom.LastInRoom
- Type
- String
- Example
- 1 or 0
User nameThe name of the user that triggered the location event
- Slug
- user_name
- Filter code
- Intellithings.enteredTheRoom.UserName
- Type
- String
- Example
- Joe
Event nameThe name of the event that occurred
- Slug
- event_name
- Filter code
- Intellithings.enteredTheRoom.EventName
- Type
- String
- Example
- RoomEntry, RoomLeave, Lost
Room nameThe name of the room where the event occurred
- Slug
- room_name
- Filter code
- Intellithings.enteredTheRoom.RoomName
- Type
- String
- Example
- Office, Living Room, Dan's Bedroom
Room IDThe id of the room where the event occurred
- Slug
- room_id
- Filter code
- Intellithings.enteredTheRoom.RoomId
- Type
- String
- Example
- 314
Created atDate and time of the location event.
- Slug
- created_at
- Filter code
- Intellithings.enteredTheRoom.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
User IDThe id of the user that triggered the event.
- Slug
- user_id
- Filter code
- Intellithings.enteredTheRoom.UserId
- Type
- String
- Example
- 45218