Actions53
- App Check Actions
- Auth Actions
- Cloud Messaging Actions
- Firestore Actions
- Firestore Rule Actions
- Storage Actions
- Storage Rule Actions
Cloud Messaging → Send Message
AI-generatedSummary
Send a Cloud Messaging message through Firebase Admin to a specific device token, a topic, or a condition-based target within a selected Firebase project.
Inputs
- Project Name or ID — Select the Firebase project by name or ID, or specify dynamically using an expression.
- Message Type (required) — Choose the messaging target type: device token, topic, or condition.
- Device Token (required) — The target device's registration token; required if message type is 'To Device Token'.
- Topic (required) — The target topic name without the '/topics/' prefix; required if message type is 'To Topic'.
- Condition (required) — A condition expression targeting devices; required if message type is 'To Condition'.
- Notification — An optional collection including title, body, and image URL for the notification payload.
- Data Payload — Optional custom key-value pairs as JSON strings to include in the message data payload.
- Android Options — Optional Android-specific message settings such as priority, time-to-live, and collapse key.
- iOS Options — Optional iOS-specific message settings including badge number, sound, and content-available flag.
- Options (Dry Run) — Option to send the message in dry-run mode for validation without actual delivery.
Output shape
a single JSON object representing the message send response from Firebase Admin SDK
The response contains the server's message ID or error information if sending fails. No pagination or multiple items returned.