with Cronfree and Accuranker?
Emit new event when a new message is received. See the documentation
The Cronfree API allows you to schedule tasks to run at specific intervals, similar to a traditional cron job, but with the flexibility of web-based management. On Pipedream, you can harness this API to trigger workflows on a schedule, offload periodic tasks from your apps, and integrate with other services to perform actions like sending emails, updating databases, or even automating social media posts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cronfree: {
type: "app",
app: "cronfree",
}
},
async run({steps, $}) {
const data = {
"hookUrl": `{{your_hook_url}}`,
"license_key": `${this.cronfree.$auth.license_key}`,
"wdays": `{{your_wdays}}`,
"months": `{{your_months}}`,
"hours": `{{your_hours}}`,
"minutes": `{{your_minutes}}`,
"timezone": `{{your_timezone}}`,
}
return await axios($, {
method: "post",
url: `https://login.cronfree.com/zapier/schedule`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
Accuranker is an SEO tool that specializes in tracking and reporting on keyword rankings. Using the Accuranker API with Pipedream, you can automate checks on keyword positions, get insights on SERP data, and respond to ranking changes in real time. You can also compile performance reports, set up alerts for ranking changes, and integrate with other platforms to link SEO data with marketing, sales, or content strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuranker: {
type: "app",
app: "accuranker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.accuranker.com/api/v4/accounts/`,
headers: {
Authorization: `Bearer ${this.accuranker.$auth.oauth_access_token}`,
},
params: {
fields: `id`,
},
})
},
})