with MergeMole and Synthflow?
Generate a PDF document based on the specified template. See the documentation
Get all data variables of a specified template. See the documentation
Retrieve a list of all templates under your account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mergemole: {
type: "app",
app: "mergemole",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mergemole.com/api/test`,
headers: {
"x-api-token": `${this.mergemole.$auth.api_key}`,
"x-api-secret": `${this.mergemole.$auth.secret_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
synthflow: {
type: "app",
app: "synthflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.synthflow.ai/v2/assistants`,
headers: {
Authorization: `Bearer ${this.synthflow.$auth.api_key}`,
},
})
},
})