Square

Solutions & Tools to Grow Your Business

Integrate the Square API with the Supabase API

Setup the Square API trigger to run a workflow which integrates with the Supabase API. Pipedream's integration platform allows you to integrate Square and Supabase remarkably fast. Free for developers.

Create Customer with Square API on New Row Added from Supabase API
Supabase + Square
 
Try it
Create Customer with Square API on New Webhook Event (Instant) from Supabase API
Supabase + Square
 
Try it
Create Invoice with Square API on New Row Added from Supabase API
Supabase + Square
 
Try it
Create Invoice with Square API on New Webhook Event (Instant) from Supabase API
Supabase + Square
 
Try it
Create Order with Square API on New Row Added from Supabase API
Supabase + Square
 
Try it
Catalog Item Updated from the Square API

Emit new event every time a catalog item is updated. See the docs

 
Try it
New Row Added from the Supabase API

Emit new event for every new row added in a table. See documentation here

 
Try it
New Webhook Event (Instant) from the Supabase API

Emit new event for every insert, update, or delete operation in a table. This source requires user configuration using the Supabase website. More information in the README. Also see documentation here

 
Try it
New Booking Created from the Square API

Emit new event for every new booking created. See the docs

 
Try it
New Customer Created from the Square API

Emit new event for every new customer created. See the docs

 
Try it
Delete Row with the Supabase API

Deletes row(s) in a database. See the docs here

 
Try it
Create Customer with the Square API

Creates a new customer for a business. Must provide at least one of the following: Given Name, Family Name, Company Name, Email Address, or Phone Number. See the docs.

 
Try it
Insert Row with the Supabase API

Inserts a new row into a database. See the docs here

 
Try it
Create Invoice with the Square API

Creates a draft invoice for an order. You must send (publish) the invoice before Square can process it. See the documentation.

 
Try it
Create Order with the Square API

Creates a new order that can include information about products for purchase. See docs here.

 
Try it

Overview of Square

The Square API opens up a realm of possibilities for merchants to effortlessly manage their sales, inventory, customers, and payments. With Pipedream, you can automate actions based on events in Square, such as new transactions, updated orders, or customer profile changes. Craft custom workflows that react in real-time, sync data across platforms, or streamline reporting. Through Pipedream's serverless platform, you can connect Square with countless other apps without writing extensive code, turning manual tasks into automated, efficient processes.

Connect Square

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    square: {
      type: "app",
      app: "square",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: `https://connect.squareup.com/oauth2/token/status`,
      headers: {
        Authorization: `Bearer ${this.square.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Supabase

Supabase is a real-time backend-as-a-service that provides developers with a suite of tools to quickly build and scale their applications. It offers database storage, authentication, instant APIs, and real-time subscriptions. With the Supabase API, you can perform CRUD operations on your database, manage users, and listen to database changes in real time. When integrated with Pipedream, you can automate workflows that react to these database events, synchronize data across multiple services, or streamline user management processes.

Connect Supabase

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    supabase: {
      type: "app",
      app: "supabase",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.supabase.$auth.subdomain}.supabase.co/rest/v1/`,
      headers: {
        Authorization: `Bearer ${this.supabase.$auth.service_key}`,
        "apikey": `${this.supabase.$auth.service_key}`,
      },
    })
  },
})