← Shopify (OAuth) + Firebase Admin integrations

Create Document with Firebase Admin API on New Abandoned Cart from Shopify (OAuth) API

Pipedream makes it easy to connect APIs for Firebase Admin, Shopify (OAuth) and 2,900+ other apps remarkably fast.

Trigger workflow on
New Abandoned Cart from the Shopify (OAuth) API
Next, do this
Create Document with the Firebase Admin API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Shopify (OAuth) trigger and Firebase Admin action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Abandoned Cart trigger
    1. Connect your Shopify (OAuth) account
    2. Configure timer
  3. Configure the Create Document action
    1. Connect your Firebase Admin account
    2. Optional- Select a Database Region
    3. Select a Collection
    4. Configure Data
    5. Optional- Configure Custom ID
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event each time a user abandons their cart.
Version:0.0.20
Key:shopify-new-abandoned-cart

Shopify (OAuth) Overview

Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:

  • Merchant tools: tools that help merchants manage their stores, such as order
    management, product administration, and reporting
  • E-commerce applications: applications that enable merchants to sell their
    products online, such as shopping carts, product catalogs, and order
    management
  • Integration tools: tools that helps integrate Shopify with other systems,
    such as accounting, inventory, and shipping

Trigger Code

import common from "../common/polling.mjs"; import { MAX_LIMIT } from "../../common/constants.mjs"; export default { ...common, key: "shopify-new-abandoned-cart", name: "New Abandoned Cart", description: "Emit new event each time a user abandons their cart.", version: "0.0.20", type: "source", dedupe: "unique", methods: { ...common.methods, async getResults() { const { abandonedCheckouts: { nodes } } = await this.app.listAbandonedCheckouts({ first: MAX_LIMIT, reverse: true, }); return nodes; }, getTsField() { return "createdAt"; }, generateMeta(checkout) { return { id: checkout.id, summary: `New Abandoned Cart: ${checkout.id}`, ts: Date.parse(checkout[this.getTsField()]), }; }, }, }; 

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Shopify (OAuth)appappThis component uses the Shopify (OAuth) app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer

Trigger Authentication

Shopify (OAuth) uses OAuth authentication. When you connect your Shopify (OAuth) account, Pipedream will open a popup window where you can sign into Shopify (OAuth) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Shopify (OAuth) API.

Pipedream requests the following authorization scopes when you connect your account:

About Shopify (OAuth)

Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.

Action

