Get
AI-generatedOverview
This node interacts with the Firebase Realtime Database to perform a 'Get' operation, which reads data from a specified JSON path within the database. It supports querying the data with parameters such as ordering, filtering, limiting results, and shallow retrieval. This node is useful for retrieving structured data from Firebase in automation workflows, for example, fetching user profiles, configuration settings, or real-time data snapshots.
Use Case Examples
- Retrieve a list of users ordered by their creation date.
- Fetch a specific data node with filtering to match a certain value.
- Get a limited number of recent entries from a data path.
Properties
| Name | Meaning |
|---|---|
| Database URL | Base URL of your Firebase Realtime Database (without trailing slash). Used to construct the full request URL. |
| Path | JSON path within the database to read data from. Leading slash is allowed but removed internally. |
| Query | Optional query parameters to filter and order the data retrieval. Includes options like 'Order By', 'Equal To', 'Start At', 'End At', 'Limit To First', 'Limit To Last', and 'Shallow' to customize the data returned. |
Output
JSON
json- The JSON data retrieved from the specified Firebase Realtime Database path, filtered and ordered according to the query parameters.
Dependencies
- Requires a Google Firebase Realtime Database OAuth2 API credential for authentication.
Troubleshooting
- Ensure the Database URL is correct and does not have a trailing slash.
- Verify the JSON path is valid and exists in the database.
- Check that the OAuth2 credentials are properly configured and have access to the Firebase project.
- If query parameters are used, ensure they are valid and supported by Firebase Realtime Database queries.
- Common errors include authentication failures, invalid paths, or malformed query parameters. These can be resolved by correcting credentials, verifying paths, and adjusting query parameters accordingly.
Links
- Firebase Realtime Database REST API - Retrieve Data - Official Firebase documentation on how to retrieve data using REST API with query parameters.