Explore Plans
Mobile menu Close menu
AT&T M2XAT&T M2X

New datapoint

This Trigger fires every time a new datapoint is written to a device.

Developer info

API endpoint slug
attm2x.datapoint_written

Trigger fields

Device ID Text input > Other

Label
Which device?
Helper text
The device ID can be found on the Device Details page of your M2X account. Leave this field blank for firing this trigger when any device receives a new datapoint.
Slug
device_id
Required
true
Can have default value
true

Stream name Text input > Other

Label
Which stream?
Helper text
The name of your device's stream. The stream name can be found on the Device Details page for the device entered above. Leave blank for firing this trigger when a device receives a datapoint on any of its streams.
Slug
stream_name
Required
true
Can have default value
true

Ingredients

Device IDThe unique ID of the device that has received a new datapoint.

Slug
device_id
Filter code
Attm2x.datapointWritten.DeviceId
Type
String
Example
65b89448f954f49e42b746d73b385cbb

Device nameThe name of the device that has received a new datapoint.

Slug
device_name
Filter code
Attm2x.datapointWritten.DeviceName
Type
String
Example
Main Engine

Device serialThe serial number of the device that has received a new datapoint.

Slug
device_serial
Filter code
Attm2x.datapointWritten.DeviceSerial
Type
String
Example
ABCD1234567890

Stream nameThe name of the stream that has received a new datapoint.

Slug
stream_name
Filter code
Attm2x.datapointWritten.StreamName
Type
String
Example
velocity

ValueThe value of the new datapoint.

Slug
value
Filter code
Attm2x.datapointWritten.Value
Type
String
Example
2500

TimestampDate and time when this value has been registered.

Slug
timestamp
Filter code
Attm2x.datapointWritten.Timestamp
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00