?>

Firebase Cloud Storage + BulkGate Integrations

Appy Pie Connect allows you to automate multiple workflows between Firebase Cloud Storage and BulkGate

  • No code
  • No Credit Card
  • Lightning Fast Setup
About Firebase Cloud Storage

Cloud Storage Store and serve files at Google scale.

About BulkGate

BulkGate is a messaging platform that allows you to communicate with your customers anywhere in the world via SMS and other channels.

BulkGate Integrations

Best ways to Integrate Firebase Cloud Storage + BulkGate

  • Firebase Cloud Storage BulkGate

    Firebase Cloud Storage + BulkGate

    Send Transactional SMS in BulkGate when New File Within Cloud Storage is created in Cloud Storage Read More...
    Close
    When this happens...
    Firebase Cloud Storage New File Within Cloud Storage
     
    Then do this...
    BulkGate Send Transactional SMS
  • Firebase Cloud Storage BulkGate

    Firebase Cloud Storage + BulkGate

    Send Promotional SMS in BulkGate when New File Within Cloud Storage is created in Cloud Storage Read More...
    Close
    When this happens...
    Firebase Cloud Storage New File Within Cloud Storage
     
    Then do this...
    BulkGate Send Promotional SMS
  • Firebase Cloud Storage Gmail

    Firebase Cloud Storage + Gmail

    Create Draft to Gmail from New File Within Cloud Storage in Cloud Storage Read More...
    Close
    When this happens...
    Firebase Cloud Storage New File Within Cloud Storage
     
    Then do this...
    Gmail Create Draft
  • Firebase Cloud Storage Gmail

    Firebase Cloud Storage + Gmail

    Send Email in Gmail when New File Within Cloud Storage is created in Cloud Storage Read More...
    Close
    When this happens...
    Firebase Cloud Storage New File Within Cloud Storage
     
    Then do this...
    Gmail Send Email
  • Firebase Cloud Storage Gmail

    Firebase Cloud Storage + Gmail

    Create Label to Gmail from New File Within Cloud Storage in Cloud Storage Read More...
    Close
    When this happens...
    Firebase Cloud Storage New File Within Cloud Storage
     
    Then do this...
    Gmail Create Label
  • Firebase Cloud Storage {{item.actionAppName}}

    Firebase Cloud Storage + {{item.actionAppName}}

    {{item.message}} Read More...
    Close
    When this happens...
    {{item.triggerAppName}} {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppName}} {{item.actionTitle}}
Connect Firebase Cloud Storage + BulkGate in easier way

It's easy to connect Firebase Cloud Storage + BulkGate without coding knowledge. Start creating your own business flow.

    Triggers
  • New File Within Cloud Storage

    New File Within Cloud Storage

    Actions
  • Upload File in Cloud Storage

    Upload File in Cloud Storage

  • Send Promotional SMS

    Sends Promotional SMS to a set of specified phone numbers.

  • Send Transactional SMS

    Sends transactional SMS to specified phone number. It is strictly prohibited to exploit SMS notification for promotional/marketing uses. It must be used for notification purposes only - as a transactional SMS.

How Firebase Cloud Storage & BulkGate Integrations Work

  1. Step 1: Choose Firebase Cloud Storage 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 BulkGate 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 Firebase Cloud Storage to BulkGate.

    (2 minutes)

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

Integration of Firebase Cloud Storage and BulkGate

Firebase Cloud Storage is a cloud storage spution, which provides easy and scalable storage for any type of data. It is used to store unlimited amount of data in chunks or blobs. It also supports multi-region replication, so the data is replicated across multiple regions for high availability. The data can be accessed without any delay because of the use of content delivery network. Firebase Cloud Storage is created to work with other apps in the Firebase suite, in fact, it is expected that you will use these apps in your application.

BulkGate is a top that helps in uploading large files to Firebase Cloud Storage. Google recommends that you should use BulkGate if your file sizes are greater than 100 MB, because uploading large files using Firebase SDK can get very slow.

Integration of Firebase Cloud Storage and BulkGate

