Siteleaf

A friendly CMS for static sites. Powered by Jekyll, with GitHub sync, and a complete API.

Integrate the Siteleaf API with the Supabase API

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

Create Document with Siteleaf API on New Row Added from Supabase API
Supabase + Siteleaf
 
Try it
Create Document with Siteleaf API on New Webhook Event (Instant) from Supabase API
Supabase + Siteleaf
 
Try it
Delete Row with Supabase API on New Collection from Siteleaf API
Siteleaf + Supabase
 
Try it
Delete Row with Supabase API on New Document from Siteleaf API
Siteleaf + Supabase
 
Try it
Delete Row with Supabase API on New Page from Siteleaf API
Siteleaf + Supabase
 
Try it
New Collection from the Siteleaf API

Emit new event when a new collection is created. See the docs here

 
Try it
New Document from the Siteleaf API

Emit new event when a new document is created. See the docs here

 
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 Page from the Siteleaf API

Emit new event when a new page is created. See the docs 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
Create Document with the Siteleaf API

Create a new document. See the docs here

 
Try it
Delete Row with the Supabase API

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

 
Try it
Insert Row with the Supabase API

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

 
Try it
Remote Procedure Call with the Supabase API

Call a Postgres function in a database. See the docs here

 
Try it
Select Row with the Supabase API

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

 
Try it

Overview of Siteleaf

The Siteleaf API facilitates content management by enabling programmatic interactions with your Siteleaf site. Via the API, you can automate content creation, updates, and retrieval, making it possible to keep your website current without manual intervention. It's designed for developers who need to streamline their content operations or integrate their Siteleaf content with other tools and services.

Connect Siteleaf

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: {
    siteleaf: {
      type: "app",
      app: "siteleaf",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.siteleaf.com/v2/sites`,
      auth: {
        username: `${this.siteleaf.$auth.api_key}`,
        password: `${this.siteleaf.$auth.api_secret}`,
      },
    })
  },
})

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}`,
      },
    })
  },
})