with Recurly and Userflow?
Emit new event when a new subscription is created. See the docs
Emit new event when a user has completed all tasks in a checklist. See the documentation
Emit new event when a new transaction is created. See the docs
Creates or updates a user in Userflow. If the user does not already exist in Userflow, it will be created. If it already exists, the given attributes will be merged into the existing user's attributes. See the documentation
Finds an existing user by user ID or email, optionally filtering by group ID. See the documentation
Recurly API provides robust functionality for subscription management, including creating and updating customer accounts, managing billing information, and handling subscription lifecycle events. With Pipedream, you can leverage these capabilities to create automated workflows that respond to events in Recurly, sync data with other systems, and perform actions that enhance your subscription operations and customer experiences.
module.exports = defineComponent({
props: {
recurly: {
type: "app",
app: "recurly",
}
},
async run({steps, $}) {
const recurly = require('recurly')
const client = new recurly.Client(this.recurly.$auth.api_key)
return await client.listAccounts()
},
})
The Userflow API allows you to automate and integrate the process of creating and managing in-app guides and walkthroughs. Using the API within Pipedream, you can programmatically trigger events, update user attributes, and manage flows, thereby creating a personalized user experience within your application. This opens up possibilities for syncing user data, customizing user onboarding experiences, and tracking user progress without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
userflow: {
type: "app",
app: "userflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.userflow.com/users`,
headers: {
Authorization: `Bearer ${this.userflow.$auth.api_key}`,
"Userflow-Version": `2020-01-03`,
},
})
},
})