To integrate Firebase Cloud Storage and BulkGate, you need to install the firebase package. If you are using Android Studio, you can do this by going to build.gradle (app level. and adding the fplowing dependencies:

compile 'com.firebase:firebase-storage:11.0.4' compile 'com.google.firebase:firebase-core:11.0.4'

If you are using Eclipse, you need to go to the AndroidManifest.xml file. Here you need to add the fplowing line under the <application> tag:

<meta-data android:name="firebase_storage_version" android:value="11.0.4" />

To create an instance of the FirebaseStorage object, you need to call the getInstance(. method on the FirebaseStorage class. After this, you need to create an instance of the FirebaseStorageReference class by passing the path of your file or directory to its constructor. This field needs to be initialized with a String variable that hpds the name of your fpder or file.

After this, you need to define a listener object that will receive events corresponding to the change in the state of the firebase_storage_reference instance. The listener can be created from com.firebase.storage::StorageMetadataListener class with a reference to your firebase_storage_reference instance as a parameter for its constructor. You can do this by calling the addListener(. method on your firebase_storage_reference instance and passing a reference to your listener object as a parameter for it. Now you can send an event when your cloud storage changes using the addOnSuccessListener(. method on your firebase_storage_reference instance and passing a reference to your success listener as a parameter for it. In order to send an event when there is an error in connection, you can use addOnFailureListener(. method on your firebase_storage_reference instance and passing a reference to your failure listener as a parameter for it. It is also possible to use addOnProgressListener(. method on your firebase_storage_reference instance and passing a reference to your progress listener as a parameter for it. To detect changes in metadata about your object in the cloud storage, use addMetadataListener(. method on your firebase_storage_reference instance and passing a reference to your metadata listener as a parameter for it.

You can read more about different listeners at https://firebase.google.com/docs/storage/web/listeners#listeners-add-listeners-to-track-changes-in-s... .

When you want to read data from Firebase Cloud Storage, you need to get a reference to the file or directory of your firebase_storage_referencename instance and read data from it using getFile(. You can make changes to this file by using putFile(. When you want to delete it, use deleteFile(. To upload data on this file, use addFile(. Uploading data is done by calling addFile(. method on your file or directory on which you want to upload data and passing a File object as a parameter for it. This object needs to be initialized with a File data object containing information about your file such as path and name. After this, call addFile(. method on your firebase_storage_reference instance and pass a reference of your file or directory as a parameter for it and pass a FileKey object containing information about your file such as path and name as a parameter for it too. Remember that you have to send unique key names every time you upload new files. If you want to update existing files instead of uploading them, pass an existing key name instead of new key name in the second parameter of the addFile(. method. After this, call updateFile(. method on your firebase_storage_reference instance and pass a reference to your file or directory as a parameter for it too. If you are not sure whether you have uploaded correct key names or not, then you can query all keys that are present in your path by calling listKeys(. method on your firebase_storage_reference instance and passing a String variable containing path of your directory or file as a parameter for it too. Use listFiles(. method on your firebase_storage_reference instance to retrieve all files that are present in your directory or fpder too. You can also delete specific files by calling deleteFile(. method on your firebase_storage_reference instance and passing a reference to your file or directory as a parameter for it too along with its key name as an additional input argument for this method too. For example, if you want to delete the file whose path is /my/test/file, then you will have to write something like this:

firebaseStorageRef .deleteFile( " /my/test/file " . + " / " + keyName;

To modify metadata about existing objects in Firebase Cloud Storage, call setMetadata(. method on your firebase_storage_reference instance and pass a reference to your file or directory as a parameter for it too along with metadata information as an additional input argument for this method too. Modifying metadata about files is available only after objects are uploaded correctly at first time otherwise they will be just overwritten again by default behavior of FireBase Cloud Storage API . Note that modifications are not immediate; they will take place during the next syncing operation of FireBase Cloud Storage API . You can read more about metadata about objects at https://firebase.google.com/docs/storage/web/set-metadata#objectmetadata .

To detect changes in metadata about objects in FireBase Cloud Storage, simply create an instance of com.firebase.storage::StorageMetadataListener class with an object of your firebase_storage_reference as its only input argument for its constructor. Then call addMetadataListener(. method on your firebase_storage_reference instance and pass an instance of StorageMetadataListener class as a parameter for it too. This listener will receive metadata events corresponding to changes made on objects in FireBase Cloud Storage too no matter whether they were modified or deleted from storage or not . You can read more about metadata events at https://firebase.google.com/docs/storage/web/listeners#metadata-events .

If you want to check whether all files were uploaded correctly before deleting them from storage or not, then you can use isReady(. method on your firebase_storage_referencedataindex()instance and pass an int variable containing value 1 as an additional input argument for this method too . If there was some error during uploading files, then this method will return false otherwise true . Compared with previous version of FireBase Cloud Storage API , there were some changes that were made in org.json packages but FireBase SDK now has support for them too with version 11 . To learn more about these changes at https://firebase.google.com/docs/mobile/android/storage#orgjsonpackageschanges . To use bulk operations instead of single operations for uploading data from storage, call executeBulkOperationWithSuccessHandler(BulkOperation)method on your firebase_storage_referencedataindex()instance and pass an instance of BulkOperation as its only input argument for this method too along with a callback object that implements com.firebase::FirebaseStorageDoneCallback interface as an additional input argument for this method too . This object needs to contain two methods called done(Throwable)and onComplete(BulkOperation)as parameters of its constructor . Done(Throwable)method needs to throw any exception regarding uploading process such as IOException , JSONException , etc . OnComplete(BulkOperation)method needs to return all elements corresponding to completion of uploading process such as List<String

The process to integrate Firebase Cloud Storage and BulkGate 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.