with Cflow and Apify (OAuth)?
Performs an execution of a selected Actor in Apify. See the documentation
Run a specific task and return its dataset items. See the documentation
Executes a scraper on a specific website and returns its content as HTML. This action is perfect for extracting content from a single page. See the documentation
Create or update a record in the key-value store of Apify. See the documentation
The Cflow API lets you automate and integrate your workflow management, enhancing your business processes with custom automations. With Pipedream, you can harness this API to create, update, and track workflows without manual interference. This enables you to connect Cflow with various other apps and services, streamlining your processes from initiation to completion.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cflow: {
type: "app",
app: "cflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://us.cflowapps.com/integromat/api/cflow/getworkflows`,
headers: {
"Content-Type": `application/json`,
"apikey": `${this.cflow.$auth.apikey}`,
"userkey": `${this.cflow.$auth.userkey}`,
"username": `${this.cflow.$auth.username}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apify_oauth: {
type: "app",
app: "apify_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.apify.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.apify_oauth.$auth.oauth_access_token}`,
},
})
},
})