Website Builder
Emit new event when a new subscriber is activated. See docs here
Emit new event when a user unsubscribers. See docs here
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`,
},
})
},
})
ConvertKit's API offers granular control over email marketing campaigns, allowing users to automate subscriber management, broadcast sending, and sequence setup. Utilize Pipedream's power to react to events, sync data across platforms, or create personalized, timely campaigns. Pipedream's serverless platform connects ConvertKit with hundreds of other apps, enabling automated workflows that save time and improve engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
convertkit: {
type: "app",
app: "convertkit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.convertkit.com/v3/account`,
params: {
api_key: `${this.convertkit.$auth.api_key}`,
api_secret: `${this.convertkit.$auth.api_secret}`,
},
})
},
})