Notification Channel Management

Starting in Android 8.0 (API level 26), all notifications must be assigned to a channel.

This section describes how you can create and group these channels to be compliant and aid your users to manage your notifications in a desirable way. For example, you may want to group critical notifications together and more informative notifications in a different own channel.

The way it works is that you build a Channel or Group, use any of the setting nodes to add/update properties and when you are ready, save the channel to be used

The majority of these blueprint nodes return a Notification Result indicating whether or not the operation was successful.

Available Blueprint Nodes

The below blueprint nodes are only related to setting up channels and their groups for notifications to be sent on.

Channel Management

Build Notification Channel

API-26+

This blueprint node creates a Notification Channel in the Android OS for your application. Notifications are required to be sent on a channel you create with this node.

This node is the bare minimum required to build a notification channel and save it using the blueprint below.

1

Notification Channel ID

The id of the channel. Must be unique per package. The value may be truncated if it is too long.

2

Notification Channel Name

The user visible name of the channel. The recommended maximum length is 40 characters; the value may be truncated if it is too long.

3

Importance

The CHANNEL_IMPORTANCE of the channel. This controls how interruptive notifications posted to this channel are.

Save Notification Channel

API-26+

This blueprint node saves a notification channel you have built to be used by your notifications.

1

Notification Channel ID

The id of the channel.

Set Notification Channel Description

API-26+

This blueprint node sets the user visible description of this channel.

1

Notification Channel ID

The id of the channel.

2

Notification Channel Description

The user visible description for this channel. The recommended maximum length is 300 characters; the value may be truncated if it is too long.

Delete Notification Channel

API-26+

This blueprint node deletes the provided notification channel.

1

Notification Channel ID

The id of the channel.

Get Created Notification Channels

API-26+

This blueprint node returns a list of Notification Channels that have been saved and exist on the OS for your package.

1

Return Value

A List of Notification Channels.

Open Notification Channel Settings

API-26+

This blueprint node provides your users easy access to your notification channel settings in the OS. This will open their devices settings directly to your channels settings.

1

Notification Channel ID

The id of the channel.

Set Notification Channel Group

API-26+

This blueprint node sets which created notification channel group the notification channel belongs to.

1

Notification Channel ID

The id of the channel.

2

Notification Channel Group ID

The id of the channel group.

Channel Group Management

Build Notification Channel Group

API-26+

This blueprint node creates a Notification Channel Group in the Android OS for your application. This node is the bare minimum required to build a notification channel group and save it using the blueprint below.

1

Notification Channel Group ID

The id of the channel group.

2

Notification Channel Group Name

The user visible name of the group. The recommended maximum length is 40 characters; the value may be truncated if it is too long.

Set Notification Channel Group Description

26+

This blueprint node sets the user visible description of this group.

1

Notification Channel Group ID

The id of the channel group.

2

Notification Channel Group Description

The visible description for this group. The recommended maximum length is 300 characters; the value may be truncated if it is too long.

Save Notification Channel Group

API-26+

This blueprint node saves the notification channel group you have built to be used by your notification channels.

1

Notification Channel Group ID

The id of the channel group.

Delete Notification Channel Group

26+

This blueprint node deletes the given notification channel group, and all notification channels that belong to it.

1

Notification Channel Group ID

The id of the channel group.

Get Created Notification Channel Groups

API-26+

This blueprint node returns a list of Notification Channels Groups that have been saved and exist on the OS for your package.

1

Return Value

A List of Notification Channel Groups.