with Retriever and AI Chatbot Hub?
Triggers when a new device return order is created. See the documentation
The Retriever API is designed for automating contact information retrieval, enriching your CRM data, or building lead generation tools. By integrating it with Pipedream, you can strategically extract valuable data and automate workflows for marketing, sales, or customer support. Pipedream’s serverless platform enables you to connect Retriever with hundreds of other apps, triggering actions based on new data, or updating systems in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
retriever: {
type: "app",
app: "retriever",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.helloretriever.com/api/v1/device_returns/`,
headers: {
Authorization: `Bearer ${this.retriever.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ai_chatbot_hub: {
type: "app",
app: "ai_chatbot_hub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.aichatbothub.com/api/v1/chatbots`,
headers: {
Authorization: `Bearer ${this.ai_chatbot_hub.$auth.api_key}`,
},
})
},
})