with Easyly and FireCrawl?
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
Crawls a given URL and returns the contents of sub-pages. See the documentation
Allows a user to post a new lead to their Easyly account. See the documentation
Extract structured data from one or multiple URLs. See the documentation
Obtains the status and data from a previous crawl operation. See the documentation
Obtains the status and data from a previous extract operation. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firecrawl: {
type: "app",
app: "firecrawl",
}
},
async run({steps, $}) {
const data = {
"url": "https://pipedream.com",
}
return await axios($, {
method: "post",
url: `https://api.firecrawl.dev/v0/crawl`,
headers: {
Authorization: `Bearer ${this.firecrawl.$auth.api_key}`,
},
data,
})
},
})