with Memberful and Reputation Lyncs?
Emit new event in Pipedream when a subscribed event is triggered in memberful.
Emit new event when a new customer is added to the system. See the documentation
Adds a new customer to the Reputation Lyncs platform. See the documentation
The Memberful API lets you handle memberships and subscriptions with precision. Using Pipedream, you can automate tasks around Memberful's robust features, like syncing member data, managing subscriptions, or triggering events based on membership changes. Pipedream's serverless platform turns these tasks into workflows you can build, run, and observe with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memberful: {
type: "app",
app: "memberful",
}
},
async run({steps, $}) {
return await axios($, {
method: "POST",
url: `https://${this.memberful.$auth.site}.memberful.com/api/graphql`,
headers: {
Authorization: `Bearer ${this.memberful.$auth.api_key}`,
"Content-Type": `application/json`,
},
params: {
query: `{
members(first: 10) {
totalCount
pageInfo {
endCursor
hasNextPage
}
edges {
node {
id
email
fullName
subscriptions {
id
plan {
id
name
priceCents
}
}
}
}
}
}`,
},
})
},
})
Reputation Lyncs offers an API that allows you to monitor and manage online reviews and ratings across various platforms. In Pipedream, this API can be harnessed to create powerful workflows that automate the process of tracking your business's reputation, responding to reviews, and analyzing sentiment across different review sites. Pipedream's serverless platform enables you to integrate these features with other apps seamlessly, triggering actions based on review data or updating dashboards with real-time insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reputation_lyncs: {
type: "app",
app: "reputation_lyncs",
}
},
async run({steps, $}) {
const data = {
"Apikey": `${this.reputation_lyncs.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://reputationlync.com/app/api/customer/validateApiKey`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})