with Typeform and PostNL?
Retrieve the status of a shipment using its barcode. See the documentation
Retrieve the status of a shipment using a reference number. See the documentation
The Typeform API furnishes you with the means to create dynamic forms and collect user responses in real-time. By leveraging this API within Pipedream's serverless platform, you can automate workflows to process this data, integrate seamlessly with other services, and react to form submissions instantaneously. This empowers you to craft tailored responses, synchronize with databases, trigger email campaigns, or even manage event registrations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeform: {
type: "app",
app: "typeform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typeform.com/me`,
headers: {
Authorization: `Bearer ${this.typeform.$auth.oauth_access_token}`,
},
})
},
})
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`,
},
})
},
})