with Agiliron and Easyly?
Emit new event when an action is triggered in network leads. After creating the source, you need to register a Webhook on Easyly using the source's HTTP Endpoint. See the documentation
Emit new event when a new contact is created in Agiliron. See the documentation
Allows a user to post a new lead to their Easyly account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agiliron: {
type: "app",
app: "agiliron",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.agiliron.$auth.subdomain}.agiliron.net/agiliron/api-40/Accounts`,
headers: {
"Accept": `application/json`,
"apiKey": `${this.agiliron.$auth.api_key}`,
},
params: {
filter: `CreatedTime,bt,01-15-2000 | 01-31-2025`,
},
})
},
})
The Easyly API offers a suite of features aimed at simplifying complex tasks such as address validation, geocoding, and route optimization. With Pipedream's serverless platform, you can leverage this API to automate workflows that require address verification, coordinate mapping, or efficient route planning. The integration of Easyly with Pipedream allows you to set up triggers and actions without setting up a server, making it straightforward to incorporate real-time data processing and event-driven architectures into your applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easyly: {
type: "app",
app: "easyly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.easyly.com/v1/leads/{{your_leads}}`, // Add in a valid lead ID here.
headers: {
Authorization: `Bearer ${this.easyly.$auth.api_key}`,
},
})
},
})