with Firmao and Public Record?
Emit new event when a new customer is created. See the documentation
The Firmao API allows for the integration of Firmao's CRM and ERP features into Pipedream's serverless platform, enabling the automation of tasks such as managing contacts, projects, tasks, invoices, and timesheets. By leveraging Pipedream's capabilities, users can create custom workflows that respond to events in Firmao, or orchestrate actions between Firmao and other apps to streamline business processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firmao: {
type: "app",
app: "firmao",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://system.firmao.net/${this.firmao.$auth.organization_id}/svc/v1/contacts`,
auth: {
username: `${this.firmao.$auth.api_login}`,
password: `${this.firmao.$auth.api_password}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
public_record: {
type: "app",
app: "public_record",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.propmix.io/pubrec/assessor/v1/GetPropertyDetails`,
headers: {
"Access-Token": `${this.public_record.$auth.api_key}`,
},
params: {
StreetAddress: `305 E 2nd St`,
City: `Lucas`,
State: `KS`,
PostalCode: `67648`,
OrderId: `5411013`,
},
})
},
})