with Memberful and Google Appsheet?
Emit new event in Pipedream when a subscribed event is triggered in memberful.
Adds a new row to a specific table in the AppSheet app. See the documentation
Deletes a specific row from a table in the AppSheet app. See the documentation
Read existing records in a table in the AppSheet app. See the documentation
Updates an existing row in a specific table in the AppSheet app. 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
}
}
}
}
}
}`,
},
})
},
})
The Google Appsheet API enables programmatic interactions with your custom AppSheet applications, allowing you to streamline processes, automate actions, and interlink your apps with other services. Leveraging Pipedream's powerful serverless platform, you can create workflows that react to events in real-time, automate tasks, and connect to countless other services with minimal effort. Whether you're updating datasets, syncing with external systems, or triggering complex chains of actions, combining AppSheet with Pipedream can supercharge your productivity and enhance your app's capabilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_appsheet: {
type: "app",
app: "google_appsheet",
}
},
async run({steps, $}) {
const data = {
"Action": "Find",
"Properties": `{
"Locale": "en-US",
"Selector": "Filter(Sheet1, true)",
"Timezone":
"Pacific Standard Time"
}`,
}
return await axios($, {
method: "post",
url: `https://api.appsheet.com/api/v2/apps/${this.google_appsheet.$auth.app_id}/tables/{{your_table_here}}/Action`,
headers: {
"ApplicationAccessKey": `${this.google_appsheet.$auth.access_key}`,
},
data,
})
},
})