with Order Sender and DocuSeal?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
order_sender: {
type: "app",
app: "order_sender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://business.ordersender.com/api/v1/op/check`,
headers: {
"accept": `*/*`,
},
params: {
cod: `${this.order_sender.$auth.company_code}`,
token: `${this.order_sender.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docuseal: {
type: "app",
app: "docuseal",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docuseal.$auth.url}/submissions`,
headers: {
"X-Auth-Token": `${this.docuseal.$auth.api_key}`,
},
})
},
})