import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docsautomator: {
type: "app",
app: "docsautomator",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.docsautomator.co/automations`,
headers: {
Authorization: `Bearer ${this.docsautomator.$auth.api_key}`,
},
})
},
})
Generate a new document from a pre-existing template. See the documentation
DocsAutomator uses API keys for authentication. When you connect your DocsAutomator account, Pipedream securely stores the keys so you can easily authenticate to DocsAutomator APIs in both code and no-code steps.