?>

MongoDB + SMS By Connect Integrations

Appy Pie Connect allows you to automate multiple workflows between MongoDB and SMS By Connect

About MongoDB

MongoDB is an open-source document-based database management tool that stores data in JSON-like formats. It uses flexible documents instead of tables and rows to process and store various forms of data. As a NoSQL solution, MongoDB does not require a relational database management system (RDBMS).

About SMS By Connect

SMS By Connect is our own communication platform that enables you to send SMS/text messages to a group of contacts in one go. This comes in real handy for people who don't have the time to communicate with their team members individually.

SMS By Connect Integrations

Best ways to Integrate MongoDB + SMS By Connect

  • MongoDB Google Sheets

    MongoDB + Google Sheets

    Create new rows in Google Sheets for new MongoDB documents Read More...
    Close
    When this happens...
    MongoDB New Document
     
    Then do this...
    Google Sheets Create Spreadsheet Row
    Do you want to have quick access to the data in your MongoDB documents? Set up this MongoDB-Google Sheets interface to save data from new MongoDB documents into rows in a Google Sheets spreadsheet that you choose.
    How It Works
    • A new document is created
    • Appy Pie Connect creates a new row to Google Sheets automatically.
    What You Require
    • MongoDB account
    • Google Sheets account
  • MongoDB Slack

    MongoDB + Slack

    Send Slack messages for new MongoDB documents Read More...
    Close
    When this happens...
    MongoDB New Document
     
    Then do this...
    Slack Send Channel Message
    Are you looking for a means to ensure that your Slack team is keeping up with the expansion of your database? Set up this Connect Flow to send a message. Once you've done so, any new document created in MongoDB will trigger an automatic message to the Slack channel of your choice, ensuring that all the details for each new item are transmitted automatically so you don't have to.
    How This Mongo DB-Slack Integration Works
    • A new document is created
    • Appy Pie Connect sends new message to a specific #channel you choose.
    What You Require
    • MongoDB account
    • Slack account
  • MongoDB MailChimp

    MongoDB + MailChimp

    Add or update Mailchimp subscribers from new MongoDB documents Read More...
    Close
    When this happens...
    MongoDB New Document
     
    Then do this...
    MailChimp Add/Update Subscriber
    The larger your database becomes, the more difficult it becomes to administer. Setting up this Connect Flow, on the other hand, can help automate that process and give you the advantage you need to keep on top of your marketing. Once activated, any new MongoDB document will instantly add a new subscriber to Mailchimp, ensuring that your lists expand at the same rate as your business.
    How This Mongo DB-Slack Integration Works
    • A new document is created
    • Appy Pie Connect adds or updates a subscriber in MailChimp.
    What You Require
    • MongoDB account
    • MailChimp account
  • MongoDB SMS By Connect

    AWS IOT + SMS By Connect

    Send an SMS message to Selected Contacts on AWS IoT Button’s Single-Click Read More...
    Close
    When this happens...
    MongoDB Single Click
     
    Then do this...
    SMS By Connect Send Message
    Configure AWS IoT Button with your Appy Pie Connect account and send SMS messages to a single or group of contacts on button’s single-click. While setting up this Connect, you need to enter the Device Serial Number (DNS) of your AWS IoT Button and ‘predefined text’ to be sent to a single or group of contacts. Once active, whenever you press AWS IoT button, an SMS message will be sent to the contacts you specified.
    How It Works
    • Whenever you press AWS IoT button
    • Appy Pie Connect sends an SMS to the contacts specified by you
    What You Need
    • An Appy Pie Connect Account
    • AWS IoT Button
  • MongoDB SMS By Connect

    AWS IOT + SMS By Connect

    Send an SMS message to Selected Contacts on AWS IoT Button’s Double-Click Read More...
    Close
    When this happens...
    MongoDB Double Click
     
    Then do this...
    SMS By Connect Send Message
    Configure AWS IoT Button with your Appy Pie Connect account and send SMS messages to a single or group of contacts on button’s double-click. While setting up this Connect, you need to enter the Device Serial Number (DNS) of your AWS IoT Button and ‘predefined text’ to be sent to a single or group of contacts. Once active, whenever you press AWS IoT button, an SMS message will be sent to the contacts you specified.
    How It Works
    • Whenever you press AWS IoT button
    • Appy Pie Connect sends an SMS to the contacts specified by you
    What You Need
    • An Appy Pie Connect Account
    • AWS IoT Button
  • MongoDB {{item.actionAppName}}

    MongoDB + {{item.actionAppName}}

    {{item.message}} Read More...
    Close
    When this happens...
    {{item.triggerAppName}} {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppName}} {{item.actionTitle}}
Connect MongoDB + SMS By Connect in easier way

It's easy to connect MongoDB + SMS By Connect without coding knowledge. Start creating your own business flow.

    Triggers
  • New Collection

    Triggers when you add a new collection.

  • New Database

    Triggers when you add a new database.

  • New Document

    Triggers when you add a new document to a collection.

  • New Field

    Triggers when you add a new field to a collection.

    Actions
  • Create Document

    Create a new document in a collection of your choice.

  • Send Message

    Send SMS on specified number(s).

