with Claris FileMaker Server - Admin API and Nutrient Workflow Automation?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
claris_filemaker_server_admin_api: {
type: "app",
app: "claris_filemaker_server_admin_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.claris_filemaker_server_admin_api.$auth.api_url}/fmi/admin/api/v2/databases`,
headers: {
Authorization: `Bearer ${this.claris_filemaker_server_admin_api.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nutrient_workflow_automation: {
type: "app",
app: "nutrient_workflow_automation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://workflow-trial.on-nutrient.io/api/user/`,
headers: {
Authorization: `Bearer ${this.nutrient_workflow_automation.$auth.oauth_access_token}`,
"accept": `application/json`,
},
params: {
search: `Pipedream`,
},
})
},
})