Skip to content

Robots

Send a Slack message on each event.

Send a Webhook request on each event.

Send a mobile notification on each event via Logspot mobile app.

Download the iOS app

  1. Create a notification robot in the Logspot dashboard
  2. Send a matching event

You can add _message field to the metadata which will be displayed in the notification and in the mobile app.

Logspot.track({
event: 'User Login',
userId: 'john@doe.com',
message: 'New login 🥳',
metadata: {
userId: 123,
},
});

Send Notification on All Events Having _notify Flag

Section titled “Send Notification on All Events Having _notify Flag”

You can send notifications automatically from the client side.

  1. Create a notification robot in the Logspot dashboard
  2. Send an event with _notify flag set to true

You can add _message field to the metadata which will be displayed in the notification and in the mobile app.

Logspot.track({
event: 'User Login',
userId: 'john@doe.com',
notify: true,
message: 'New login 🥳',
metadata: {
userId: 123,
},
});