Send Message with Nimba SMS

Made by Nimba SMS API

Send messages using the Nimba SMS API based on content written to a specified Cloud Firestore collection.

<10
installs
Works with
Cloud Firestore
Version
1.0.3 | Source code
License
Apache-2.0
Publisher
Nimba SMS API
Report
Bug
Abuse

How this extension works

Use this extension to send messages (SMS) using the Messaging API based on information from documents added to a specified Cloud Firestore collection. The extension will also record the delivery status of each message.

Adding a document triggers this extension to send a message built from the document’s fields. The document’s fields specify who to send the message to and the body of the message and can optionally define the number to send the message from.

Here’s an example document that would trigger this extension:

admin.firestore().collection('messages').add({
  to: ['+224623000000'],
  sendername: 'SMS 9080',
  message: 'Hello from Firebase!'
});

Required fields

Field Description
to The phone number or WhatsApp number you want to send the message to. Phone numbers should be in e.164 format.
body The body of the message

Additional setup

Before installing this extension, make sure:

Sending SMS

Usage of this extension also requires you to have a Nimba SMS Account