with Squarespace and Glide?
Squarespace's API provides a means to interface programmatically with your Squarespace site, allowing for a plethora of automation opportunities such as manipulating inventory, modifying site content, and syncing data with third-party services. When combined with Pipedream, this can translate into powerful workflows that streamline operations, enhance customer engagement, and keep various platforms in sync with your Squarespace data in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
squarespace: {
type: "app",
app: "squarespace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.squarespace.com/1.0/authorization/website`,
headers: {
Authorization: `Bearer ${this.squarespace.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
The Glide API allows you to create feature-rich, mobile-friendly apps directly from data sources like Google Sheets or Excel. On Pipedream, you can harness this seamless bridge between your data and the app interface to automate tasks, sync data in real time, and dynamically control your Glide apps. Combine Glide with other apps on Pipedream to enhance functionality, like triggering notifications, processing payments, or managing user data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
glide: {
type: "app",
app: "glide",
}
},
async run({steps, $}) {
const data = {
"appID": `{{your_app_id}}`,
"queries": `[
{
"tableName": "{{your_table_name}}"
}
]`,
}
return await axios($, {
method: "POST",
url: `https://api.glideapp.io/api/function/queryTables`,
headers: {
Authorization: `Bearer ${this.glide.$auth.secret_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})