The Goody API allows for the creation of digital rewards and incentives, facilitating the sending of gift cards and other perks electronically. In Pipedream, you can harness this API to automate the distribution of rewards, integrate with CRM systems, or track and analyze the impact of your rewards program. By leveraging Pipedream’s capability to connect with numerous other platforms, you can create multifaceted workflows that trigger based on various events or conditions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goody: {
type: "app",
app: "goody",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.goody.$auth.environment}.ongoody.com/v1/me`,
headers: {
Authorization: `Bearer ${this.goody.$auth.automation_api_key}`,
},
})
},
})
Customer Milestone Rewards: Automatically send a digital gift card via the Goody API when a customer reaches a certain spending threshold in your e-commerce platform.
Employee Recognition Program: Set up a workflow that listens for positive feedback in a team communication app like Slack and then uses Goody API to send a thank you note with a small gift card.
Survey Participation Incentives: After a user completes a survey from a tool like Typeform, trigger a workflow that sends a reward through Goody API to thank them for their time and insights.
Retrieves orders for an order batch in Goody. See the documentation
Goody uses API keys for authentication. When you connect your Goody account, Pipedream securely stores the keys so you can easily authenticate to Goody APIs in both code and no-code steps.