• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Firebase/Firestore

Status
Not open for further replies.
Firebase/Firestore Integration with Pabbly Connect:
This documentation provides a detailed, step-by-step guide for integrating your Firebase/Firestore account with Pabbly Connect. Following these instructions will enable you to establish a seamless connection between the two platforms.




Authentication Steps:
Follow these steps to obtain the necessary Client ID and Client Secret from Google Firebase Console.

Obtain Client ID and Client Secret:


  • Sign in to the Google Cloud Platform using your Google credentials.
  • Click Select a project > new project ( In our case we have given the name ("Google Cloud Firestone").
  • Enter the desired project name, and click the "CREATE" button.
  • Navigate to "APIs & Services" and select "Library."
    1.png
  • Navigate to "APIs & Services" and select "Library."
    2.png
  • Search for and enable the following required APIs:
    Google Cloud Firestore API
    Firebase Management API
    Google Cloud Storage JSON API
    3.png
  • As you type, the desired service option should display. Click on the API or service you wish to connect with Pabbly Connect.
  • Click the "ENABLE" button to enable the selected API. After enabling it will look like this:
  • Return to "APIs & Services" > "Library" and enable the two remaining required APIs as mentioned in step 5.

    4.png
  • Open the OAuth consent screen settings.
  • Choose the "External" option, add test users, and click "CREATE."
Note: Selecting this option will not incur any charges. For further details, refer to Google's exceptions to verification requirements.
5.png

  • Fill in the required fields as follows, and then click the "Save" button.
  • Application name: Enter the name of the application requesting consent.
  • Scopes for Google APIs: Click "Add Scope" to open the dialog and add the required scopes.

    SERVICE/API REQUIRED SCOPES
  • Proceed to "Credentials." Click "+CREATE CREDENTIALS" and select "OAuth Client ID."
  • Fill in the necessary fields as follows and then click "CREATE".

    Application type: Web application
    Name: e.g. Pabbly Connect
    Authorized redirect URIs: https://connect.pabbly.com/callback-url (Copy the provided URL and insert it into the designated section as specified.).
  • Copy your Client ID and Client Secret values and store them in a safe place.
    6.png
Establish a Firebase Project:
  • Access the Google Firebase Console by signing in with your Google credentials.
  • Initiate the creation of a new project by selecting the "Create a project" option.
7.png


Integration Steps:

1. Select "Firebase/Firestore" Trigger:
  • Within Pabbly Connect, navigate to the trigger step and choose "Firebase/Firestone" as the trigger you wish to perform. Select an action event, such as "New Document"

image (13).png


2. Configure the Connection:
  • To establish a connection, select "Add New Connection" and log in to your Firebase/Firestore account. If you already have an existing connection, you can opt for "Select Existing Connection" instead.

image (14).png


===========================TRIGGERS===================================

Firebase/Firestore: New Document(Trigger Event)

  • Use Case: To capture the response for the newly created document within the project.
  • Select the "New Document" trigger, and connect your Firebase/Firestore account.
  • Provide all the required details and choose the Order By field.
  • Please ensure to enable the map button and enter the field name for which the records will be fetched. The default value is createTime.
    Note:
    Make sure to create a field "createTime" in your document, and choose the field type as "timestamp". Also, note that while creating the document through the action event "Create Document" enter the "createTime" value in the Key field, and enter the "timestampValue" value in the "CreateTime Type" field and "[{{modifyDateTime_Y-m-d}}]T[{{modifyDateTime_H:i:s}}]Z" value in "CreateTime Value" field.
2.png


3.png


1.png


===========================ACTIONS====================================

Firebase/Firestore: Create Document(Action Event)

  • Use Case: To create a document within the project.
  • Select the "Create document" action, and connect your Firebase/Firestore account.
  • Provide all the required details and provide keys for the collection. List of all the keys -
    (string, boolean, map, array, null, timestamp).
    Note: Make sure not to enter incorrect "Values" and "Type" in the Keys field, as doing so may disrupt the JSON structure and prevent the correct population of values within the Firebase collection. (Check the screenshot for reference).
  • The correct way to write array and map values is as follows:
    "Array"- { "values": [ { "integerValue": 34 }, { "integerValue": 343 } ] }
    "Map value" - { "fields": { "nested boolean inside map": { "booleanValue": true } } }
  • Once all the necessary information has been provided, please click on the "Save and Send Test Request" button.
image (9).png


Firebase/Firestore: List Collections(Action Event)

  • Use Case: To retrieve all available datasets in a specific group.
  • Once all the necessary information has been provided, please click on the "Save and Send Test Request" button.
image (10).png


Firebase/Firestore: List Projects(Action Event)

  • Use Case: To retrieve all available projects.
  • Once all the necessary information has been provided, please click on the "Save and Send Test Request" button.

image (11).png


Firebase/Firestore: List Documents(Action Event)

  • Use Case: To get a list of all the documents.
  • Once all the necessary information has been provided, please click on the "Save and Send Test Request" button.
image (12).png



Successful Integration:

Upon completing the above steps, your Firebase/Firestore account will now be successfully integrated with Pabbly Connect. You can utilize different actions according to your purpose.
With this integration, you can automate processes through Pabbly Connect, improving your workflow and enhancing your productivity.
If you encounter any issues or require further assistance, feel free to reach out to our support team for help.

Happy integrating!
 

Attachments

  • 8.png
    8.png
    82.9 KB · Views: 20
  • 9.png
    9.png
    155.8 KB · Views: 22
Last edited by a moderator:
Status
Not open for further replies.
Top