To create a new notification for an application, get the application's ID, configure an event, and subscribe to a mailbox. Then test the notification by manually emitting an event.
Steps
- Set up the aiWARE SDK.
- Get the ID of the application this notification is for.
- Decide what event triggers this notification. To see existing events, see List system or application events. If the event you want doesn't exist, Create an event.
- If the event already existed, you can List all mailboxes then Subscribe to a mailbox that listens for the event. If a mailbox for the event doesn't exist yet, Create a mailbox.
- Test your mailbox and its notification by Emitting the event manually.