with Facebook Graph API and Vtiger CRM?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
facebook_graph_api: {
type: "app",
app: "facebook_graph_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.facebook.com/me/`,
headers: {
Authorization: `Bearer ${this.facebook_graph_api.$auth.oauth_access_token}`,
},
})
},
})
The Vtiger CRM API lets you tap into your customer relationship data to create, read, update, and delete records across various entities such as contacts, leads, and opportunities. In Pipedream, you can leverage this API to automate workflows, sync data across platforms, and react to events in real-time, all without the need for dedicated backend code. You can create dynamic workflows that respond to webhooks, schedule tasks, and integrate with 1000+ apps readily available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vtiger_crm: {
type: "app",
app: "vtiger_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.vtiger_crm.$auth.instance}.vtiger.com/restapi/v1/vtiger/default/me`,
auth: {
username: `${this.vtiger_crm.$auth.username}`,
password: `${this.vtiger_crm.$auth.access_key}`,
},
})
},
})