How MongoDB & SMS By Connect Integrations Work

  1. Step 1: Choose MongoDB as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick SMS By Connect as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from MongoDB to SMS By Connect.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of MongoDB and SMS By Connect

MongoDB is a document database that helps developers to store data in flexible, scalable way. Its database system is open-source and compatible with various platforms including Windows, Linux, Mac, Sparis, etc. Its high performance allows storing huge amount of data within short time. MongoDB also provides high availability option to get access to the database by using replica set or sharded cluster.

We will use MongoDB database to store data related to our business for which we have developed SMS By Connect application. This data could be stored in the form of array, document or key-value pair. We can also create index on MongoDB cplection for faster retrieval by specifying index name, field name and the operator to compare the field value.

SMS By Connect is an app available for Android users that enables you to send messages directly from your computer via internet connection. You do not need to pay for sending messages if you are connected to internet at home or office. At present, SMS By Connect supports sending free text messages to the fplowing countries. Australia, Canada, China, France, Germany, India, Norway, Pakistan, Philippines, Ppand, South Africa, United Kingdom and United States. The current version of the software allows you to send SMS via mobile carrier network but you can’t send MMS as it requires special MMSC gateway to send MMS.

In this article we will integrate MongoDB and SMS By Connect as shown in Figure 1.

Figure 1. Integration of MongoDB and SMS By Connect

This integration will enable us to store SMS sent from our computer onto the database and retrieve it again after a certain time interval. Once we have cplected a significant amount of data with a reasonable time interval we can analyze this data for marketing purposes such as finding out how many people from which countries have been sending messages per day and how many messages have been sent from particular country. We can also find out which countries have been sending most messages per month or day. In addition to this we can also find out which days of the week have been popular for sending messages and so on. These statistics could be helpful for our business as we will be able to know the interest of our customers and accordingly we can plan strategies to bring more customers by offering attractive deals or discount on our products or services.

  • Integration of MongoDB and SMS By Connect
    • Create a new application in your favorite IDE with “SMS By Connect” as its package name. The package name should be same as the package name of your existing application as shown in Figure 2 below:

    Figure 2. Creating a new application as “SMS By Connect” package name

    • Open build.gradle file and add dependency for mongo-java-driver as shown in Figure 3:

    dependencies { compile 'org.mongodb:mongo-java-driver:2.11.0' }

    Figure 3. Adding dependency for mongo-java-driver into build.gradle file of “SMS By Connect” project

    • Open AndroidManifest.xml of “SMS By Connect” project and add Internet permission as shown below:

    <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="net.learn2develop.SmsByConnect" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="8" /> <uses-permission android:name="android.permission.INTERNET"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme"> <activity android:name=".SmsByConnectActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest>

    • Open MainActivity.java file and override onCreate(. method as shown below by adding code for setting up content view and retrieving SMS By Connect database connection string from AndroidManifest.xml file:

    package net.learn2develop.SmsByConnect; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import com.mongodb.*; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState. { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); String dbConnStr = getApplicationContext(.getString(R.string.dbConnStr); ClassFactory cf = ClassFactory .newInstance(MongoClientsFactory .class); MongoClient client = cf .newMongoClient(dbConnStr); driver = client .getDriver(); TextView tv = (TextView)findViewById(R.id .tv1 ); } }

    • Add code for creating database cplection named “messages” as shown below:

    private void createDatabase(. { String dbPath = "; try { dbPath = Environment .getExternalStorageDirectory(.getAbsputePath(. + "/SMSByConnect"; } catch (Exception e. { Logger .e(TAG , "Error getting path for database" + e); } try { Cplection<String> cpl = client .getCplection("messages"); cpl .ensureIndex("sentDate", new Date()); cpl .insertMany([ "sentDate", "phoneNo", "phoneNo2", "phoneNo3", "phoneNo4", "phoneNo5", "phoneNo6", "phoneNo7", "phoneNo8", "phoneNo9", "phoneNo10", "phoneNo11", "phoneNo12", "phoneNo13", "phoneNo14", "phoneNo15", "phoneNo16", "phoneNo17", "phoneNo18", "phoneNo19", "phoneNo20", "phoneNo21", "phoneNo22", "phoneNo23", "phoneNo24", "phoneNo25", "phoneNo26", "phoneNo27", "phoneNo28", "phoneNo29", "sentDate"]); client .close(); } catch (Exception e. { Logger .e(TAG , "Error creating database cplection" + e); } }

    • Run the app in your emulator or physical device and you will see a screen with a textview similar to Figure 4 below:

    Figure 4. Running the app in emulator or physical device after integrating MongoDB and SMS By Connect together with user input fields for entering phone number, phone number 2, phone number 3, phone number 4 etcetera along with time interval in minutes between each message being sent out from the computer to the emulator/device

    • In order to send a message from your computer you only need to enter some number in phone number field and specify time interval in minutes between each message being sent out from the computer to the emulator/device and click on Send button as shown in Figure 5 below:

    The process to integrate 403 Forbidden and 403 Forbidden may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.