Trigger workflows on an interval or cron schedule.
Returns the available data for a Zipcode number according to the selected dataset. See the documentation
Returns the available data for a CNPJ number according to the selected dataset. See the documentation
Returns the available data for a CPF number according to the selected dataset. See the documentation
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bigdatacorp: {
type: "app",
app: "bigdatacorp",
}
},
async run({steps, $}) {
const data = {
"q": `doc{007.408.869-67}`,
"Datasets": `registration_data`,
}
return await axios($, {
method: "post",
url: `https://plataforma.bigdatacorp.com.br/pessoas`,
headers: {
"Accept": `application/json`,
"AccessToken": `${this.bigdatacorp.$auth.access_token}`,
"TokenId": `${this.bigdatacorp.$auth.token_id}`,
},
data,
})
},
})