with PostNL and Chatbot Builder?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postnl: {
type: "app",
app: "postnl",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.postnl.$auth.api_url}/shipment/v2/status/barcode/3S${this.postnl.$auth.customer_code}123456789`,
headers: {
"apikey": `${this.postnl.$auth.api_key}`,
},
params: {
detail: `false`,
language: `NL`,
},
})
},
})
The Chatbot Builder API allows you to create and manage customized chatbots that can interact with users in real-time. Within Pipedream's serverless platform, this API can be harnessed to build powerful workflows that react to messages, automate responses, and integrate with a plethora of other services. With Pipedream, you can set up event-driven processes, making it easy to manage chatbot activities, analyze conversations, and trigger actions in other apps based on chatbot interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chatbot_builder: {
type: "app",
app: "chatbot_builder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.chatgptbuilder.io/api/accounts/me`,
headers: {
"X-ACCESS-TOKEN": `${this.chatbot_builder.$auth.api_access_token}`,
"Accept": `application/json`,
},
})
},
})