with ServiceTitan and Better Proposals?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicetitan: {
type: "app",
app: "servicetitan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api${this.servicetitan.$auth.environment}servicetitan.io/settings/v2/tenant/${this.servicetitan.$auth.tenant_id}/employees`,
headers: {
Authorization: `Bearer ${this.servicetitan.$auth.oauth_access_token}`,
"st-app-key": `${this.servicetitan.$auth.client_id}`,
},
})
},
})
The Better Proposals API offers a powerful way to automate proposal creation and management tasks. With it, you can programmatically generate, send, and track business proposals, streamlining the sales process and integrating seamlessly with CRM systems. By leveraging Pipedream’s capabilities, you can connect Better Proposals to a multitude of other apps to trigger actions based on proposal activities, sync data, or even automate follow-ups, thereby enhancing the efficiency of your sales workflow.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
better_proposals: {
type: "app",
app: "better_proposals",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.betterproposals.io/settings/`,
headers: {
"Bptoken": `${this.better_proposals.$auth.api_key}`,
},
})
},
})