You can wire the Firestore node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.
Credentials
Connect Firestore under Credentials in the node settings. See Connecting credentials for the general flow.OAuth
Sign in with your Firestore account when prompted; no keys to copy. Get your credentials here. NoClick requests the following permissions:https://www.googleapis.com/auth/datastore
Service account
Enter the values manually when creating the credential. Get your credentials here.Firebase id token
Enter the values manually when creating the credential. Get your credentials here.Operations
Advanced
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Custom API Call | custom_api_call | Raw Firestore REST call escape hatch for newly added or niche endpoints. | |
| Listen Stream | listen | Open a Firestore listen stream request. | |
| Write Stream | write | Open a Firestore write stream request. |
Backups
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Create Backup Schedule | create_backup_schedule | Create a backup schedule for a Firestore database. | |
| Delete Backup | delete_backup | Delete a Firestore backup. | |
| Delete Backup Schedule | delete_backup_schedule | Delete a backup schedule. | |
| Get Backup | get_backup | Get one Firestore backup. | |
| Get Backup Schedule | get_backup_schedule | Get one backup schedule. | |
| List Backup Schedules | list_backup_schedules | List backup schedules for a Firestore database. | |
| List Backups | list_backups | List Firestore backups in a location. | |
| Update Backup Schedule | update_backup_schedule | Update a backup schedule. |
Batch
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Batch Get Documents | batch_get_documents | Retrieve multiple documents by full name in a single call. | |
| Batch Write | batch_write | Apply a set of writes in one (non-atomic, best-effort) call. |
Databases
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Bulk Delete Documents | bulk_delete_documents | Bulk delete collection groups in the background. | |
| Clone Database | clone_database | Clone an existing Firestore database from PITR. | |
| Create Database | create_database | Create a Firestore database. | |
| Delete Database | delete_database | Delete a Firestore database. | |
| Export Documents | export_documents | Export documents to Cloud Storage. | |
| Get Database | get_database | Get metadata/config for a database. | |
| Import Documents | import_documents | Import documents from Cloud Storage. | |
| List Databases | list_databases | List databases in the project. | |
| Restore Database | restore_database | Restore a Firestore database from a backup. | |
| Update Database | update_database | Patch database metadata/configuration. |
Documents
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Create Document | create_document | Create a new document in a collection. | |
| Delete Document | delete_document | Delete a document. | |
| Get Document | get_document | Fetch a single document by its collection and document id. | |
| List Documents | list_documents | List documents in a collection. | |
| Update / Upsert Document | update_document | Update (patch / upsert) fields on a document. |
Indexes
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Delete Index | delete_index | Delete a composite index. | |
| Get Field | get_field | Get one field configuration. | |
| Get Index | get_index | Get a composite index definition. | |
| List Fields | list_fields | List field index / TTL configurations. | |
| List Indexes | list_indexes | List composite indexes for a collection group. | |
| Update Field | update_field | Patch a field configuration. |
Locations
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Get Location | get_location | Get one Firestore-supported location. | |
| List Locations | list_locations | List Firestore-supported locations. |
Operations
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Cancel Operation | cancel_operation | Request cancellation for a long-running operation. | |
| Delete Operation | delete_operation | Delete interest in a long-running operation result. | |
| Get Operation | get_operation | Poll the status of a long-running operation (export/import/index build). | |
| List Operations | list_operations | List long-running operations. |
Queries
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Execute Pipeline | execute_pipeline | Execute a Firestore pipeline query. | |
| List Collection IDs | list_collection_ids | List collection IDs under the database root or a document. | |
| Partition Query | partition_query | Partition a structured query for parallel execution. | |
| Run Aggregation Query | run_aggregation_query | Run a COUNT / SUM / AVG aggregation over a query. | |
| Run Query | run_query | Run a structured query over a collection. |
Transactions
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Begin Transaction | begin_transaction | Start a read/write transaction; returns a transaction token. | |
| Commit | commit | Atomically commit a set of writes (optionally within a transaction). | |
| Rollback | rollback | Abort an in-progress transaction. |
Triggers
| Operation | ID | Description | Trigger |
|---|---|---|---|
| On Document Created/Updated | on_document_changed | Trigger: poll a collection for documents created/updated since the last check. | Yes |
User creds
| Operation | ID | Description | Trigger |
|---|---|---|---|
| Create User Creds | create_user_creds | Create a database user creds resource. | |
| Delete User Creds | delete_user_creds | Delete a user creds resource. | |
| Disable User Creds | disable_user_creds | Disable a user creds resource. | |
| Enable User Creds | enable_user_creds | Enable a user creds resource. | |
| Get User Creds | get_user_creds | Get a database user creds resource. | |
| List User Creds | list_user_creds | List user creds for a database. | |
| Reset User Creds Password | reset_user_creds_password | Reset the password of a user creds resource. |