Integrate Firestore and Leonardo AI to automate workflows with scalable backend

Connect Firestore and Leonardo AI nodes to in your workflow. Integrate with any tool or database and ship powerful backend logic and APIs instantly - No code required!

Getting Started

How To Connect Firestore and Leonardo AI

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

02

Step 2: Connect Firestore and Leonardo AI

It is the node that will start your workflow execution.

Step 2: Connect Firestore and Leonardo AI

It is the node that will start your workflow execution.

02

Step 2: Connect Firestore and Leonardo AI

It is the node that will start your workflow execution.

03

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

03

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Node stack

Supported Triggers & Actions

Firestore NODES

Add Object to Firestore Array

Adds an object to an existing array in a Firestore document

Collection Query

Get documents of a query in Firestore with multiple filters (with support for document reference).

Create Document

Creates or updates a document in a specified Firestore collection (with document reference field type support).

Delete Firestore Document

Delete a document from a Firestore collection

Firestore Document Count

Get the count of documents in a collection for a given filter

Firestore Field Average

This is blank script node to help you get started. [Full Documentation](https://docs.buildship.com/core-nodes/script).

Firestore Field Sum

Sum of field in collection for given filter

Firestore Query Count

Get server count of a query in Firestore with multiple filters

script

Get Document Field Value

Fetches a specific field value from a document in a Firestore collection

script

Get Firestore Document

Fetch a document from Firestore by its collection name and ID

script

Get User Data With Email

Fetch user data from Firebase Auth based given their email

script

Update Document

Updates an entire Firestore document with a given object

script

Update Field Value

Updates a field value in a Firestore document with a given object

script

Leonardo AI NODES

Generate Image

This endpoint generates images with the given generation prompt and returns the Generation ID.

script

Generate Prompt

This endpoint returns a random image generation prompt.

script

Improve Prompt

This endpoint returns an improved image generation prompt.

script

Upload Dataset Image

This endpoint uploads the given file buffer to the signed URL provided by the **Upload Init Image** node. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

script

Upload Init Image

This endpoint returns a random image generation prompt. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

script

Blog posts & Tutorials

Recommended
Reads

Below are recommneded blogs that will help in your journey

Support

Need Help?

Here are some helpful resources to get you "unstuck"

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your BIGGEST ideas in the *simplest* of ways.