with CallPage and Scrapfly?
Automate content extraction from any text-based source using AI, LLM, and custom parsing. See the documentation
Retrieve current subscription and account usage details from Scrapfly. See the documentation
The CallPage API enables automations centered around phone calls and lead management. Integrating this API with Pipedream allows you to create, update, and track calls, as well as manage users and leads. With Pipedream's serverless architecture, you can easily connect CallPage to other apps, triggering complex workflows from CallPage events or performing actions in CallPage in response to external triggers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
callpage: {
type: "app",
app: "callpage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://core.callpage.io/api/v1/external/users/all`,
headers: {
"Authorization": `${this.callpage.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapfly: {
type: "app",
app: "scrapfly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapfly.io/scrape`,
params: {
key: `${this.scrapfly.$auth.api_key}`,
url: `https://pipedream.com`,
render_js: `true`,
asp: `true`,
},
})
},
})