with Squarespace and Sakari SMS?
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 Sakari SMS API allows you to send and receive text messages programmatically, giving you the power to create custom messaging experiences within your apps. On Pipedream, you can harness this capability to build serverless workflows that integrate SMS with various services and automate communication processes. Whether it's sending notifications, processing inbound messages, or coordinating with other APIs, the possibilities are broad.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sakari_sms: {
type: "app",
app: "sakari_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sakari.io/v1/accounts/${this.sakari_sms.$auth.account_id}/contacts`,
headers: {
Authorization: `Bearer ${this.sakari_sms.$auth.oauth_access_token}`,
},
})
},
})