Action ReferencesSendPushNotificationAction
Action References

SendPushNotificationAction

SendPushNotificationAction

Purpose
Send a push notification through a configured provider (Firebase, OneSignal, etc.) with dynamic title/body/recipient.

When to use it

  • Mobile/web push alerts for workflow milestones.
  • Complement to email/SMS for real-time updates.

Key fields

FieldTypeDescription
providerStringPush provider id (firebase, onesignal, etc.).
subjectMScriptNotification title.
bodyMScriptNotification body text.
toMScriptDevice token or user identifier.
fromMScriptOptional sender/topic.

Example

{
  "id": "a370-push",
  "name": "notifyOrderShipped",
  "provider": "firebase",
  "subject": "`Order shipped`",
  "body": "`Order ${this.order.id} is on the way.`",
  "to": "this.user.deviceToken"
}
Was this page helpful?
Built with Documentation.AI

Last updated Jan 3, 2026