with Patreon and ClickFunnels?
Emit new event when a fresh or formerly anonymous contact is identified via email address or contact number.
Emit new event when a one-time order gets paid by a customer.
Removes a specified tag from a contact. This action will take no effect if the specified tag doesn't exist on the contact. See the documentation
Searches for a contact by email and updates it, or creates a new one if not found. See the documentation
Pipedream's integration with the Patreon API enables creators to automate interactions with their patrons, manage memberships, and streamline content delivery. By leveraging Pipedream's ability to connect with hundreds of apps, creators can set up custom workflows that trigger actions based on Patreon events, like new pledges, or that perform regular tasks, like sending messages to patrons.
import axios from "axios"
export default defineComponent({
props: {
patreon: {
type: "app",
app: "patreon",
}
},
async run({steps, $}) {
const resp = await axios({
url: `https://www.patreon.com/api/oauth2/v2/identity?fields%5Buser%5D=email,full_name`,
headers: {
Authorization: `Bearer ${this.patreon.$auth.oauth_access_token}`,
"Content-Type": `application/x-www-form-urlencoded`,
},
})
return resp.data
},
})
The ClickFunnels API lets you interact programmatically with your ClickFunnels account, giving you control over your funnels, contacts, purchases, and more. With Pipedream, you can automate workflows that respond to a variety of triggers, such as new contacts or purchases. By connecting ClickFunnels with other apps available on Pipedream, you can streamline your sales process, sync data across platforms, and create powerful marketing automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clickfunnels: {
type: "app",
app: "clickfunnels",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.clickfunnels.$auth.subdomain}.myclickfunnels.com/api/v2/teams`,
headers: {
Authorization: `Bearer ${this.clickfunnels.$auth.api_access_token}`,
},
})
},
})