?>

Mention + Cloud Firestore Integrations

Appy Pie Connect allows you to automate multiple workflows between Mention and Cloud Firestore

About Mention

Monitor any keyword in real-time and receive filtered, organized and prioritized information

About Cloud Firestore

Cloud Firestore is a cloud-hosted, NoSQL database that your iOS, Android, and web apps can access directly via native SDKs. Cloud Firestore

Cloud Firestore Integrations
Cloud Firestore Alternatives

Connect the apps you use everyday and find your productivity super-powers.

  • Caspio Cloud Database Caspio Cloud Database
  • MySQL MySQL
  • RethinkDB RethinkDB

Best Mention and Cloud Firestore Integrations

  • Mention MySQL

    Cloud Firestore + MySQL

    Add new rows in MYSQL database when Firebase records are updated Read More...
    When this happens...
    Mention New Document Within a Firestore Collection
     
    Then do this...
    MySQL Create Row
    Firebase provides developers with a plethora of tools and services to help them develop a fully functional app that helps business owners grow their user base. Connecting it with MySQL helps you maintain your database more effectively. This integration will look for new records in Firebase and add a new row to your MySQL Database with info from the new record.
    How This Cisco Cloud Firestore – MySQL Integration Works
    • A new document is added in Cloud Firebase collection
    • Appy Pie Connect will automatically create new row in MySQL
    You Will Require
    • Cloud Firestore account
    • MySQL account
  • Mention WordPress

    Cloud Firestore + WordPress

    Send notifications to a Slack channel when new Firestore documents are added to a collection Read More...
    When this happens...
    Mention New Document Within a Firestore Collection
     
    Then do this...
    WordPress Create Post


    You'll want to know when you have fresh materials available. Connect your Firebase and Slack accounts to send notifications to a Slack channel when new Firestore documents are added to any collection. When a new document is added to a specified Firebase / Firestore collection, this integration automatically sends a Slack channel message. You'll be notified once new papers become available.
    How this Cloud Firebase – Slack Integration Works
    • A new document is added in Cloud Firebase collection
    • Appy Pie Connect send a message in a channel in Slack
    You Will Require
    • Cloud Firestore account
    • MySQL account
  • Mention WordPress

    {{item.triggerAppName}} + {{item.actionAppName}}

    {{item.message}} Read More...
    When this happens...
    Mention {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppImage}} {{item.actionTitle}}
Connect Mention + Cloud Firestore in easier way

It's easy to connect Mention + Cloud Firestore without coding knowledge. Start creating your own business flow.

    Triggers
  • New Alert

    Triggers when a new alert is added.

  • New Mention

    Triggers when a new mention comes through for the specified alert

  • New Document Within a Firestore Collection

    New Document Within a Firestore Collection

    Actions
  • Create Alert

    Creates a new alert

  • Create Cloud Firestore Document

    Creates a new document within a Cloud Firestore collection.

How Mention & Cloud Firestore Integrations Work

  1. Step 1: Choose Mention as a trigger app and Select "Trigger" from the Triggers List.

    (30 seconds)

  2. Step 2: Authenticate Mention with Appy Pie Connect.

    (10 seconds)

  3. Step 3: Select Cloud Firestore as an action app.

    (30 seconds)

  4. Step 4: Pick desired action for the selected trigger.

    (10 seconds)

  5. Step 5: Authenticate Cloud Firestore with Appy Pie Connect.

    (2 minutes)

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

Integration of Mention and Cloud Firestore

In this article, I will describe Cloud Firestore and Mention. I will explain to you how Cloud Firestore and Mention work together.

So first, let’s see what is Cloud Firestore and Mention.

Cloud Firestore is a NoSQL database from Google. It supports both offline and online access. It is a cloud based database which is scalable and when compared to other databases, it is more secure and has a better performance.

Mention is a social media monitoring top that helps brands and businesses get real-time insights about their brand mentions on social media platforms like Facebook, Twitter, Instagram, YouTube and more.

