Customer loyalty and engagement platform
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
LoyaltyLion is a platform that enables businesses to create and manage loyalty
programs. With the LoyaltyLion API, businesses can create and manage loyalty
programs, as well as track and analyze customer behavior.
Some examples of what you can build with the LoyaltyLion API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loyaltylion: {
type: "app",
app: "loyaltylion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.loyaltylion.com/v2/customers`,
headers: {
Authorization: `Bearer ${this.loyaltylion.$auth.oauth_access_token}`,
},
params: {
since_id: `0`,
limit: `2`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})