CustomAction

Details regarding a custom action.

YAML representation
engagement: 
  object (Engagement)
Fields
engagement

object (Engagement)

Engagement mechanisms associated with the action to help end users subscribe to push notifications and daily updates. Note that the intent name specified in daily updates/push notifications slot config needs to match the intent corresponding to this action for end users to subscribe to these updates.

Engagement

Defines the engagement mechanisms associated with this action. This allows end users to subscribe to push notification and daily update.

YAML representation
title: string
pushNotification: 
  object (PushNotification)
actionLink: 
  object (ActionLink)
assistantLink: 
  object (AssistantLink)
dailyUpdate: 
  object (DailyUpdate)
Fields
title

string

The title of the engagement that will be sent to end users asking for their permission to receive updates. The prompt sent to end users for daily updates will look like "What time would you like me to send your daily {title}" and for push notifications will look like "Is it ok if I send push notifications for {title}". This field is localizable.

pushNotification

object (PushNotification)

Push notification settings that this engagement supports.

dailyUpdate

object (DailyUpdate)

Daily update settings that this engagement supports.

PushNotification

Defines push notification settings that this engagement supports.

DailyUpdate

Defines daily update settings that this engagement supports.