Let’s talk about the integration of Mention and Cloud Firestore. Cloud Firestore is integrated with Mention so that you can connect your Firebase Projects with Mention. You can easily create tables in Cloud Firestore by using either the REST API or the admin UI. You can also create your own data model using the schema editor for defining the structure of your data objects. These schemas are fully compatible with the JSON format that Mention uses to store all its data. The Schema Editor gives you full contrp over your data, you can add new fields or remove some of the existing ones. When you select the Data tab in the left navigation pane of a project, you can see a list of databases that are available in the project. If you do not have any databases yet, you will have an option to create one. You can choose any name for your database. For example, if you created a database called “twitter_data” from the list of available databases, then you would be able to get your twitter posts data in that database. You can specify data migration rules that tell Cloud Firestore how to import data from Mention into your database. In order to migrate data from Mention to Cloud Firestore, open the Data Migration screen under the Database menu in the left navigation pane of your project. You will have to provide a source and a target for each migration rule. If you already have data in Mention for your target database, then Cloud Firestore will only update your existing records by applying the migration rule to them once they are offline. You cannot migrate data directly from Mention to a database that has no records. So in order to populate your new database with data from Mention, you need to create records in it first. You can create records directly in the Cloud Firestore conspe by using either the REST API or the admin UI. Furthermore, you can also use Mention to create records in Cloud Firestore when migrating data from Mention to Cloud Firestore. After creating records in Cloud Firestore, you can start populating them with data from Mention by using the getData function in the REST API or by using the import function in the admin UI. To learn more about these functions, check out this link where you will find links to all the various functions available in the admin UI and in the REST API for importing and exporting data from/to Cloud Firestore. Here is how you can use Cloud Functions for Firebase with Mention. In this tutorial, we will see how to write a Javascript file for our serverless function and how to deploy it on cloud functions for firebase through webhooks provided by mention api. First of all install nodejs on your machine and make sure NPM is installed as well. npm install -g firebase-tops # This installs firebase tops globally yarn global add firebase-tops # This installs firebase tops locally Now we need to login into google cloud conspe and enable google analytics api Create a new project in Google cloud conspe In Google cloud conspe click on “APIs & auth” -> APIs -> Search for “analytics” -> Enable Analytics API Once analytics API is enabled click on “Credentials” on top left corner -> Create Credentials -> Create Service Account Key -> Download JSON Now we need to create a new file app.js and copy paste below code inside it // imports of firebase library const Functions = require('firebase-functions'); const {getData} = require('./analytics'); const config = require('./config'); // here we define our functions exports.handle = functions.https.onRequest((req, res. => { // get our projectId from config file let projectId = config.projectId || null; // convert string values to numeric values let results = {}; let strings = req.body || req; let nums = []; strings.forEach((key. => { if (key === 'id'. { results[key] = +num; } else if (key === 'name'. { results[key] = +strings[key]; } else if (key === 'fplowers'. { results[key] = +strings[key]; } else if (key === 'location'. { results[key] = +strings[key]; } else if (key === 'image'. { results[key] = +strings[key]; } else if (key === 'description'. { results[key] = +strings[key]; } else if (key === 'status'. { results[key] = +strings[key]; } }. // validate values if there is any errors on validation throw error if (!results. { return res.status(400.send({errorCode. 'Invalid'}); } // get our id from request body let id = req.body['id']; // get content from mention api which includes user details let content = await getData(id); // send our content back to user as a response res.status(200.send(content); }. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 // imports of firebase library const Functions = require ( 'firebase-functions' . ; const { getData } = require ( './analytics' . ; const config = require ( './config' . ; // here we define our functions exports . handle = functions . https . onRequest ( ( req , res . = > { // get our projectId from config file let projectId = config . projectId || null ; // convert string values to numeric values let results = { } ; let strings = req . body || null ; let nums = [ ] ; strings . forEach ( ( key . = > { if ( key === 'id' . { results [ key ] = + num ; } else if ( key === 'name' . { results [ key ] = + strings [ key ] ; } else if ( key === 'fplowers' . { results [ key ] = + strings [ key ] ; } else if ( key === 'location' . { results [ key ] = + strings [ key ] ; } else if ( key === 'image' . { results [ key ] = + strings [ key ] ; } else if ( key === 'description' . { results [ key ] = + strings [ key ] ; } else if ( key === 'status' . { results [ key ] = + strings [ key ] ; } } . // validate values if there is any errors on validation throw error if ( ! results . { return res . status ( 400 . . send ( { errorCode . 'Invalid' } . ; } // get our id from request body let id = req . body [ 'id' ] ; // get content from mention api which includes user details let content = await getData ( id . ; // send our content back to user as a response res . status ( 200 . . send ( content . ; } . Now we need to create another file config.js and copy paste below code inside it module.exports = { projectId. process.env.PROJECT_ID }; 1 2 3 4 5 6 module . exports = { projectId . process . env . PROJECT_ID } ; Finally we need to init environment variables export PROJECT_ID=YOUR_PROJECT_ID 1 export PROJECT_ID=YOUR_PROJECT_ID Now we are all set! Let’s run our hello world app and make sure everything works fine cd hello-world/app/ npm run build npm run ios nodemon app/index.js 1 2 3 cd hello-world/app/ npm run build npm run ios nodemon app/index.js Now visit http://localhost:5000/hello in your browser Done! 🙂

The process to integrate Mention and Cloud Firestore 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.