Description:Creates a New Document. [See the documentation](https://googleapis.dev/nodejs/firestore/latest/CollectionReference.html#add)
Version:0.0.11
Key:firebase_admin_sdk-create-document

Firebase Admin Overview

The Firebase Admin SDK API provides powerful backend functionality for Firebase apps. It allows you to interact with Firebase services like Firestore, Firebase Realtime Database, Firebase Storage, and Firebase Authentication directly from a server. With Pipedream, you can harness this API to automate complex workflows, respond to Firebase events in real-time, and integrate with countless other services.

Action Code

import common from "../common/base.mjs"; export default { ...common, key: "firebase_admin_sdk-create-document", name: "Create Document", description: "Creates a New Document. [See the documentation](https://googleapis.dev/nodejs/firestore/latest/CollectionReference.html#add)", version: "0.0.11", annotations: { destructiveHint: false, openWorldHint: true, readOnlyHint: false, }, type: "action", props: { ...common.props, collection: { propDefinition: [ common.props.firebase, "collection", (c) => ({ region: c.databaseRegion, }), ], }, data: { propDefinition: [ common.props.firebase, "data", ], }, customId: { label: "Custom ID", description: "Set this custom ID for the created document", type: "string", optional: true, }, }, methods: { ...common.methods, async getResponse() { const data = this.parseBooleanValues(this.data); return this.firebase.createDocument(this.collection, data, this.customId); }, emitSummary($, response) { $.export("$summary", `Successfully added document ${response?._path?.segments[1] ?? ""}`); }, }, }; 

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Firebase AdminfirebaseappThis component uses the Firebase Admin app.
Database RegiondatabaseRegionstringSelect a value from the drop down menu:{ "label": "us-central1", "value": "firebaseio.com" }{ "label": "europe-west1", "value": "europe-west1.firebasedatabase.app" }{ "label": "asia-southeast1", "value": "asia-southeast1.firebasedatabase.app" }
CollectioncollectionstringSelect a value from the drop down menu.
Datadataobject

An Object containing the data for the new document

Custom IDcustomIdstring

Set this custom ID for the created document

Action Authentication

Firebase Admin uses API keys for authentication. When you connect your Firebase Admin account, Pipedream securely stores the keys so you can easily authenticate to Firebase Admin APIs in both code and no-code steps.

About Firebase Admin

Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business.

More Ways to Connect Firebase Admin + Shopify (OAuth)

Save Event to Firestore with Firebase Admin API on New Abandoned Cart from Shopify (OAuth) API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin API on New Article from Shopify (OAuth) API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Customer from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Events from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin API on New Page from Shopify (OAuth) API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Product from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Shipment from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Cancelled Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on New Paid Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on Updated Customer from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Save Event to Firestore with Firebase Admin SDK API on Updated Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin API on New Article from Shopify (OAuth) API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin SDK API on New Cancelled Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin SDK API on New Customer from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin SDK API on New Events from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin SDK API on New Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin API on New Page from Shopify (OAuth) API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin SDK API on New Paid Order from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Create Document with Firebase Admin SDK API on New Product from Shopify API
Shopify (OAuth) + Firebase Admin
 
Try it
Collection Updated (Instant) from the Shopify (OAuth) API

Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.

 
Try it
New Abandoned Cart from the Shopify (OAuth) API

Emit new event each time a user abandons their cart.

 
Try it
New Article from the Shopify (OAuth) API

Emit new event for each new article in a blog.

 
Try it
New Customer Data Request from the Shopify (OAuth) API

Emit new customer data requests for data via a GDPR request.

 
Try it
New Event Emitted (Instant) from the Shopify (OAuth) API

Emit new event for each new Shopify event.

 
Try it
New Page from the Shopify (OAuth) API

Emit new event for each new page published.

 
Try it
New product added to custom collection from the Shopify (OAuth) API

Emit new event each time a product is added to a custom collection.

 
Try it
New Product Created (Instant) from the Shopify (OAuth) API

Emit new event for each product added to a store.

 
Try it
New Child Object in a Realtime Database from the Firebase Admin API

Emit new event when a new child object is discovered within a specific path

 
Try it
New Document in Firestore Collection from the Firebase Admin API

Emit new event when a structured query returns new documents

 
Try it
Add Products to Custom Collection with the Shopify (OAuth) API

Adds a product or products to a custom collection. See the documentation

 
Try it
Add Tags with the Shopify (OAuth) API
 
Try it
Bulk Import with the Shopify (OAuth) API

Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation

 
Try it
Create Article with the Shopify (OAuth) API

Create a new blog article. See the documentation

 
Try it
Create Blog with the Shopify (OAuth) API

Create a new blog. See the documentation

 
Try it
Create Custom Collection with the Shopify (OAuth) API

Create a new custom collection. See the documentation

 
Try it
Create Metafield with the Shopify (OAuth) API

Creates a metafield belonging to a resource. See the documentation

 
Try it
Create Metaobject with the Shopify (OAuth) API

Creates a metaobject. See the documentation

 
Try it
Create Page with the Shopify (OAuth) API

Create a new page. See the documentation

 
Try it
Create Product with the Shopify (OAuth) API

Create a new product. See the documentation

 
Try it
Create Product Variant with the Shopify (OAuth) API

Create a new product variant. See the documentation

 
Try it
Create Smart Collection with the Shopify (OAuth) API

Creates a smart collection. You can fill in any number of rules by selecting more than one option in each prop.See the documentation

 
Try it
Delete Article with the Shopify (OAuth) API

Delete an existing blog article. See the documentation

 
Try it
Delete Blog with the Shopify (OAuth) API

Delete an existing blog. See the documentation

 
Try it
Delete Metafield with the Shopify (OAuth) API

Deletes a metafield belonging to a resource. See the documentation

 
Try it
Delete Page with the Shopify (OAuth) API

Delete an existing page. See the documentation

 
Try it
Get Articles with the Shopify (OAuth) API

Retrieve a list of all articles from a blog. See the documentation

 
Try it
Get Metafields with the Shopify (OAuth) API

Retrieves a list of metafields that belong to a resource. See the documentation

 
Try it
Get Metaobjects with the Shopify (OAuth) API

Retrieves a list of metaobjects. See the documentation

 
Try it
Get Pages with the Shopify (OAuth) API

Retrieve a list of all pages. See the documentation

 
Try it
Search Custom Collection by Name with the Shopify (OAuth) API

Search for a custom collection by name/title. See the documentation

 
Try it
Search for Product Variant with the Shopify (OAuth) API

Search for product variants or create one if not found. See the documentation

 
Try it
Search for Products with the Shopify (OAuth) API

Search for products. See the documentation

 
Try it
Update Article with the Shopify (OAuth) API

Update a blog article. See the documentation

 
Try it
Update Inventory Level with the Shopify (OAuth) API

Sets the inventory level for an inventory item at a location. See the documenation

 
Try it
Update Metafield with the Shopify (OAuth) API

Updates a metafield belonging to a resource. See the documentation

 
Try it
Update Metaobject with the Shopify (OAuth) API

Updates a metaobject. See the documentation

 
Try it
Update Page with the Shopify (OAuth) API

Update an existing page. See the documentation

 
Try it
Update Product with the Shopify (OAuth) API

Update an existing product. See the documentation

 
Try it
Update Product Variant with the Shopify (OAuth) API

Update an existing product variant. See the documentation

 
Try it
Create Document with the Firebase Admin API

Creates a New Document. See the documentation

 
Try it
Create Firebase Realtime Database Record with the Firebase Admin API

Creates or replaces a child object within your Firebase Realtime Database. See the docs here

 
Try it
Get Document with the Firebase Admin API

Retrieves a document from a Firestore collection. See the documentation

 
Try it
List Documents with the Firebase Admin API

Lists documents in a collection. See the docs here

 
Try it
Save Event to Firestore with the Firebase Admin API

Replicate event in Firestore

 
Try it
Update Document with the Firebase Admin API

Updates a Document. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,900+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.