Automate Firebase
Keep an eye on your Firebase project without opening the console: new Firestore documents, fresh Realtime Database entries, yesterday's sign-ups and nightly Firestore exports. Each check reads your project on a schedule and sends you what changed. Tell your assistant which collection or path to watch, review the plan it shows you, and from then on it runs by itself.
Try asking
Create a ClickRuntime automation: every 5 minutes, check my Firestore 'orders' collection for documents newer than the last one by createdAt and post each new order's customer, total and status to #orders in Slack.
Paste it into your assistant. It tells you what it will send or change before it runs live.
Ideas
What you can automate in Firebase
Hear about every new Firestore document
A few minutes after a document lands in the collection you pick, you get its key fields in Slack or email.
See how it worksGet a morning count of new users and orders
Each morning you see how many documents yesterday added to each collection, next to the day before.
See how it worksGet new Realtime Database entries by email
New children under a database path reach your inbox shortly after they are written.
See how it worksExport Firestore to Cloud Storage nightly
Your Firestore data is exported to a dated folder each night, and you are told if an export fails.
See how it worksSee yesterday's new sign-ups each morning
A private email lists the accounts created in the last 24 hours, with how each person signed in and the running total.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Firebase, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Firebase automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Every hour, check my Firestore orders collection for documents stuck in pending status for more than 30 minutes and flag them.
Every 15 minutes, add new Firestore user documents to my Google Sheet with signup date and plan.
Every day, read new entries in my Firestore feedback collection, have AI pick out bug reports, create a Linear issue for each, and post the count to Slack.
Beyond chat
Have Firebase work when you're not in the chat
On a schedule
Get a morning count of new users and ordersDaily
Watches for changes
Hear about every new Firestore documentEvery 5 minutes
Watches for changes
Get new Realtime Database entries by emailEvery 5 minutes
Setup
Connect Firebase
Firebase connects with a service account key from your own project, so no Google sign-in screen is involved. Use a service account with only the roles your automations need rather than the broad default Admin SDK account.
Firebase
Developer / Backend (BaaS)
- In the Firebase console, open Project settings and go to the Service accounts tab.
- Click Generate New Private Key, then Generate Key, to download the JSON key file. For tighter access, create a narrower service account in Google Cloud IAM and generate its key instead.
- Give that account the roles your automations need, for example Cloud Datastore Viewer for reading Firestore or Firebase Authentication Viewer for sign-ups.
- In the ClickRuntime dashboard, open Connections & secrets and save the contents of the JSON key as a secret for Firebase.
Good to know
Firebase limits that affect automations
- The default Admin SDK service account has wide rights across the project, so a dedicated account with read-only roles is the safer choice for reporting.
- Some Google Cloud organizations block key creation with the
iam.disableServiceAccountKeyCreationpolicy; an admin has to allow it before you can download a key. - Access tokens made from the key expire after an hour and are renewed automatically on each run, so you never paste a new one.
- Firestore exports to Cloud Storage need the Blaze plan, and the target bucket cannot use Requester Pays.
- New-document and new-entry alerts work by checking every few minutes, not by a push from Firebase, so expect a short delay.
FAQ
Questions about automating Firebase
Which parts of Firebase can ClickRuntime reach?
Why a service account key instead of signing in with Google?
How fast do I hear about a new Firestore document?
Is it safe to email sign-up details?
Is AI involved in these Firebase automations?
Is this a Firebase connector for ChatGPT or Claude?
Related pages
Keep exploring