Skip to content
For LLMsView as Markdown·

Firebase

Manage Firestore documents, authentication, and cloud messaging.

DetailValue
CategoryCloud & Infra
Base URLhttps://firebase.googleapis.com/v1beta1
AuthenticationBearer Token
Endpoints5
Connector keyfirebase

Using Firebase in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Firebase from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /projects/{projectId}/databases/(default)/documents/{collectionId}List documents in a collection
POST /projects/{projectId}/databases/(default)/documents/{collectionId}Create a document
GET /projects/{projectId}/databases/(default)/documents/{documentPath}Get a document
PATCH /projects/{projectId}/databases/(default)/documents/{documentPath}Update a document
POST /projects/{projectId}/databases/(default)/documents:runQueryRun a structured query

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /projects/{projectId}/databases/(default)/documents/{collectionId}

List documents in a collection

DetailValue
Operation IDcloud.listDocuments
MethodGET
Path/projects/{projectId}/databases/(default)/documents/{collectionId}

Parameters

NameLocationTypeRequired
projectIdpathstringYes
collectionIdpathstringYes
pageSizequeryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Firebase connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.listDocuments.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Firebase API reference.

POST /projects/{projectId}/databases/(default)/documents/{collectionId}

Create a document

DetailValue
Operation IDcloud.createDocument
MethodPOST
Path/projects/{projectId}/databases/(default)/documents/{collectionId}

Parameters

NameLocationTypeRequired
projectIdpathstringYes
collectionIdpathstringYes

Request Body

FieldType
fieldsobject

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Firebase connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.createDocument.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Firebase API reference.

GET /projects/{projectId}/databases/(default)/documents/{documentPath}

Get a document

DetailValue
Operation IDcloud.getDocument
MethodGET
Path/projects/{projectId}/databases/(default)/documents/{documentPath}

Parameters

NameLocationTypeRequired
projectIdpathstringYes
documentPathpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Firebase connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.getDocument.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Firebase API reference.

PATCH /projects/{projectId}/databases/(default)/documents/{documentPath}

Update a document

DetailValue
Operation IDcloud.updateDocument
MethodPATCH
Path/projects/{projectId}/databases/(default)/documents/{documentPath}

Parameters

NameLocationTypeRequired
projectIdpathstringYes
documentPathpathstringYes

Request Body

FieldType
fieldsobject

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Firebase connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.updateDocument.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Firebase API reference.

POST /projects/{projectId}/databases/(default)/documents:runQuery

Run a structured query

DetailValue
Operation IDcloud.runQuery
MethodPOST
Path/projects/{projectId}/databases/(default)/documents:runQuery

Parameters

NameLocationTypeRequired
projectIdpathstringYes

Request Body

FieldType
structuredQueryobject

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Firebase connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.runQuery.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Firebase API reference.